configure revision 2c7c4e3d
12c7c4e3dSmrg#! /bin/sh
22c7c4e3dSmrg# Guess values for system-dependent variables and create Makefiles.
32c7c4e3dSmrg# Generated by GNU Autoconf 2.59 for xcmsdb 1.0.1.
42c7c4e3dSmrg#
52c7c4e3dSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
62c7c4e3dSmrg#
72c7c4e3dSmrg# Copyright (C) 2003 Free Software Foundation, Inc.
82c7c4e3dSmrg# This configure script is free software; the Free Software Foundation
92c7c4e3dSmrg# gives unlimited permission to copy, distribute and modify it.
102c7c4e3dSmrg## --------------------- ##
112c7c4e3dSmrg## M4sh Initialization.  ##
122c7c4e3dSmrg## --------------------- ##
132c7c4e3dSmrg
142c7c4e3dSmrg# Be Bourne compatible
152c7c4e3dSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
162c7c4e3dSmrg  emulate sh
172c7c4e3dSmrg  NULLCMD=:
182c7c4e3dSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
192c7c4e3dSmrg  # is contrary to our usage.  Disable this feature.
202c7c4e3dSmrg  alias -g '${1+"$@"}'='"$@"'
212c7c4e3dSmrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
222c7c4e3dSmrg  set -o posix
232c7c4e3dSmrgfi
242c7c4e3dSmrgDUALCASE=1; export DUALCASE # for MKS sh
252c7c4e3dSmrg
262c7c4e3dSmrg# Support unset when possible.
272c7c4e3dSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
282c7c4e3dSmrg  as_unset=unset
292c7c4e3dSmrgelse
302c7c4e3dSmrg  as_unset=false
312c7c4e3dSmrgfi
322c7c4e3dSmrg
332c7c4e3dSmrg
342c7c4e3dSmrg# Work around bugs in pre-3.0 UWIN ksh.
352c7c4e3dSmrg$as_unset ENV MAIL MAILPATH
362c7c4e3dSmrgPS1='$ '
372c7c4e3dSmrgPS2='> '
382c7c4e3dSmrgPS4='+ '
392c7c4e3dSmrg
402c7c4e3dSmrg# NLS nuisances.
412c7c4e3dSmrgfor as_var in \
422c7c4e3dSmrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
432c7c4e3dSmrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
442c7c4e3dSmrg  LC_TELEPHONE LC_TIME
452c7c4e3dSmrgdo
462c7c4e3dSmrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
472c7c4e3dSmrg    eval $as_var=C; export $as_var
482c7c4e3dSmrg  else
492c7c4e3dSmrg    $as_unset $as_var
502c7c4e3dSmrg  fi
512c7c4e3dSmrgdone
522c7c4e3dSmrg
532c7c4e3dSmrg# Required to use basename.
542c7c4e3dSmrgif expr a : '\(a\)' >/dev/null 2>&1; then
552c7c4e3dSmrg  as_expr=expr
562c7c4e3dSmrgelse
572c7c4e3dSmrg  as_expr=false
582c7c4e3dSmrgfi
592c7c4e3dSmrg
602c7c4e3dSmrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
612c7c4e3dSmrg  as_basename=basename
622c7c4e3dSmrgelse
632c7c4e3dSmrg  as_basename=false
642c7c4e3dSmrgfi
652c7c4e3dSmrg
662c7c4e3dSmrg
672c7c4e3dSmrg# Name of the executable.
682c7c4e3dSmrgas_me=`$as_basename "$0" ||
692c7c4e3dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
702c7c4e3dSmrg	 X"$0" : 'X\(//\)$' \| \
712c7c4e3dSmrg	 X"$0" : 'X\(/\)$' \| \
722c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
732c7c4e3dSmrgecho X/"$0" |
742c7c4e3dSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
752c7c4e3dSmrg  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
762c7c4e3dSmrg  	  /^X\/\(\/\).*/{ s//\1/; q; }
772c7c4e3dSmrg  	  s/.*/./; q'`
782c7c4e3dSmrg
792c7c4e3dSmrg
802c7c4e3dSmrg# PATH needs CR, and LINENO needs CR and PATH.
812c7c4e3dSmrg# Avoid depending upon Character Ranges.
822c7c4e3dSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
832c7c4e3dSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
842c7c4e3dSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
852c7c4e3dSmrgas_cr_digits='0123456789'
862c7c4e3dSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
872c7c4e3dSmrg
882c7c4e3dSmrg# The user is always right.
892c7c4e3dSmrgif test "${PATH_SEPARATOR+set}" != set; then
902c7c4e3dSmrg  echo "#! /bin/sh" >conf$$.sh
912c7c4e3dSmrg  echo  "exit 0"   >>conf$$.sh
922c7c4e3dSmrg  chmod +x conf$$.sh
932c7c4e3dSmrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
942c7c4e3dSmrg    PATH_SEPARATOR=';'
952c7c4e3dSmrg  else
962c7c4e3dSmrg    PATH_SEPARATOR=:
972c7c4e3dSmrg  fi
982c7c4e3dSmrg  rm -f conf$$.sh
992c7c4e3dSmrgfi
1002c7c4e3dSmrg
1012c7c4e3dSmrg
1022c7c4e3dSmrg  as_lineno_1=$LINENO
1032c7c4e3dSmrg  as_lineno_2=$LINENO
1042c7c4e3dSmrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1052c7c4e3dSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
1062c7c4e3dSmrg  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1072c7c4e3dSmrg  # Find who we are.  Look in the path if we contain no path at all
1082c7c4e3dSmrg  # relative or not.
1092c7c4e3dSmrg  case $0 in
1102c7c4e3dSmrg    *[\\/]* ) as_myself=$0 ;;
1112c7c4e3dSmrg    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1122c7c4e3dSmrgfor as_dir in $PATH
1132c7c4e3dSmrgdo
1142c7c4e3dSmrg  IFS=$as_save_IFS
1152c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
1162c7c4e3dSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1172c7c4e3dSmrgdone
1182c7c4e3dSmrg
1192c7c4e3dSmrg       ;;
1202c7c4e3dSmrg  esac
1212c7c4e3dSmrg  # We did not find ourselves, most probably we were run as `sh COMMAND'
1222c7c4e3dSmrg  # in which case we are not to be found in the path.
1232c7c4e3dSmrg  if test "x$as_myself" = x; then
1242c7c4e3dSmrg    as_myself=$0
1252c7c4e3dSmrg  fi
1262c7c4e3dSmrg  if test ! -f "$as_myself"; then
1272c7c4e3dSmrg    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1282c7c4e3dSmrg   { (exit 1); exit 1; }; }
1292c7c4e3dSmrg  fi
1302c7c4e3dSmrg  case $CONFIG_SHELL in
1312c7c4e3dSmrg  '')
1322c7c4e3dSmrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1332c7c4e3dSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1342c7c4e3dSmrgdo
1352c7c4e3dSmrg  IFS=$as_save_IFS
1362c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
1372c7c4e3dSmrg  for as_base in sh bash ksh sh5; do
1382c7c4e3dSmrg	 case $as_dir in
1392c7c4e3dSmrg	 /*)
1402c7c4e3dSmrg	   if ("$as_dir/$as_base" -c '
1412c7c4e3dSmrg  as_lineno_1=$LINENO
1422c7c4e3dSmrg  as_lineno_2=$LINENO
1432c7c4e3dSmrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1442c7c4e3dSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
1452c7c4e3dSmrg  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1462c7c4e3dSmrg	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1472c7c4e3dSmrg	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1482c7c4e3dSmrg	     CONFIG_SHELL=$as_dir/$as_base
1492c7c4e3dSmrg	     export CONFIG_SHELL
1502c7c4e3dSmrg	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1512c7c4e3dSmrg	   fi;;
1522c7c4e3dSmrg	 esac
1532c7c4e3dSmrg       done
1542c7c4e3dSmrgdone
1552c7c4e3dSmrg;;
1562c7c4e3dSmrg  esac
1572c7c4e3dSmrg
1582c7c4e3dSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1592c7c4e3dSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
1602c7c4e3dSmrg  # line-number line before each line; the second 'sed' does the real
1612c7c4e3dSmrg  # work.  The second script uses 'N' to pair each line-number line
1622c7c4e3dSmrg  # with the numbered line, and appends trailing '-' during
1632c7c4e3dSmrg  # substitution so that $LINENO is not a special case at line end.
1642c7c4e3dSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1652c7c4e3dSmrg  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1662c7c4e3dSmrg  sed '=' <$as_myself |
1672c7c4e3dSmrg    sed '
1682c7c4e3dSmrg      N
1692c7c4e3dSmrg      s,$,-,
1702c7c4e3dSmrg      : loop
1712c7c4e3dSmrg      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1722c7c4e3dSmrg      t loop
1732c7c4e3dSmrg      s,-$,,
1742c7c4e3dSmrg      s,^['$as_cr_digits']*\n,,
1752c7c4e3dSmrg    ' >$as_me.lineno &&
1762c7c4e3dSmrg  chmod +x $as_me.lineno ||
1772c7c4e3dSmrg    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1782c7c4e3dSmrg   { (exit 1); exit 1; }; }
1792c7c4e3dSmrg
1802c7c4e3dSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
1812c7c4e3dSmrg  # (the dirname of $[0] is not the place where we might find the
1822c7c4e3dSmrg  # original and so on.  Autoconf is especially sensible to this).
1832c7c4e3dSmrg  . ./$as_me.lineno
1842c7c4e3dSmrg  # Exit status is that of the last command.
1852c7c4e3dSmrg  exit
1862c7c4e3dSmrg}
1872c7c4e3dSmrg
1882c7c4e3dSmrg
1892c7c4e3dSmrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1902c7c4e3dSmrg  *c*,-n*) ECHO_N= ECHO_C='
1912c7c4e3dSmrg' ECHO_T='	' ;;
1922c7c4e3dSmrg  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1932c7c4e3dSmrg  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1942c7c4e3dSmrgesac
1952c7c4e3dSmrg
1962c7c4e3dSmrgif expr a : '\(a\)' >/dev/null 2>&1; then
1972c7c4e3dSmrg  as_expr=expr
1982c7c4e3dSmrgelse
1992c7c4e3dSmrg  as_expr=false
2002c7c4e3dSmrgfi
2012c7c4e3dSmrg
2022c7c4e3dSmrgrm -f conf$$ conf$$.exe conf$$.file
2032c7c4e3dSmrgecho >conf$$.file
2042c7c4e3dSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then
2052c7c4e3dSmrg  # We could just check for DJGPP; but this test a) works b) is more generic
2062c7c4e3dSmrg  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2072c7c4e3dSmrg  if test -f conf$$.exe; then
2082c7c4e3dSmrg    # Don't use ln at all; we don't have any links
2092c7c4e3dSmrg    as_ln_s='cp -p'
2102c7c4e3dSmrg  else
2112c7c4e3dSmrg    as_ln_s='ln -s'
2122c7c4e3dSmrg  fi
2132c7c4e3dSmrgelif ln conf$$.file conf$$ 2>/dev/null; then
2142c7c4e3dSmrg  as_ln_s=ln
2152c7c4e3dSmrgelse
2162c7c4e3dSmrg  as_ln_s='cp -p'
2172c7c4e3dSmrgfi
2182c7c4e3dSmrgrm -f conf$$ conf$$.exe conf$$.file
2192c7c4e3dSmrg
2202c7c4e3dSmrgif mkdir -p . 2>/dev/null; then
2212c7c4e3dSmrg  as_mkdir_p=:
2222c7c4e3dSmrgelse
2232c7c4e3dSmrg  test -d ./-p && rmdir ./-p
2242c7c4e3dSmrg  as_mkdir_p=false
2252c7c4e3dSmrgfi
2262c7c4e3dSmrg
2272c7c4e3dSmrgas_executable_p="test -f"
2282c7c4e3dSmrg
2292c7c4e3dSmrg# Sed expression to map a string onto a valid CPP name.
2302c7c4e3dSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2312c7c4e3dSmrg
2322c7c4e3dSmrg# Sed expression to map a string onto a valid variable name.
2332c7c4e3dSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2342c7c4e3dSmrg
2352c7c4e3dSmrg
2362c7c4e3dSmrg# IFS
2372c7c4e3dSmrg# We need space, tab and new line, in precisely that order.
2382c7c4e3dSmrgas_nl='
2392c7c4e3dSmrg'
2402c7c4e3dSmrgIFS=" 	$as_nl"
2412c7c4e3dSmrg
2422c7c4e3dSmrg# CDPATH.
2432c7c4e3dSmrg$as_unset CDPATH
2442c7c4e3dSmrg
2452c7c4e3dSmrg
2462c7c4e3dSmrg# Name of the host.
2472c7c4e3dSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
2482c7c4e3dSmrg# so uname gets run too.
2492c7c4e3dSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2502c7c4e3dSmrg
2512c7c4e3dSmrgexec 6>&1
2522c7c4e3dSmrg
2532c7c4e3dSmrg#
2542c7c4e3dSmrg# Initializations.
2552c7c4e3dSmrg#
2562c7c4e3dSmrgac_default_prefix=/usr/local
2572c7c4e3dSmrgac_config_libobj_dir=.
2582c7c4e3dSmrgcross_compiling=no
2592c7c4e3dSmrgsubdirs=
2602c7c4e3dSmrgMFLAGS=
2612c7c4e3dSmrgMAKEFLAGS=
2622c7c4e3dSmrgSHELL=${CONFIG_SHELL-/bin/sh}
2632c7c4e3dSmrg
2642c7c4e3dSmrg# Maximum number of lines to put in a shell here document.
2652c7c4e3dSmrg# This variable seems obsolete.  It should probably be removed, and
2662c7c4e3dSmrg# only ac_max_sed_lines should be used.
2672c7c4e3dSmrg: ${ac_max_here_lines=38}
2682c7c4e3dSmrg
2692c7c4e3dSmrg# Identity of this package.
2702c7c4e3dSmrgPACKAGE_NAME='xcmsdb'
2712c7c4e3dSmrgPACKAGE_TARNAME='xcmsdb'
2722c7c4e3dSmrgPACKAGE_VERSION='1.0.1'
2732c7c4e3dSmrgPACKAGE_STRING='xcmsdb 1.0.1'
2742c7c4e3dSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
2752c7c4e3dSmrg
2762c7c4e3dSmrgac_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 am__leading_dot 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 PKG_CONFIG ac_pt_PKG_CONFIG XCMSDB_CFLAGS XCMSDB_LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS'
2772c7c4e3dSmrgac_subst_files=''
2782c7c4e3dSmrg
2792c7c4e3dSmrg# Initialize some variables set by options.
2802c7c4e3dSmrgac_init_help=
2812c7c4e3dSmrgac_init_version=false
2822c7c4e3dSmrg# The variables have the same names as the options, with
2832c7c4e3dSmrg# dashes changed to underlines.
2842c7c4e3dSmrgcache_file=/dev/null
2852c7c4e3dSmrgexec_prefix=NONE
2862c7c4e3dSmrgno_create=
2872c7c4e3dSmrgno_recursion=
2882c7c4e3dSmrgprefix=NONE
2892c7c4e3dSmrgprogram_prefix=NONE
2902c7c4e3dSmrgprogram_suffix=NONE
2912c7c4e3dSmrgprogram_transform_name=s,x,x,
2922c7c4e3dSmrgsilent=
2932c7c4e3dSmrgsite=
2942c7c4e3dSmrgsrcdir=
2952c7c4e3dSmrgverbose=
2962c7c4e3dSmrgx_includes=NONE
2972c7c4e3dSmrgx_libraries=NONE
2982c7c4e3dSmrg
2992c7c4e3dSmrg# Installation directory options.
3002c7c4e3dSmrg# These are left unexpanded so users can "make install exec_prefix=/foo"
3012c7c4e3dSmrg# and all the variables that are supposed to be based on exec_prefix
3022c7c4e3dSmrg# by default will actually change.
3032c7c4e3dSmrg# Use braces instead of parens because sh, perl, etc. also accept them.
3042c7c4e3dSmrgbindir='${exec_prefix}/bin'
3052c7c4e3dSmrgsbindir='${exec_prefix}/sbin'
3062c7c4e3dSmrglibexecdir='${exec_prefix}/libexec'
3072c7c4e3dSmrgdatadir='${prefix}/share'
3082c7c4e3dSmrgsysconfdir='${prefix}/etc'
3092c7c4e3dSmrgsharedstatedir='${prefix}/com'
3102c7c4e3dSmrglocalstatedir='${prefix}/var'
3112c7c4e3dSmrglibdir='${exec_prefix}/lib'
3122c7c4e3dSmrgincludedir='${prefix}/include'
3132c7c4e3dSmrgoldincludedir='/usr/include'
3142c7c4e3dSmrginfodir='${prefix}/info'
3152c7c4e3dSmrgmandir='${prefix}/man'
3162c7c4e3dSmrg
3172c7c4e3dSmrgac_prev=
3182c7c4e3dSmrgfor ac_option
3192c7c4e3dSmrgdo
3202c7c4e3dSmrg  # If the previous option needs an argument, assign it.
3212c7c4e3dSmrg  if test -n "$ac_prev"; then
3222c7c4e3dSmrg    eval "$ac_prev=\$ac_option"
3232c7c4e3dSmrg    ac_prev=
3242c7c4e3dSmrg    continue
3252c7c4e3dSmrg  fi
3262c7c4e3dSmrg
3272c7c4e3dSmrg  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
3282c7c4e3dSmrg
3292c7c4e3dSmrg  # Accept the important Cygnus configure options, so we can diagnose typos.
3302c7c4e3dSmrg
3312c7c4e3dSmrg  case $ac_option in
3322c7c4e3dSmrg
3332c7c4e3dSmrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
3342c7c4e3dSmrg    ac_prev=bindir ;;
3352c7c4e3dSmrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
3362c7c4e3dSmrg    bindir=$ac_optarg ;;
3372c7c4e3dSmrg
3382c7c4e3dSmrg  -build | --build | --buil | --bui | --bu)
3392c7c4e3dSmrg    ac_prev=build_alias ;;
3402c7c4e3dSmrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
3412c7c4e3dSmrg    build_alias=$ac_optarg ;;
3422c7c4e3dSmrg
3432c7c4e3dSmrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
3442c7c4e3dSmrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3452c7c4e3dSmrg    ac_prev=cache_file ;;
3462c7c4e3dSmrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3472c7c4e3dSmrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
3482c7c4e3dSmrg    cache_file=$ac_optarg ;;
3492c7c4e3dSmrg
3502c7c4e3dSmrg  --config-cache | -C)
3512c7c4e3dSmrg    cache_file=config.cache ;;
3522c7c4e3dSmrg
3532c7c4e3dSmrg  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
3542c7c4e3dSmrg    ac_prev=datadir ;;
3552c7c4e3dSmrg  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
3562c7c4e3dSmrg  | --da=*)
3572c7c4e3dSmrg    datadir=$ac_optarg ;;
3582c7c4e3dSmrg
3592c7c4e3dSmrg  -disable-* | --disable-*)
3602c7c4e3dSmrg    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3612c7c4e3dSmrg    # Reject names that are not valid shell variable names.
3622c7c4e3dSmrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3632c7c4e3dSmrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
3642c7c4e3dSmrg   { (exit 1); exit 1; }; }
3652c7c4e3dSmrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
3662c7c4e3dSmrg    eval "enable_$ac_feature=no" ;;
3672c7c4e3dSmrg
3682c7c4e3dSmrg  -enable-* | --enable-*)
3692c7c4e3dSmrg    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
3702c7c4e3dSmrg    # Reject names that are not valid shell variable names.
3712c7c4e3dSmrg    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3722c7c4e3dSmrg      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
3732c7c4e3dSmrg   { (exit 1); exit 1; }; }
3742c7c4e3dSmrg    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
3752c7c4e3dSmrg    case $ac_option in
3762c7c4e3dSmrg      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
3772c7c4e3dSmrg      *) ac_optarg=yes ;;
3782c7c4e3dSmrg    esac
3792c7c4e3dSmrg    eval "enable_$ac_feature='$ac_optarg'" ;;
3802c7c4e3dSmrg
3812c7c4e3dSmrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
3822c7c4e3dSmrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
3832c7c4e3dSmrg  | --exec | --exe | --ex)
3842c7c4e3dSmrg    ac_prev=exec_prefix ;;
3852c7c4e3dSmrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
3862c7c4e3dSmrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
3872c7c4e3dSmrg  | --exec=* | --exe=* | --ex=*)
3882c7c4e3dSmrg    exec_prefix=$ac_optarg ;;
3892c7c4e3dSmrg
3902c7c4e3dSmrg  -gas | --gas | --ga | --g)
3912c7c4e3dSmrg    # Obsolete; use --with-gas.
3922c7c4e3dSmrg    with_gas=yes ;;
3932c7c4e3dSmrg
3942c7c4e3dSmrg  -help | --help | --hel | --he | -h)
3952c7c4e3dSmrg    ac_init_help=long ;;
3962c7c4e3dSmrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
3972c7c4e3dSmrg    ac_init_help=recursive ;;
3982c7c4e3dSmrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
3992c7c4e3dSmrg    ac_init_help=short ;;
4002c7c4e3dSmrg
4012c7c4e3dSmrg  -host | --host | --hos | --ho)
4022c7c4e3dSmrg    ac_prev=host_alias ;;
4032c7c4e3dSmrg  -host=* | --host=* | --hos=* | --ho=*)
4042c7c4e3dSmrg    host_alias=$ac_optarg ;;
4052c7c4e3dSmrg
4062c7c4e3dSmrg  -includedir | --includedir | --includedi | --included | --include \
4072c7c4e3dSmrg  | --includ | --inclu | --incl | --inc)
4082c7c4e3dSmrg    ac_prev=includedir ;;
4092c7c4e3dSmrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
4102c7c4e3dSmrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
4112c7c4e3dSmrg    includedir=$ac_optarg ;;
4122c7c4e3dSmrg
4132c7c4e3dSmrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
4142c7c4e3dSmrg    ac_prev=infodir ;;
4152c7c4e3dSmrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
4162c7c4e3dSmrg    infodir=$ac_optarg ;;
4172c7c4e3dSmrg
4182c7c4e3dSmrg  -libdir | --libdir | --libdi | --libd)
4192c7c4e3dSmrg    ac_prev=libdir ;;
4202c7c4e3dSmrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
4212c7c4e3dSmrg    libdir=$ac_optarg ;;
4222c7c4e3dSmrg
4232c7c4e3dSmrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
4242c7c4e3dSmrg  | --libexe | --libex | --libe)
4252c7c4e3dSmrg    ac_prev=libexecdir ;;
4262c7c4e3dSmrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
4272c7c4e3dSmrg  | --libexe=* | --libex=* | --libe=*)
4282c7c4e3dSmrg    libexecdir=$ac_optarg ;;
4292c7c4e3dSmrg
4302c7c4e3dSmrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
4312c7c4e3dSmrg  | --localstate | --localstat | --localsta | --localst \
4322c7c4e3dSmrg  | --locals | --local | --loca | --loc | --lo)
4332c7c4e3dSmrg    ac_prev=localstatedir ;;
4342c7c4e3dSmrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
4352c7c4e3dSmrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
4362c7c4e3dSmrg  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
4372c7c4e3dSmrg    localstatedir=$ac_optarg ;;
4382c7c4e3dSmrg
4392c7c4e3dSmrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
4402c7c4e3dSmrg    ac_prev=mandir ;;
4412c7c4e3dSmrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
4422c7c4e3dSmrg    mandir=$ac_optarg ;;
4432c7c4e3dSmrg
4442c7c4e3dSmrg  -nfp | --nfp | --nf)
4452c7c4e3dSmrg    # Obsolete; use --without-fp.
4462c7c4e3dSmrg    with_fp=no ;;
4472c7c4e3dSmrg
4482c7c4e3dSmrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
4492c7c4e3dSmrg  | --no-cr | --no-c | -n)
4502c7c4e3dSmrg    no_create=yes ;;
4512c7c4e3dSmrg
4522c7c4e3dSmrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
4532c7c4e3dSmrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
4542c7c4e3dSmrg    no_recursion=yes ;;
4552c7c4e3dSmrg
4562c7c4e3dSmrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
4572c7c4e3dSmrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
4582c7c4e3dSmrg  | --oldin | --oldi | --old | --ol | --o)
4592c7c4e3dSmrg    ac_prev=oldincludedir ;;
4602c7c4e3dSmrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
4612c7c4e3dSmrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
4622c7c4e3dSmrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
4632c7c4e3dSmrg    oldincludedir=$ac_optarg ;;
4642c7c4e3dSmrg
4652c7c4e3dSmrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4662c7c4e3dSmrg    ac_prev=prefix ;;
4672c7c4e3dSmrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4682c7c4e3dSmrg    prefix=$ac_optarg ;;
4692c7c4e3dSmrg
4702c7c4e3dSmrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
4712c7c4e3dSmrg  | --program-pre | --program-pr | --program-p)
4722c7c4e3dSmrg    ac_prev=program_prefix ;;
4732c7c4e3dSmrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
4742c7c4e3dSmrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
4752c7c4e3dSmrg    program_prefix=$ac_optarg ;;
4762c7c4e3dSmrg
4772c7c4e3dSmrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
4782c7c4e3dSmrg  | --program-suf | --program-su | --program-s)
4792c7c4e3dSmrg    ac_prev=program_suffix ;;
4802c7c4e3dSmrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
4812c7c4e3dSmrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
4822c7c4e3dSmrg    program_suffix=$ac_optarg ;;
4832c7c4e3dSmrg
4842c7c4e3dSmrg  -program-transform-name | --program-transform-name \
4852c7c4e3dSmrg  | --program-transform-nam | --program-transform-na \
4862c7c4e3dSmrg  | --program-transform-n | --program-transform- \
4872c7c4e3dSmrg  | --program-transform | --program-transfor \
4882c7c4e3dSmrg  | --program-transfo | --program-transf \
4892c7c4e3dSmrg  | --program-trans | --program-tran \
4902c7c4e3dSmrg  | --progr-tra | --program-tr | --program-t)
4912c7c4e3dSmrg    ac_prev=program_transform_name ;;
4922c7c4e3dSmrg  -program-transform-name=* | --program-transform-name=* \
4932c7c4e3dSmrg  | --program-transform-nam=* | --program-transform-na=* \
4942c7c4e3dSmrg  | --program-transform-n=* | --program-transform-=* \
4952c7c4e3dSmrg  | --program-transform=* | --program-transfor=* \
4962c7c4e3dSmrg  | --program-transfo=* | --program-transf=* \
4972c7c4e3dSmrg  | --program-trans=* | --program-tran=* \
4982c7c4e3dSmrg  | --progr-tra=* | --program-tr=* | --program-t=*)
4992c7c4e3dSmrg    program_transform_name=$ac_optarg ;;
5002c7c4e3dSmrg
5012c7c4e3dSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5022c7c4e3dSmrg  | -silent | --silent | --silen | --sile | --sil)
5032c7c4e3dSmrg    silent=yes ;;
5042c7c4e3dSmrg
5052c7c4e3dSmrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
5062c7c4e3dSmrg    ac_prev=sbindir ;;
5072c7c4e3dSmrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
5082c7c4e3dSmrg  | --sbi=* | --sb=*)
5092c7c4e3dSmrg    sbindir=$ac_optarg ;;
5102c7c4e3dSmrg
5112c7c4e3dSmrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
5122c7c4e3dSmrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
5132c7c4e3dSmrg  | --sharedst | --shareds | --shared | --share | --shar \
5142c7c4e3dSmrg  | --sha | --sh)
5152c7c4e3dSmrg    ac_prev=sharedstatedir ;;
5162c7c4e3dSmrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
5172c7c4e3dSmrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
5182c7c4e3dSmrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
5192c7c4e3dSmrg  | --sha=* | --sh=*)
5202c7c4e3dSmrg    sharedstatedir=$ac_optarg ;;
5212c7c4e3dSmrg
5222c7c4e3dSmrg  -site | --site | --sit)
5232c7c4e3dSmrg    ac_prev=site ;;
5242c7c4e3dSmrg  -site=* | --site=* | --sit=*)
5252c7c4e3dSmrg    site=$ac_optarg ;;
5262c7c4e3dSmrg
5272c7c4e3dSmrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5282c7c4e3dSmrg    ac_prev=srcdir ;;
5292c7c4e3dSmrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5302c7c4e3dSmrg    srcdir=$ac_optarg ;;
5312c7c4e3dSmrg
5322c7c4e3dSmrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
5332c7c4e3dSmrg  | --syscon | --sysco | --sysc | --sys | --sy)
5342c7c4e3dSmrg    ac_prev=sysconfdir ;;
5352c7c4e3dSmrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
5362c7c4e3dSmrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
5372c7c4e3dSmrg    sysconfdir=$ac_optarg ;;
5382c7c4e3dSmrg
5392c7c4e3dSmrg  -target | --target | --targe | --targ | --tar | --ta | --t)
5402c7c4e3dSmrg    ac_prev=target_alias ;;
5412c7c4e3dSmrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
5422c7c4e3dSmrg    target_alias=$ac_optarg ;;
5432c7c4e3dSmrg
5442c7c4e3dSmrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
5452c7c4e3dSmrg    verbose=yes ;;
5462c7c4e3dSmrg
5472c7c4e3dSmrg  -version | --version | --versio | --versi | --vers | -V)
5482c7c4e3dSmrg    ac_init_version=: ;;
5492c7c4e3dSmrg
5502c7c4e3dSmrg  -with-* | --with-*)
5512c7c4e3dSmrg    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5522c7c4e3dSmrg    # Reject names that are not valid shell variable names.
5532c7c4e3dSmrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5542c7c4e3dSmrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
5552c7c4e3dSmrg   { (exit 1); exit 1; }; }
5562c7c4e3dSmrg    ac_package=`echo $ac_package| sed 's/-/_/g'`
5572c7c4e3dSmrg    case $ac_option in
5582c7c4e3dSmrg      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
5592c7c4e3dSmrg      *) ac_optarg=yes ;;
5602c7c4e3dSmrg    esac
5612c7c4e3dSmrg    eval "with_$ac_package='$ac_optarg'" ;;
5622c7c4e3dSmrg
5632c7c4e3dSmrg  -without-* | --without-*)
5642c7c4e3dSmrg    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5652c7c4e3dSmrg    # Reject names that are not valid shell variable names.
5662c7c4e3dSmrg    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5672c7c4e3dSmrg      { echo "$as_me: error: invalid package name: $ac_package" >&2
5682c7c4e3dSmrg   { (exit 1); exit 1; }; }
5692c7c4e3dSmrg    ac_package=`echo $ac_package | sed 's/-/_/g'`
5702c7c4e3dSmrg    eval "with_$ac_package=no" ;;
5712c7c4e3dSmrg
5722c7c4e3dSmrg  --x)
5732c7c4e3dSmrg    # Obsolete; use --with-x.
5742c7c4e3dSmrg    with_x=yes ;;
5752c7c4e3dSmrg
5762c7c4e3dSmrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
5772c7c4e3dSmrg  | --x-incl | --x-inc | --x-in | --x-i)
5782c7c4e3dSmrg    ac_prev=x_includes ;;
5792c7c4e3dSmrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
5802c7c4e3dSmrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
5812c7c4e3dSmrg    x_includes=$ac_optarg ;;
5822c7c4e3dSmrg
5832c7c4e3dSmrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
5842c7c4e3dSmrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
5852c7c4e3dSmrg    ac_prev=x_libraries ;;
5862c7c4e3dSmrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
5872c7c4e3dSmrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
5882c7c4e3dSmrg    x_libraries=$ac_optarg ;;
5892c7c4e3dSmrg
5902c7c4e3dSmrg  -*) { echo "$as_me: error: unrecognized option: $ac_option
5912c7c4e3dSmrgTry \`$0 --help' for more information." >&2
5922c7c4e3dSmrg   { (exit 1); exit 1; }; }
5932c7c4e3dSmrg    ;;
5942c7c4e3dSmrg
5952c7c4e3dSmrg  *=*)
5962c7c4e3dSmrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
5972c7c4e3dSmrg    # Reject names that are not valid shell variable names.
5982c7c4e3dSmrg    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
5992c7c4e3dSmrg      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6002c7c4e3dSmrg   { (exit 1); exit 1; }; }
6012c7c4e3dSmrg    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
6022c7c4e3dSmrg    eval "$ac_envvar='$ac_optarg'"
6032c7c4e3dSmrg    export $ac_envvar ;;
6042c7c4e3dSmrg
6052c7c4e3dSmrg  *)
6062c7c4e3dSmrg    # FIXME: should be removed in autoconf 3.0.
6072c7c4e3dSmrg    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6082c7c4e3dSmrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
6092c7c4e3dSmrg      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
6102c7c4e3dSmrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
6112c7c4e3dSmrg    ;;
6122c7c4e3dSmrg
6132c7c4e3dSmrg  esac
6142c7c4e3dSmrgdone
6152c7c4e3dSmrg
6162c7c4e3dSmrgif test -n "$ac_prev"; then
6172c7c4e3dSmrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
6182c7c4e3dSmrg  { echo "$as_me: error: missing argument to $ac_option" >&2
6192c7c4e3dSmrg   { (exit 1); exit 1; }; }
6202c7c4e3dSmrgfi
6212c7c4e3dSmrg
6222c7c4e3dSmrg# Be sure to have absolute paths.
6232c7c4e3dSmrgfor ac_var in exec_prefix prefix
6242c7c4e3dSmrgdo
6252c7c4e3dSmrg  eval ac_val=$`echo $ac_var`
6262c7c4e3dSmrg  case $ac_val in
6272c7c4e3dSmrg    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
6282c7c4e3dSmrg    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6292c7c4e3dSmrg   { (exit 1); exit 1; }; };;
6302c7c4e3dSmrg  esac
6312c7c4e3dSmrgdone
6322c7c4e3dSmrg
6332c7c4e3dSmrg# Be sure to have absolute paths.
6342c7c4e3dSmrgfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
6352c7c4e3dSmrg	      localstatedir libdir includedir oldincludedir infodir mandir
6362c7c4e3dSmrgdo
6372c7c4e3dSmrg  eval ac_val=$`echo $ac_var`
6382c7c4e3dSmrg  case $ac_val in
6392c7c4e3dSmrg    [\\/$]* | ?:[\\/]* ) ;;
6402c7c4e3dSmrg    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
6412c7c4e3dSmrg   { (exit 1); exit 1; }; };;
6422c7c4e3dSmrg  esac
6432c7c4e3dSmrgdone
6442c7c4e3dSmrg
6452c7c4e3dSmrg# There might be people who depend on the old broken behavior: `$host'
6462c7c4e3dSmrg# used to hold the argument of --host etc.
6472c7c4e3dSmrg# FIXME: To remove some day.
6482c7c4e3dSmrgbuild=$build_alias
6492c7c4e3dSmrghost=$host_alias
6502c7c4e3dSmrgtarget=$target_alias
6512c7c4e3dSmrg
6522c7c4e3dSmrg# FIXME: To remove some day.
6532c7c4e3dSmrgif test "x$host_alias" != x; then
6542c7c4e3dSmrg  if test "x$build_alias" = x; then
6552c7c4e3dSmrg    cross_compiling=maybe
6562c7c4e3dSmrg    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
6572c7c4e3dSmrg    If a cross compiler is detected then cross compile mode will be used." >&2
6582c7c4e3dSmrg  elif test "x$build_alias" != "x$host_alias"; then
6592c7c4e3dSmrg    cross_compiling=yes
6602c7c4e3dSmrg  fi
6612c7c4e3dSmrgfi
6622c7c4e3dSmrg
6632c7c4e3dSmrgac_tool_prefix=
6642c7c4e3dSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
6652c7c4e3dSmrg
6662c7c4e3dSmrgtest "$silent" = yes && exec 6>/dev/null
6672c7c4e3dSmrg
6682c7c4e3dSmrg
6692c7c4e3dSmrg# Find the source files, if location was not specified.
6702c7c4e3dSmrgif test -z "$srcdir"; then
6712c7c4e3dSmrg  ac_srcdir_defaulted=yes
6722c7c4e3dSmrg  # Try the directory containing this script, then its parent.
6732c7c4e3dSmrg  ac_confdir=`(dirname "$0") 2>/dev/null ||
6742c7c4e3dSmrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6752c7c4e3dSmrg	 X"$0" : 'X\(//\)[^/]' \| \
6762c7c4e3dSmrg	 X"$0" : 'X\(//\)$' \| \
6772c7c4e3dSmrg	 X"$0" : 'X\(/\)' \| \
6782c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
6792c7c4e3dSmrgecho X"$0" |
6802c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6812c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6822c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
6832c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
6842c7c4e3dSmrg  	  s/.*/./; q'`
6852c7c4e3dSmrg  srcdir=$ac_confdir
6862c7c4e3dSmrg  if test ! -r $srcdir/$ac_unique_file; then
6872c7c4e3dSmrg    srcdir=..
6882c7c4e3dSmrg  fi
6892c7c4e3dSmrgelse
6902c7c4e3dSmrg  ac_srcdir_defaulted=no
6912c7c4e3dSmrgfi
6922c7c4e3dSmrgif test ! -r $srcdir/$ac_unique_file; then
6932c7c4e3dSmrg  if test "$ac_srcdir_defaulted" = yes; then
6942c7c4e3dSmrg    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
6952c7c4e3dSmrg   { (exit 1); exit 1; }; }
6962c7c4e3dSmrg  else
6972c7c4e3dSmrg    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
6982c7c4e3dSmrg   { (exit 1); exit 1; }; }
6992c7c4e3dSmrg  fi
7002c7c4e3dSmrgfi
7012c7c4e3dSmrg(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
7022c7c4e3dSmrg  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
7032c7c4e3dSmrg   { (exit 1); exit 1; }; }
7042c7c4e3dSmrgsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
7052c7c4e3dSmrgac_env_build_alias_set=${build_alias+set}
7062c7c4e3dSmrgac_env_build_alias_value=$build_alias
7072c7c4e3dSmrgac_cv_env_build_alias_set=${build_alias+set}
7082c7c4e3dSmrgac_cv_env_build_alias_value=$build_alias
7092c7c4e3dSmrgac_env_host_alias_set=${host_alias+set}
7102c7c4e3dSmrgac_env_host_alias_value=$host_alias
7112c7c4e3dSmrgac_cv_env_host_alias_set=${host_alias+set}
7122c7c4e3dSmrgac_cv_env_host_alias_value=$host_alias
7132c7c4e3dSmrgac_env_target_alias_set=${target_alias+set}
7142c7c4e3dSmrgac_env_target_alias_value=$target_alias
7152c7c4e3dSmrgac_cv_env_target_alias_set=${target_alias+set}
7162c7c4e3dSmrgac_cv_env_target_alias_value=$target_alias
7172c7c4e3dSmrgac_env_CC_set=${CC+set}
7182c7c4e3dSmrgac_env_CC_value=$CC
7192c7c4e3dSmrgac_cv_env_CC_set=${CC+set}
7202c7c4e3dSmrgac_cv_env_CC_value=$CC
7212c7c4e3dSmrgac_env_CFLAGS_set=${CFLAGS+set}
7222c7c4e3dSmrgac_env_CFLAGS_value=$CFLAGS
7232c7c4e3dSmrgac_cv_env_CFLAGS_set=${CFLAGS+set}
7242c7c4e3dSmrgac_cv_env_CFLAGS_value=$CFLAGS
7252c7c4e3dSmrgac_env_LDFLAGS_set=${LDFLAGS+set}
7262c7c4e3dSmrgac_env_LDFLAGS_value=$LDFLAGS
7272c7c4e3dSmrgac_cv_env_LDFLAGS_set=${LDFLAGS+set}
7282c7c4e3dSmrgac_cv_env_LDFLAGS_value=$LDFLAGS
7292c7c4e3dSmrgac_env_CPPFLAGS_set=${CPPFLAGS+set}
7302c7c4e3dSmrgac_env_CPPFLAGS_value=$CPPFLAGS
7312c7c4e3dSmrgac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
7322c7c4e3dSmrgac_cv_env_CPPFLAGS_value=$CPPFLAGS
7332c7c4e3dSmrgac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
7342c7c4e3dSmrgac_env_PKG_CONFIG_value=$PKG_CONFIG
7352c7c4e3dSmrgac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
7362c7c4e3dSmrgac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
7372c7c4e3dSmrgac_env_XCMSDB_CFLAGS_set=${XCMSDB_CFLAGS+set}
7382c7c4e3dSmrgac_env_XCMSDB_CFLAGS_value=$XCMSDB_CFLAGS
7392c7c4e3dSmrgac_cv_env_XCMSDB_CFLAGS_set=${XCMSDB_CFLAGS+set}
7402c7c4e3dSmrgac_cv_env_XCMSDB_CFLAGS_value=$XCMSDB_CFLAGS
7412c7c4e3dSmrgac_env_XCMSDB_LIBS_set=${XCMSDB_LIBS+set}
7422c7c4e3dSmrgac_env_XCMSDB_LIBS_value=$XCMSDB_LIBS
7432c7c4e3dSmrgac_cv_env_XCMSDB_LIBS_set=${XCMSDB_LIBS+set}
7442c7c4e3dSmrgac_cv_env_XCMSDB_LIBS_value=$XCMSDB_LIBS
7452c7c4e3dSmrg
7462c7c4e3dSmrg#
7472c7c4e3dSmrg# Report the --help message.
7482c7c4e3dSmrg#
7492c7c4e3dSmrgif test "$ac_init_help" = "long"; then
7502c7c4e3dSmrg  # Omit some internal or obsolete options to make the list less imposing.
7512c7c4e3dSmrg  # This message is too long to be a string in the A/UX 3.1 sh.
7522c7c4e3dSmrg  cat <<_ACEOF
7532c7c4e3dSmrg\`configure' configures xcmsdb 1.0.1 to adapt to many kinds of systems.
7542c7c4e3dSmrg
7552c7c4e3dSmrgUsage: $0 [OPTION]... [VAR=VALUE]...
7562c7c4e3dSmrg
7572c7c4e3dSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
7582c7c4e3dSmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
7592c7c4e3dSmrg
7602c7c4e3dSmrgDefaults for the options are specified in brackets.
7612c7c4e3dSmrg
7622c7c4e3dSmrgConfiguration:
7632c7c4e3dSmrg  -h, --help              display this help and exit
7642c7c4e3dSmrg      --help=short        display options specific to this package
7652c7c4e3dSmrg      --help=recursive    display the short help of all the included packages
7662c7c4e3dSmrg  -V, --version           display version information and exit
7672c7c4e3dSmrg  -q, --quiet, --silent   do not print \`checking...' messages
7682c7c4e3dSmrg      --cache-file=FILE   cache test results in FILE [disabled]
7692c7c4e3dSmrg  -C, --config-cache      alias for \`--cache-file=config.cache'
7702c7c4e3dSmrg  -n, --no-create         do not create output files
7712c7c4e3dSmrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
7722c7c4e3dSmrg
7732c7c4e3dSmrg_ACEOF
7742c7c4e3dSmrg
7752c7c4e3dSmrg  cat <<_ACEOF
7762c7c4e3dSmrgInstallation directories:
7772c7c4e3dSmrg  --prefix=PREFIX         install architecture-independent files in PREFIX
7782c7c4e3dSmrg			  [$ac_default_prefix]
7792c7c4e3dSmrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
7802c7c4e3dSmrg			  [PREFIX]
7812c7c4e3dSmrg
7822c7c4e3dSmrgBy default, \`make install' will install all the files in
7832c7c4e3dSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
7842c7c4e3dSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
7852c7c4e3dSmrgfor instance \`--prefix=\$HOME'.
7862c7c4e3dSmrg
7872c7c4e3dSmrgFor better control, use the options below.
7882c7c4e3dSmrg
7892c7c4e3dSmrgFine tuning of the installation directories:
7902c7c4e3dSmrg  --bindir=DIR           user executables [EPREFIX/bin]
7912c7c4e3dSmrg  --sbindir=DIR          system admin executables [EPREFIX/sbin]
7922c7c4e3dSmrg  --libexecdir=DIR       program executables [EPREFIX/libexec]
7932c7c4e3dSmrg  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
7942c7c4e3dSmrg  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
7952c7c4e3dSmrg  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
7962c7c4e3dSmrg  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
7972c7c4e3dSmrg  --libdir=DIR           object code libraries [EPREFIX/lib]
7982c7c4e3dSmrg  --includedir=DIR       C header files [PREFIX/include]
7992c7c4e3dSmrg  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
8002c7c4e3dSmrg  --infodir=DIR          info documentation [PREFIX/info]
8012c7c4e3dSmrg  --mandir=DIR           man documentation [PREFIX/man]
8022c7c4e3dSmrg_ACEOF
8032c7c4e3dSmrg
8042c7c4e3dSmrg  cat <<\_ACEOF
8052c7c4e3dSmrg
8062c7c4e3dSmrgProgram names:
8072c7c4e3dSmrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
8082c7c4e3dSmrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
8092c7c4e3dSmrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
8102c7c4e3dSmrg
8112c7c4e3dSmrgSystem types:
8122c7c4e3dSmrg  --build=BUILD     configure for building on BUILD [guessed]
8132c7c4e3dSmrg  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
8142c7c4e3dSmrg_ACEOF
8152c7c4e3dSmrgfi
8162c7c4e3dSmrg
8172c7c4e3dSmrgif test -n "$ac_init_help"; then
8182c7c4e3dSmrg  case $ac_init_help in
8192c7c4e3dSmrg     short | recursive ) echo "Configuration of xcmsdb 1.0.1:";;
8202c7c4e3dSmrg   esac
8212c7c4e3dSmrg  cat <<\_ACEOF
8222c7c4e3dSmrg
8232c7c4e3dSmrgOptional Features:
8242c7c4e3dSmrg  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
8252c7c4e3dSmrg  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
8262c7c4e3dSmrg  --enable-maintainer-mode enable make rules and dependencies not useful
8272c7c4e3dSmrg                          (and sometimes confusing) to the casual installer
8282c7c4e3dSmrg  --disable-dependency-tracking Speeds up one-time builds
8292c7c4e3dSmrg  --enable-dependency-tracking  Do not reject slow dependency extractors
8302c7c4e3dSmrg
8312c7c4e3dSmrgOptional Packages:
8322c7c4e3dSmrg  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
8332c7c4e3dSmrg  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
8342c7c4e3dSmrg  --with-release-version=STRING
8352c7c4e3dSmrg                          Use release version string in package name
8362c7c4e3dSmrg
8372c7c4e3dSmrgSome influential environment variables:
8382c7c4e3dSmrg  CC          C compiler command
8392c7c4e3dSmrg  CFLAGS      C compiler flags
8402c7c4e3dSmrg  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
8412c7c4e3dSmrg              nonstandard directory <lib dir>
8422c7c4e3dSmrg  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
8432c7c4e3dSmrg              headers in a nonstandard directory <include dir>
8442c7c4e3dSmrg  PKG_CONFIG  path to pkg-config utility
8452c7c4e3dSmrg  XCMSDB_CFLAGS
8462c7c4e3dSmrg              C compiler flags for XCMSDB, overriding pkg-config
8472c7c4e3dSmrg  XCMSDB_LIBS linker flags for XCMSDB, overriding pkg-config
8482c7c4e3dSmrg
8492c7c4e3dSmrgUse these variables to override the choices made by `configure' or to help
8502c7c4e3dSmrgit to find libraries and programs with nonstandard names/locations.
8512c7c4e3dSmrg
8522c7c4e3dSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8532c7c4e3dSmrg_ACEOF
8542c7c4e3dSmrgfi
8552c7c4e3dSmrg
8562c7c4e3dSmrgif test "$ac_init_help" = "recursive"; then
8572c7c4e3dSmrg  # If there are subdirs, report their specific --help.
8582c7c4e3dSmrg  ac_popdir=`pwd`
8592c7c4e3dSmrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
8602c7c4e3dSmrg    test -d $ac_dir || continue
8612c7c4e3dSmrg    ac_builddir=.
8622c7c4e3dSmrg
8632c7c4e3dSmrgif test "$ac_dir" != .; then
8642c7c4e3dSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8652c7c4e3dSmrg  # A "../" for each directory in $ac_dir_suffix.
8662c7c4e3dSmrg  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8672c7c4e3dSmrgelse
8682c7c4e3dSmrg  ac_dir_suffix= ac_top_builddir=
8692c7c4e3dSmrgfi
8702c7c4e3dSmrg
8712c7c4e3dSmrgcase $srcdir in
8722c7c4e3dSmrg  .)  # No --srcdir option.  We are building in place.
8732c7c4e3dSmrg    ac_srcdir=.
8742c7c4e3dSmrg    if test -z "$ac_top_builddir"; then
8752c7c4e3dSmrg       ac_top_srcdir=.
8762c7c4e3dSmrg    else
8772c7c4e3dSmrg       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8782c7c4e3dSmrg    fi ;;
8792c7c4e3dSmrg  [\\/]* | ?:[\\/]* )  # Absolute path.
8802c7c4e3dSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
8812c7c4e3dSmrg    ac_top_srcdir=$srcdir ;;
8822c7c4e3dSmrg  *) # Relative path.
8832c7c4e3dSmrg    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8842c7c4e3dSmrg    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8852c7c4e3dSmrgesac
8862c7c4e3dSmrg
8872c7c4e3dSmrg# Do not use `cd foo && pwd` to compute absolute paths, because
8882c7c4e3dSmrg# the directories may not exist.
8892c7c4e3dSmrgcase `pwd` in
8902c7c4e3dSmrg.) ac_abs_builddir="$ac_dir";;
8912c7c4e3dSmrg*)
8922c7c4e3dSmrg  case "$ac_dir" in
8932c7c4e3dSmrg  .) ac_abs_builddir=`pwd`;;
8942c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8952c7c4e3dSmrg  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8962c7c4e3dSmrg  esac;;
8972c7c4e3dSmrgesac
8982c7c4e3dSmrgcase $ac_abs_builddir in
8992c7c4e3dSmrg.) ac_abs_top_builddir=${ac_top_builddir}.;;
9002c7c4e3dSmrg*)
9012c7c4e3dSmrg  case ${ac_top_builddir}. in
9022c7c4e3dSmrg  .) ac_abs_top_builddir=$ac_abs_builddir;;
9032c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9042c7c4e3dSmrg  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9052c7c4e3dSmrg  esac;;
9062c7c4e3dSmrgesac
9072c7c4e3dSmrgcase $ac_abs_builddir in
9082c7c4e3dSmrg.) ac_abs_srcdir=$ac_srcdir;;
9092c7c4e3dSmrg*)
9102c7c4e3dSmrg  case $ac_srcdir in
9112c7c4e3dSmrg  .) ac_abs_srcdir=$ac_abs_builddir;;
9122c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9132c7c4e3dSmrg  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9142c7c4e3dSmrg  esac;;
9152c7c4e3dSmrgesac
9162c7c4e3dSmrgcase $ac_abs_builddir in
9172c7c4e3dSmrg.) ac_abs_top_srcdir=$ac_top_srcdir;;
9182c7c4e3dSmrg*)
9192c7c4e3dSmrg  case $ac_top_srcdir in
9202c7c4e3dSmrg  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9212c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9222c7c4e3dSmrg  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9232c7c4e3dSmrg  esac;;
9242c7c4e3dSmrgesac
9252c7c4e3dSmrg
9262c7c4e3dSmrg    cd $ac_dir
9272c7c4e3dSmrg    # Check for guested configure; otherwise get Cygnus style configure.
9282c7c4e3dSmrg    if test -f $ac_srcdir/configure.gnu; then
9292c7c4e3dSmrg      echo
9302c7c4e3dSmrg      $SHELL $ac_srcdir/configure.gnu  --help=recursive
9312c7c4e3dSmrg    elif test -f $ac_srcdir/configure; then
9322c7c4e3dSmrg      echo
9332c7c4e3dSmrg      $SHELL $ac_srcdir/configure  --help=recursive
9342c7c4e3dSmrg    elif test -f $ac_srcdir/configure.ac ||
9352c7c4e3dSmrg	   test -f $ac_srcdir/configure.in; then
9362c7c4e3dSmrg      echo
9372c7c4e3dSmrg      $ac_configure --help
9382c7c4e3dSmrg    else
9392c7c4e3dSmrg      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
9402c7c4e3dSmrg    fi
9412c7c4e3dSmrg    cd $ac_popdir
9422c7c4e3dSmrg  done
9432c7c4e3dSmrgfi
9442c7c4e3dSmrg
9452c7c4e3dSmrgtest -n "$ac_init_help" && exit 0
9462c7c4e3dSmrgif $ac_init_version; then
9472c7c4e3dSmrg  cat <<\_ACEOF
9482c7c4e3dSmrgxcmsdb configure 1.0.1
9492c7c4e3dSmrggenerated by GNU Autoconf 2.59
9502c7c4e3dSmrg
9512c7c4e3dSmrgCopyright (C) 2003 Free Software Foundation, Inc.
9522c7c4e3dSmrgThis configure script is free software; the Free Software Foundation
9532c7c4e3dSmrggives unlimited permission to copy, distribute and modify it.
9542c7c4e3dSmrg_ACEOF
9552c7c4e3dSmrg  exit 0
9562c7c4e3dSmrgfi
9572c7c4e3dSmrgexec 5>config.log
9582c7c4e3dSmrgcat >&5 <<_ACEOF
9592c7c4e3dSmrgThis file contains any messages produced by compilers while
9602c7c4e3dSmrgrunning configure, to aid debugging if configure makes a mistake.
9612c7c4e3dSmrg
9622c7c4e3dSmrgIt was created by xcmsdb $as_me 1.0.1, which was
9632c7c4e3dSmrggenerated by GNU Autoconf 2.59.  Invocation command line was
9642c7c4e3dSmrg
9652c7c4e3dSmrg  $ $0 $@
9662c7c4e3dSmrg
9672c7c4e3dSmrg_ACEOF
9682c7c4e3dSmrg{
9692c7c4e3dSmrgcat <<_ASUNAME
9702c7c4e3dSmrg## --------- ##
9712c7c4e3dSmrg## Platform. ##
9722c7c4e3dSmrg## --------- ##
9732c7c4e3dSmrg
9742c7c4e3dSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
9752c7c4e3dSmrguname -m = `(uname -m) 2>/dev/null || echo unknown`
9762c7c4e3dSmrguname -r = `(uname -r) 2>/dev/null || echo unknown`
9772c7c4e3dSmrguname -s = `(uname -s) 2>/dev/null || echo unknown`
9782c7c4e3dSmrguname -v = `(uname -v) 2>/dev/null || echo unknown`
9792c7c4e3dSmrg
9802c7c4e3dSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
9812c7c4e3dSmrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
9822c7c4e3dSmrg
9832c7c4e3dSmrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
9842c7c4e3dSmrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
9852c7c4e3dSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
9862c7c4e3dSmrghostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
9872c7c4e3dSmrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
9882c7c4e3dSmrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
9892c7c4e3dSmrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
9902c7c4e3dSmrg
9912c7c4e3dSmrg_ASUNAME
9922c7c4e3dSmrg
9932c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9942c7c4e3dSmrgfor as_dir in $PATH
9952c7c4e3dSmrgdo
9962c7c4e3dSmrg  IFS=$as_save_IFS
9972c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
9982c7c4e3dSmrg  echo "PATH: $as_dir"
9992c7c4e3dSmrgdone
10002c7c4e3dSmrg
10012c7c4e3dSmrg} >&5
10022c7c4e3dSmrg
10032c7c4e3dSmrgcat >&5 <<_ACEOF
10042c7c4e3dSmrg
10052c7c4e3dSmrg
10062c7c4e3dSmrg## ----------- ##
10072c7c4e3dSmrg## Core tests. ##
10082c7c4e3dSmrg## ----------- ##
10092c7c4e3dSmrg
10102c7c4e3dSmrg_ACEOF
10112c7c4e3dSmrg
10122c7c4e3dSmrg
10132c7c4e3dSmrg# Keep a trace of the command line.
10142c7c4e3dSmrg# Strip out --no-create and --no-recursion so they do not pile up.
10152c7c4e3dSmrg# Strip out --silent because we don't want to record it for future runs.
10162c7c4e3dSmrg# Also quote any args containing shell meta-characters.
10172c7c4e3dSmrg# Make two passes to allow for proper duplicate-argument suppression.
10182c7c4e3dSmrgac_configure_args=
10192c7c4e3dSmrgac_configure_args0=
10202c7c4e3dSmrgac_configure_args1=
10212c7c4e3dSmrgac_sep=
10222c7c4e3dSmrgac_must_keep_next=false
10232c7c4e3dSmrgfor ac_pass in 1 2
10242c7c4e3dSmrgdo
10252c7c4e3dSmrg  for ac_arg
10262c7c4e3dSmrg  do
10272c7c4e3dSmrg    case $ac_arg in
10282c7c4e3dSmrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
10292c7c4e3dSmrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10302c7c4e3dSmrg    | -silent | --silent | --silen | --sile | --sil)
10312c7c4e3dSmrg      continue ;;
10322c7c4e3dSmrg    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
10332c7c4e3dSmrg      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10342c7c4e3dSmrg    esac
10352c7c4e3dSmrg    case $ac_pass in
10362c7c4e3dSmrg    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
10372c7c4e3dSmrg    2)
10382c7c4e3dSmrg      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
10392c7c4e3dSmrg      if test $ac_must_keep_next = true; then
10402c7c4e3dSmrg	ac_must_keep_next=false # Got value, back to normal.
10412c7c4e3dSmrg      else
10422c7c4e3dSmrg	case $ac_arg in
10432c7c4e3dSmrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
10442c7c4e3dSmrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
10452c7c4e3dSmrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
10462c7c4e3dSmrg	  | -with-* | --with-* | -without-* | --without-* | --x)
10472c7c4e3dSmrg	    case "$ac_configure_args0 " in
10482c7c4e3dSmrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
10492c7c4e3dSmrg	    esac
10502c7c4e3dSmrg	    ;;
10512c7c4e3dSmrg	  -* ) ac_must_keep_next=true ;;
10522c7c4e3dSmrg	esac
10532c7c4e3dSmrg      fi
10542c7c4e3dSmrg      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
10552c7c4e3dSmrg      # Get rid of the leading space.
10562c7c4e3dSmrg      ac_sep=" "
10572c7c4e3dSmrg      ;;
10582c7c4e3dSmrg    esac
10592c7c4e3dSmrg  done
10602c7c4e3dSmrgdone
10612c7c4e3dSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
10622c7c4e3dSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
10632c7c4e3dSmrg
10642c7c4e3dSmrg# When interrupted or exit'd, cleanup temporary files, and complete
10652c7c4e3dSmrg# config.log.  We remove comments because anyway the quotes in there
10662c7c4e3dSmrg# would cause problems or look ugly.
10672c7c4e3dSmrg# WARNING: Be sure not to use single quotes in there, as some shells,
10682c7c4e3dSmrg# such as our DU 5.0 friend, will then `close' the trap.
10692c7c4e3dSmrgtrap 'exit_status=$?
10702c7c4e3dSmrg  # Save into config.log some information that might help in debugging.
10712c7c4e3dSmrg  {
10722c7c4e3dSmrg    echo
10732c7c4e3dSmrg
10742c7c4e3dSmrg    cat <<\_ASBOX
10752c7c4e3dSmrg## ---------------- ##
10762c7c4e3dSmrg## Cache variables. ##
10772c7c4e3dSmrg## ---------------- ##
10782c7c4e3dSmrg_ASBOX
10792c7c4e3dSmrg    echo
10802c7c4e3dSmrg    # The following way of writing the cache mishandles newlines in values,
10812c7c4e3dSmrg{
10822c7c4e3dSmrg  (set) 2>&1 |
10832c7c4e3dSmrg    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
10842c7c4e3dSmrg    *ac_space=\ *)
10852c7c4e3dSmrg      sed -n \
10862c7c4e3dSmrg	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
10872c7c4e3dSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
10882c7c4e3dSmrg      ;;
10892c7c4e3dSmrg    *)
10902c7c4e3dSmrg      sed -n \
10912c7c4e3dSmrg	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10922c7c4e3dSmrg      ;;
10932c7c4e3dSmrg    esac;
10942c7c4e3dSmrg}
10952c7c4e3dSmrg    echo
10962c7c4e3dSmrg
10972c7c4e3dSmrg    cat <<\_ASBOX
10982c7c4e3dSmrg## ----------------- ##
10992c7c4e3dSmrg## Output variables. ##
11002c7c4e3dSmrg## ----------------- ##
11012c7c4e3dSmrg_ASBOX
11022c7c4e3dSmrg    echo
11032c7c4e3dSmrg    for ac_var in $ac_subst_vars
11042c7c4e3dSmrg    do
11052c7c4e3dSmrg      eval ac_val=$`echo $ac_var`
11062c7c4e3dSmrg      echo "$ac_var='"'"'$ac_val'"'"'"
11072c7c4e3dSmrg    done | sort
11082c7c4e3dSmrg    echo
11092c7c4e3dSmrg
11102c7c4e3dSmrg    if test -n "$ac_subst_files"; then
11112c7c4e3dSmrg      cat <<\_ASBOX
11122c7c4e3dSmrg## ------------- ##
11132c7c4e3dSmrg## Output files. ##
11142c7c4e3dSmrg## ------------- ##
11152c7c4e3dSmrg_ASBOX
11162c7c4e3dSmrg      echo
11172c7c4e3dSmrg      for ac_var in $ac_subst_files
11182c7c4e3dSmrg      do
11192c7c4e3dSmrg	eval ac_val=$`echo $ac_var`
11202c7c4e3dSmrg	echo "$ac_var='"'"'$ac_val'"'"'"
11212c7c4e3dSmrg      done | sort
11222c7c4e3dSmrg      echo
11232c7c4e3dSmrg    fi
11242c7c4e3dSmrg
11252c7c4e3dSmrg    if test -s confdefs.h; then
11262c7c4e3dSmrg      cat <<\_ASBOX
11272c7c4e3dSmrg## ----------- ##
11282c7c4e3dSmrg## confdefs.h. ##
11292c7c4e3dSmrg## ----------- ##
11302c7c4e3dSmrg_ASBOX
11312c7c4e3dSmrg      echo
11322c7c4e3dSmrg      sed "/^$/d" confdefs.h | sort
11332c7c4e3dSmrg      echo
11342c7c4e3dSmrg    fi
11352c7c4e3dSmrg    test "$ac_signal" != 0 &&
11362c7c4e3dSmrg      echo "$as_me: caught signal $ac_signal"
11372c7c4e3dSmrg    echo "$as_me: exit $exit_status"
11382c7c4e3dSmrg  } >&5
11392c7c4e3dSmrg  rm -f core *.core &&
11402c7c4e3dSmrg  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
11412c7c4e3dSmrg    exit $exit_status
11422c7c4e3dSmrg     ' 0
11432c7c4e3dSmrgfor ac_signal in 1 2 13 15; do
11442c7c4e3dSmrg  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11452c7c4e3dSmrgdone
11462c7c4e3dSmrgac_signal=0
11472c7c4e3dSmrg
11482c7c4e3dSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
11492c7c4e3dSmrgrm -rf conftest* confdefs.h
11502c7c4e3dSmrg# AIX cpp loses on an empty file, so make sure it contains at least a newline.
11512c7c4e3dSmrgecho >confdefs.h
11522c7c4e3dSmrg
11532c7c4e3dSmrg# Predefined preprocessor variables.
11542c7c4e3dSmrg
11552c7c4e3dSmrgcat >>confdefs.h <<_ACEOF
11562c7c4e3dSmrg#define PACKAGE_NAME "$PACKAGE_NAME"
11572c7c4e3dSmrg_ACEOF
11582c7c4e3dSmrg
11592c7c4e3dSmrg
11602c7c4e3dSmrgcat >>confdefs.h <<_ACEOF
11612c7c4e3dSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
11622c7c4e3dSmrg_ACEOF
11632c7c4e3dSmrg
11642c7c4e3dSmrg
11652c7c4e3dSmrgcat >>confdefs.h <<_ACEOF
11662c7c4e3dSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
11672c7c4e3dSmrg_ACEOF
11682c7c4e3dSmrg
11692c7c4e3dSmrg
11702c7c4e3dSmrgcat >>confdefs.h <<_ACEOF
11712c7c4e3dSmrg#define PACKAGE_STRING "$PACKAGE_STRING"
11722c7c4e3dSmrg_ACEOF
11732c7c4e3dSmrg
11742c7c4e3dSmrg
11752c7c4e3dSmrgcat >>confdefs.h <<_ACEOF
11762c7c4e3dSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
11772c7c4e3dSmrg_ACEOF
11782c7c4e3dSmrg
11792c7c4e3dSmrg
11802c7c4e3dSmrg# Let the site file select an alternate cache file if it wants to.
11812c7c4e3dSmrg# Prefer explicitly selected file to automatically selected ones.
11822c7c4e3dSmrgif test -z "$CONFIG_SITE"; then
11832c7c4e3dSmrg  if test "x$prefix" != xNONE; then
11842c7c4e3dSmrg    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
11852c7c4e3dSmrg  else
11862c7c4e3dSmrg    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
11872c7c4e3dSmrg  fi
11882c7c4e3dSmrgfi
11892c7c4e3dSmrgfor ac_site_file in $CONFIG_SITE; do
11902c7c4e3dSmrg  if test -r "$ac_site_file"; then
11912c7c4e3dSmrg    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
11922c7c4e3dSmrgecho "$as_me: loading site script $ac_site_file" >&6;}
11932c7c4e3dSmrg    sed 's/^/| /' "$ac_site_file" >&5
11942c7c4e3dSmrg    . "$ac_site_file"
11952c7c4e3dSmrg  fi
11962c7c4e3dSmrgdone
11972c7c4e3dSmrg
11982c7c4e3dSmrgif test -r "$cache_file"; then
11992c7c4e3dSmrg  # Some versions of bash will fail to source /dev/null (special
12002c7c4e3dSmrg  # files actually), so we avoid doing that.
12012c7c4e3dSmrg  if test -f "$cache_file"; then
12022c7c4e3dSmrg    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
12032c7c4e3dSmrgecho "$as_me: loading cache $cache_file" >&6;}
12042c7c4e3dSmrg    case $cache_file in
12052c7c4e3dSmrg      [\\/]* | ?:[\\/]* ) . $cache_file;;
12062c7c4e3dSmrg      *)                      . ./$cache_file;;
12072c7c4e3dSmrg    esac
12082c7c4e3dSmrg  fi
12092c7c4e3dSmrgelse
12102c7c4e3dSmrg  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
12112c7c4e3dSmrgecho "$as_me: creating cache $cache_file" >&6;}
12122c7c4e3dSmrg  >$cache_file
12132c7c4e3dSmrgfi
12142c7c4e3dSmrg
12152c7c4e3dSmrg# Check that the precious variables saved in the cache have kept the same
12162c7c4e3dSmrg# value.
12172c7c4e3dSmrgac_cache_corrupted=false
12182c7c4e3dSmrgfor ac_var in `(set) 2>&1 |
12192c7c4e3dSmrg	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
12202c7c4e3dSmrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
12212c7c4e3dSmrg  eval ac_new_set=\$ac_env_${ac_var}_set
12222c7c4e3dSmrg  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
12232c7c4e3dSmrg  eval ac_new_val="\$ac_env_${ac_var}_value"
12242c7c4e3dSmrg  case $ac_old_set,$ac_new_set in
12252c7c4e3dSmrg    set,)
12262c7c4e3dSmrg      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
12272c7c4e3dSmrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
12282c7c4e3dSmrg      ac_cache_corrupted=: ;;
12292c7c4e3dSmrg    ,set)
12302c7c4e3dSmrg      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
12312c7c4e3dSmrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
12322c7c4e3dSmrg      ac_cache_corrupted=: ;;
12332c7c4e3dSmrg    ,);;
12342c7c4e3dSmrg    *)
12352c7c4e3dSmrg      if test "x$ac_old_val" != "x$ac_new_val"; then
12362c7c4e3dSmrg	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
12372c7c4e3dSmrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
12382c7c4e3dSmrg	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
12392c7c4e3dSmrgecho "$as_me:   former value:  $ac_old_val" >&2;}
12402c7c4e3dSmrg	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
12412c7c4e3dSmrgecho "$as_me:   current value: $ac_new_val" >&2;}
12422c7c4e3dSmrg	ac_cache_corrupted=:
12432c7c4e3dSmrg      fi;;
12442c7c4e3dSmrg  esac
12452c7c4e3dSmrg  # Pass precious variables to config.status.
12462c7c4e3dSmrg  if test "$ac_new_set" = set; then
12472c7c4e3dSmrg    case $ac_new_val in
12482c7c4e3dSmrg    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
12492c7c4e3dSmrg      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12502c7c4e3dSmrg    *) ac_arg=$ac_var=$ac_new_val ;;
12512c7c4e3dSmrg    esac
12522c7c4e3dSmrg    case " $ac_configure_args " in
12532c7c4e3dSmrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
12542c7c4e3dSmrg      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
12552c7c4e3dSmrg    esac
12562c7c4e3dSmrg  fi
12572c7c4e3dSmrgdone
12582c7c4e3dSmrgif $ac_cache_corrupted; then
12592c7c4e3dSmrg  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
12602c7c4e3dSmrgecho "$as_me: error: changes in the environment can compromise the build" >&2;}
12612c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
12622c7c4e3dSmrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
12632c7c4e3dSmrg   { (exit 1); exit 1; }; }
12642c7c4e3dSmrgfi
12652c7c4e3dSmrg
12662c7c4e3dSmrgac_ext=c
12672c7c4e3dSmrgac_cpp='$CPP $CPPFLAGS'
12682c7c4e3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12692c7c4e3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12702c7c4e3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
12712c7c4e3dSmrg
12722c7c4e3dSmrg
12732c7c4e3dSmrg
12742c7c4e3dSmrg
12752c7c4e3dSmrg
12762c7c4e3dSmrg
12772c7c4e3dSmrg
12782c7c4e3dSmrg
12792c7c4e3dSmrg
12802c7c4e3dSmrg
12812c7c4e3dSmrg
12822c7c4e3dSmrg
12832c7c4e3dSmrg
12842c7c4e3dSmrg
12852c7c4e3dSmrg
12862c7c4e3dSmrg
12872c7c4e3dSmrg
12882c7c4e3dSmrg
12892c7c4e3dSmrg
12902c7c4e3dSmrg
12912c7c4e3dSmrg
12922c7c4e3dSmrg
12932c7c4e3dSmrg
12942c7c4e3dSmrg
12952c7c4e3dSmrg
12962c7c4e3dSmrg
12972c7c4e3dSmrg
12982c7c4e3dSmrgam__api_version="1.7"
12992c7c4e3dSmrgac_aux_dir=
13002c7c4e3dSmrgfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
13012c7c4e3dSmrg  if test -f $ac_dir/install-sh; then
13022c7c4e3dSmrg    ac_aux_dir=$ac_dir
13032c7c4e3dSmrg    ac_install_sh="$ac_aux_dir/install-sh -c"
13042c7c4e3dSmrg    break
13052c7c4e3dSmrg  elif test -f $ac_dir/install.sh; then
13062c7c4e3dSmrg    ac_aux_dir=$ac_dir
13072c7c4e3dSmrg    ac_install_sh="$ac_aux_dir/install.sh -c"
13082c7c4e3dSmrg    break
13092c7c4e3dSmrg  elif test -f $ac_dir/shtool; then
13102c7c4e3dSmrg    ac_aux_dir=$ac_dir
13112c7c4e3dSmrg    ac_install_sh="$ac_aux_dir/shtool install -c"
13122c7c4e3dSmrg    break
13132c7c4e3dSmrg  fi
13142c7c4e3dSmrgdone
13152c7c4e3dSmrgif test -z "$ac_aux_dir"; then
13162c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
13172c7c4e3dSmrgecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
13182c7c4e3dSmrg   { (exit 1); exit 1; }; }
13192c7c4e3dSmrgfi
13202c7c4e3dSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess"
13212c7c4e3dSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub"
13222c7c4e3dSmrgac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
13232c7c4e3dSmrg
13242c7c4e3dSmrg# Find a good install program.  We prefer a C program (faster),
13252c7c4e3dSmrg# so one script is as good as another.  But avoid the broken or
13262c7c4e3dSmrg# incompatible versions:
13272c7c4e3dSmrg# SysV /etc/install, /usr/sbin/install
13282c7c4e3dSmrg# SunOS /usr/etc/install
13292c7c4e3dSmrg# IRIX /sbin/install
13302c7c4e3dSmrg# AIX /bin/install
13312c7c4e3dSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
13322c7c4e3dSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13332c7c4e3dSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
13342c7c4e3dSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13352c7c4e3dSmrg# OS/2's system install, which has a completely different semantic
13362c7c4e3dSmrg# ./install, which can be erroneously created by make from ./install.sh.
13372c7c4e3dSmrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13382c7c4e3dSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13392c7c4e3dSmrgif test -z "$INSTALL"; then
13402c7c4e3dSmrgif test "${ac_cv_path_install+set}" = set; then
13412c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
13422c7c4e3dSmrgelse
13432c7c4e3dSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13442c7c4e3dSmrgfor as_dir in $PATH
13452c7c4e3dSmrgdo
13462c7c4e3dSmrg  IFS=$as_save_IFS
13472c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
13482c7c4e3dSmrg  # Account for people who put trailing slashes in PATH elements.
13492c7c4e3dSmrgcase $as_dir/ in
13502c7c4e3dSmrg  ./ | .// | /cC/* | \
13512c7c4e3dSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13522c7c4e3dSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13532c7c4e3dSmrg  /usr/ucb/* ) ;;
13542c7c4e3dSmrg  *)
13552c7c4e3dSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
13562c7c4e3dSmrg    # Don't use installbsd from OSF since it installs stuff as root
13572c7c4e3dSmrg    # by default.
13582c7c4e3dSmrg    for ac_prog in ginstall scoinst install; do
13592c7c4e3dSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
13602c7c4e3dSmrg	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13612c7c4e3dSmrg	  if test $ac_prog = install &&
13622c7c4e3dSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13632c7c4e3dSmrg	    # AIX install.  It has an incompatible calling convention.
13642c7c4e3dSmrg	    :
13652c7c4e3dSmrg	  elif test $ac_prog = install &&
13662c7c4e3dSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13672c7c4e3dSmrg	    # program-specific install script used by HP pwplus--don't use.
13682c7c4e3dSmrg	    :
13692c7c4e3dSmrg	  else
13702c7c4e3dSmrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13712c7c4e3dSmrg	    break 3
13722c7c4e3dSmrg	  fi
13732c7c4e3dSmrg	fi
13742c7c4e3dSmrg      done
13752c7c4e3dSmrg    done
13762c7c4e3dSmrg    ;;
13772c7c4e3dSmrgesac
13782c7c4e3dSmrgdone
13792c7c4e3dSmrg
13802c7c4e3dSmrg
13812c7c4e3dSmrgfi
13822c7c4e3dSmrg  if test "${ac_cv_path_install+set}" = set; then
13832c7c4e3dSmrg    INSTALL=$ac_cv_path_install
13842c7c4e3dSmrg  else
13852c7c4e3dSmrg    # As a last resort, use the slow shell script.  We don't cache a
13862c7c4e3dSmrg    # path for INSTALL within a source directory, because that will
13872c7c4e3dSmrg    # break other packages using the cache if that directory is
13882c7c4e3dSmrg    # removed, or if the path is relative.
13892c7c4e3dSmrg    INSTALL=$ac_install_sh
13902c7c4e3dSmrg  fi
13912c7c4e3dSmrgfi
13922c7c4e3dSmrgecho "$as_me:$LINENO: result: $INSTALL" >&5
13932c7c4e3dSmrgecho "${ECHO_T}$INSTALL" >&6
13942c7c4e3dSmrg
13952c7c4e3dSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13962c7c4e3dSmrg# It thinks the first close brace ends the variable substitution.
13972c7c4e3dSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13982c7c4e3dSmrg
13992c7c4e3dSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14002c7c4e3dSmrg
14012c7c4e3dSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14022c7c4e3dSmrg
14032c7c4e3dSmrgecho "$as_me:$LINENO: checking whether build environment is sane" >&5
14042c7c4e3dSmrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
14052c7c4e3dSmrg# Just in case
14062c7c4e3dSmrgsleep 1
14072c7c4e3dSmrgecho timestamp > conftest.file
14082c7c4e3dSmrg# Do `set' in a subshell so we don't clobber the current shell's
14092c7c4e3dSmrg# arguments.  Must try -L first in case configure is actually a
14102c7c4e3dSmrg# symlink; some systems play weird games with the mod time of symlinks
14112c7c4e3dSmrg# (eg FreeBSD returns the mod time of the symlink's containing
14122c7c4e3dSmrg# directory).
14132c7c4e3dSmrgif (
14142c7c4e3dSmrg   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
14152c7c4e3dSmrg   if test "$*" = "X"; then
14162c7c4e3dSmrg      # -L didn't work.
14172c7c4e3dSmrg      set X `ls -t $srcdir/configure conftest.file`
14182c7c4e3dSmrg   fi
14192c7c4e3dSmrg   rm -f conftest.file
14202c7c4e3dSmrg   if test "$*" != "X $srcdir/configure conftest.file" \
14212c7c4e3dSmrg      && test "$*" != "X conftest.file $srcdir/configure"; then
14222c7c4e3dSmrg
14232c7c4e3dSmrg      # If neither matched, then we have a broken ls.  This can happen
14242c7c4e3dSmrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
14252c7c4e3dSmrg      # broken ls alias from the environment.  This has actually
14262c7c4e3dSmrg      # happened.  Such a system could not be considered "sane".
14272c7c4e3dSmrg      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
14282c7c4e3dSmrgalias in your environment" >&5
14292c7c4e3dSmrgecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
14302c7c4e3dSmrgalias in your environment" >&2;}
14312c7c4e3dSmrg   { (exit 1); exit 1; }; }
14322c7c4e3dSmrg   fi
14332c7c4e3dSmrg
14342c7c4e3dSmrg   test "$2" = conftest.file
14352c7c4e3dSmrg   )
14362c7c4e3dSmrgthen
14372c7c4e3dSmrg   # Ok.
14382c7c4e3dSmrg   :
14392c7c4e3dSmrgelse
14402c7c4e3dSmrg   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
14412c7c4e3dSmrgCheck your system clock" >&5
14422c7c4e3dSmrgecho "$as_me: error: newly created file is older than distributed files!
14432c7c4e3dSmrgCheck your system clock" >&2;}
14442c7c4e3dSmrg   { (exit 1); exit 1; }; }
14452c7c4e3dSmrgfi
14462c7c4e3dSmrgecho "$as_me:$LINENO: result: yes" >&5
14472c7c4e3dSmrgecho "${ECHO_T}yes" >&6
14482c7c4e3dSmrgtest "$program_prefix" != NONE &&
14492c7c4e3dSmrg  program_transform_name="s,^,$program_prefix,;$program_transform_name"
14502c7c4e3dSmrg# Use a double $ so make ignores it.
14512c7c4e3dSmrgtest "$program_suffix" != NONE &&
14522c7c4e3dSmrg  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
14532c7c4e3dSmrg# Double any \ or $.  echo might interpret backslashes.
14542c7c4e3dSmrg# By default was `s,x,x', remove it if useless.
14552c7c4e3dSmrgcat <<\_ACEOF >conftest.sed
14562c7c4e3dSmrgs/[\\$]/&&/g;s/;s,x,x,$//
14572c7c4e3dSmrg_ACEOF
14582c7c4e3dSmrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
14592c7c4e3dSmrgrm conftest.sed
14602c7c4e3dSmrg
14612c7c4e3dSmrg
14622c7c4e3dSmrg# expand $ac_aux_dir to an absolute path
14632c7c4e3dSmrgam_aux_dir=`cd $ac_aux_dir && pwd`
14642c7c4e3dSmrg
14652c7c4e3dSmrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
14662c7c4e3dSmrg# Use eval to expand $SHELL
14672c7c4e3dSmrgif eval "$MISSING --run true"; then
14682c7c4e3dSmrg  am_missing_run="$MISSING --run "
14692c7c4e3dSmrgelse
14702c7c4e3dSmrg  am_missing_run=
14712c7c4e3dSmrg  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
14722c7c4e3dSmrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
14732c7c4e3dSmrgfi
14742c7c4e3dSmrg
14752c7c4e3dSmrgfor ac_prog in gawk mawk nawk awk
14762c7c4e3dSmrgdo
14772c7c4e3dSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
14782c7c4e3dSmrgset dummy $ac_prog; ac_word=$2
14792c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
14802c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14812c7c4e3dSmrgif test "${ac_cv_prog_AWK+set}" = set; then
14822c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
14832c7c4e3dSmrgelse
14842c7c4e3dSmrg  if test -n "$AWK"; then
14852c7c4e3dSmrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
14862c7c4e3dSmrgelse
14872c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14882c7c4e3dSmrgfor as_dir in $PATH
14892c7c4e3dSmrgdo
14902c7c4e3dSmrg  IFS=$as_save_IFS
14912c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
14922c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
14932c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14942c7c4e3dSmrg    ac_cv_prog_AWK="$ac_prog"
14952c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14962c7c4e3dSmrg    break 2
14972c7c4e3dSmrg  fi
14982c7c4e3dSmrgdone
14992c7c4e3dSmrgdone
15002c7c4e3dSmrg
15012c7c4e3dSmrgfi
15022c7c4e3dSmrgfi
15032c7c4e3dSmrgAWK=$ac_cv_prog_AWK
15042c7c4e3dSmrgif test -n "$AWK"; then
15052c7c4e3dSmrg  echo "$as_me:$LINENO: result: $AWK" >&5
15062c7c4e3dSmrgecho "${ECHO_T}$AWK" >&6
15072c7c4e3dSmrgelse
15082c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
15092c7c4e3dSmrgecho "${ECHO_T}no" >&6
15102c7c4e3dSmrgfi
15112c7c4e3dSmrg
15122c7c4e3dSmrg  test -n "$AWK" && break
15132c7c4e3dSmrgdone
15142c7c4e3dSmrg
15152c7c4e3dSmrgecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15162c7c4e3dSmrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
15172c7c4e3dSmrgset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
15182c7c4e3dSmrgif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
15192c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
15202c7c4e3dSmrgelse
15212c7c4e3dSmrg  cat >conftest.make <<\_ACEOF
15222c7c4e3dSmrgall:
15232c7c4e3dSmrg	@echo 'ac_maketemp="$(MAKE)"'
15242c7c4e3dSmrg_ACEOF
15252c7c4e3dSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15262c7c4e3dSmrgeval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
15272c7c4e3dSmrgif test -n "$ac_maketemp"; then
15282c7c4e3dSmrg  eval ac_cv_prog_make_${ac_make}_set=yes
15292c7c4e3dSmrgelse
15302c7c4e3dSmrg  eval ac_cv_prog_make_${ac_make}_set=no
15312c7c4e3dSmrgfi
15322c7c4e3dSmrgrm -f conftest.make
15332c7c4e3dSmrgfi
15342c7c4e3dSmrgif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15352c7c4e3dSmrg  echo "$as_me:$LINENO: result: yes" >&5
15362c7c4e3dSmrgecho "${ECHO_T}yes" >&6
15372c7c4e3dSmrg  SET_MAKE=
15382c7c4e3dSmrgelse
15392c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
15402c7c4e3dSmrgecho "${ECHO_T}no" >&6
15412c7c4e3dSmrg  SET_MAKE="MAKE=${MAKE-make}"
15422c7c4e3dSmrgfi
15432c7c4e3dSmrg
15442c7c4e3dSmrgrm -rf .tst 2>/dev/null
15452c7c4e3dSmrgmkdir .tst 2>/dev/null
15462c7c4e3dSmrgif test -d .tst; then
15472c7c4e3dSmrg  am__leading_dot=.
15482c7c4e3dSmrgelse
15492c7c4e3dSmrg  am__leading_dot=_
15502c7c4e3dSmrgfi
15512c7c4e3dSmrgrmdir .tst 2>/dev/null
15522c7c4e3dSmrg
15532c7c4e3dSmrg # test to see if srcdir already configured
15542c7c4e3dSmrgif test "`cd $srcdir && pwd`" != "`pwd`" &&
15552c7c4e3dSmrg   test -f $srcdir/config.status; then
15562c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
15572c7c4e3dSmrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
15582c7c4e3dSmrg   { (exit 1); exit 1; }; }
15592c7c4e3dSmrgfi
15602c7c4e3dSmrg
15612c7c4e3dSmrg# test whether we have cygpath
15622c7c4e3dSmrgif test -z "$CYGPATH_W"; then
15632c7c4e3dSmrg  if (cygpath --version) >/dev/null 2>/dev/null; then
15642c7c4e3dSmrg    CYGPATH_W='cygpath -w'
15652c7c4e3dSmrg  else
15662c7c4e3dSmrg    CYGPATH_W=echo
15672c7c4e3dSmrg  fi
15682c7c4e3dSmrgfi
15692c7c4e3dSmrg
15702c7c4e3dSmrg
15712c7c4e3dSmrg# Define the identity of the package.
15722c7c4e3dSmrg PACKAGE='xcmsdb'
15732c7c4e3dSmrg VERSION='1.0.1'
15742c7c4e3dSmrg
15752c7c4e3dSmrg
15762c7c4e3dSmrgcat >>confdefs.h <<_ACEOF
15772c7c4e3dSmrg#define PACKAGE "$PACKAGE"
15782c7c4e3dSmrg_ACEOF
15792c7c4e3dSmrg
15802c7c4e3dSmrg
15812c7c4e3dSmrgcat >>confdefs.h <<_ACEOF
15822c7c4e3dSmrg#define VERSION "$VERSION"
15832c7c4e3dSmrg_ACEOF
15842c7c4e3dSmrg
15852c7c4e3dSmrg# Some tools Automake needs.
15862c7c4e3dSmrg
15872c7c4e3dSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
15882c7c4e3dSmrg
15892c7c4e3dSmrg
15902c7c4e3dSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
15912c7c4e3dSmrg
15922c7c4e3dSmrg
15932c7c4e3dSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
15942c7c4e3dSmrg
15952c7c4e3dSmrg
15962c7c4e3dSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
15972c7c4e3dSmrg
15982c7c4e3dSmrg
15992c7c4e3dSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
16002c7c4e3dSmrg
16012c7c4e3dSmrg
16022c7c4e3dSmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
16032c7c4e3dSmrg
16042c7c4e3dSmrginstall_sh=${install_sh-"$am_aux_dir/install-sh"}
16052c7c4e3dSmrg
16062c7c4e3dSmrg# Installed binaries are usually stripped using `strip' when the user
16072c7c4e3dSmrg# run `make install-strip'.  However `strip' might not be the right
16082c7c4e3dSmrg# tool to use in cross-compilation environments, therefore Automake
16092c7c4e3dSmrg# will honor the `STRIP' environment variable to overrule this program.
16102c7c4e3dSmrgif test "$cross_compiling" != no; then
16112c7c4e3dSmrg  if test -n "$ac_tool_prefix"; then
16122c7c4e3dSmrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16132c7c4e3dSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2
16142c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
16152c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16162c7c4e3dSmrgif test "${ac_cv_prog_STRIP+set}" = set; then
16172c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
16182c7c4e3dSmrgelse
16192c7c4e3dSmrg  if test -n "$STRIP"; then
16202c7c4e3dSmrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16212c7c4e3dSmrgelse
16222c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16232c7c4e3dSmrgfor as_dir in $PATH
16242c7c4e3dSmrgdo
16252c7c4e3dSmrg  IFS=$as_save_IFS
16262c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
16272c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
16282c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16292c7c4e3dSmrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16302c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16312c7c4e3dSmrg    break 2
16322c7c4e3dSmrg  fi
16332c7c4e3dSmrgdone
16342c7c4e3dSmrgdone
16352c7c4e3dSmrg
16362c7c4e3dSmrgfi
16372c7c4e3dSmrgfi
16382c7c4e3dSmrgSTRIP=$ac_cv_prog_STRIP
16392c7c4e3dSmrgif test -n "$STRIP"; then
16402c7c4e3dSmrg  echo "$as_me:$LINENO: result: $STRIP" >&5
16412c7c4e3dSmrgecho "${ECHO_T}$STRIP" >&6
16422c7c4e3dSmrgelse
16432c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
16442c7c4e3dSmrgecho "${ECHO_T}no" >&6
16452c7c4e3dSmrgfi
16462c7c4e3dSmrg
16472c7c4e3dSmrgfi
16482c7c4e3dSmrgif test -z "$ac_cv_prog_STRIP"; then
16492c7c4e3dSmrg  ac_ct_STRIP=$STRIP
16502c7c4e3dSmrg  # Extract the first word of "strip", so it can be a program name with args.
16512c7c4e3dSmrgset dummy strip; ac_word=$2
16522c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
16532c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16542c7c4e3dSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16552c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
16562c7c4e3dSmrgelse
16572c7c4e3dSmrg  if test -n "$ac_ct_STRIP"; then
16582c7c4e3dSmrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16592c7c4e3dSmrgelse
16602c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16612c7c4e3dSmrgfor as_dir in $PATH
16622c7c4e3dSmrgdo
16632c7c4e3dSmrg  IFS=$as_save_IFS
16642c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
16652c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
16662c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16672c7c4e3dSmrg    ac_cv_prog_ac_ct_STRIP="strip"
16682c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16692c7c4e3dSmrg    break 2
16702c7c4e3dSmrg  fi
16712c7c4e3dSmrgdone
16722c7c4e3dSmrgdone
16732c7c4e3dSmrg
16742c7c4e3dSmrg  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
16752c7c4e3dSmrgfi
16762c7c4e3dSmrgfi
16772c7c4e3dSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16782c7c4e3dSmrgif test -n "$ac_ct_STRIP"; then
16792c7c4e3dSmrg  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16802c7c4e3dSmrgecho "${ECHO_T}$ac_ct_STRIP" >&6
16812c7c4e3dSmrgelse
16822c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
16832c7c4e3dSmrgecho "${ECHO_T}no" >&6
16842c7c4e3dSmrgfi
16852c7c4e3dSmrg
16862c7c4e3dSmrg  STRIP=$ac_ct_STRIP
16872c7c4e3dSmrgelse
16882c7c4e3dSmrg  STRIP="$ac_cv_prog_STRIP"
16892c7c4e3dSmrgfi
16902c7c4e3dSmrg
16912c7c4e3dSmrgfi
16922c7c4e3dSmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
16932c7c4e3dSmrg
16942c7c4e3dSmrg# We need awk for the "check" target.  The system "awk" is bad on
16952c7c4e3dSmrg# some platforms.
16962c7c4e3dSmrg
16972c7c4e3dSmrg
16982c7c4e3dSmrg
16992c7c4e3dSmrgecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
17002c7c4e3dSmrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
17012c7c4e3dSmrg    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
17022c7c4e3dSmrgif test "${enable_maintainer_mode+set}" = set; then
17032c7c4e3dSmrg  enableval="$enable_maintainer_mode"
17042c7c4e3dSmrg  USE_MAINTAINER_MODE=$enableval
17052c7c4e3dSmrgelse
17062c7c4e3dSmrg  USE_MAINTAINER_MODE=no
17072c7c4e3dSmrgfi;
17082c7c4e3dSmrg  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
17092c7c4e3dSmrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6
17102c7c4e3dSmrg
17112c7c4e3dSmrg
17122c7c4e3dSmrgif test $USE_MAINTAINER_MODE = yes; then
17132c7c4e3dSmrg  MAINTAINER_MODE_TRUE=
17142c7c4e3dSmrg  MAINTAINER_MODE_FALSE='#'
17152c7c4e3dSmrgelse
17162c7c4e3dSmrg  MAINTAINER_MODE_TRUE='#'
17172c7c4e3dSmrg  MAINTAINER_MODE_FALSE=
17182c7c4e3dSmrgfi
17192c7c4e3dSmrg
17202c7c4e3dSmrg  MAINT=$MAINTAINER_MODE_TRUE
17212c7c4e3dSmrg
17222c7c4e3dSmrg
17232c7c4e3dSmrg
17242c7c4e3dSmrg          ac_config_headers="$ac_config_headers config.h"
17252c7c4e3dSmrg
17262c7c4e3dSmrg
17272c7c4e3dSmrgac_ext=c
17282c7c4e3dSmrgac_cpp='$CPP $CPPFLAGS'
17292c7c4e3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302c7c4e3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17312c7c4e3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
17322c7c4e3dSmrgif test -n "$ac_tool_prefix"; then
17332c7c4e3dSmrg  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17342c7c4e3dSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2
17352c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
17362c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17372c7c4e3dSmrgif test "${ac_cv_prog_CC+set}" = set; then
17382c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
17392c7c4e3dSmrgelse
17402c7c4e3dSmrg  if test -n "$CC"; then
17412c7c4e3dSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
17422c7c4e3dSmrgelse
17432c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17442c7c4e3dSmrgfor as_dir in $PATH
17452c7c4e3dSmrgdo
17462c7c4e3dSmrg  IFS=$as_save_IFS
17472c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
17482c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
17492c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17502c7c4e3dSmrg    ac_cv_prog_CC="${ac_tool_prefix}gcc"
17512c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17522c7c4e3dSmrg    break 2
17532c7c4e3dSmrg  fi
17542c7c4e3dSmrgdone
17552c7c4e3dSmrgdone
17562c7c4e3dSmrg
17572c7c4e3dSmrgfi
17582c7c4e3dSmrgfi
17592c7c4e3dSmrgCC=$ac_cv_prog_CC
17602c7c4e3dSmrgif test -n "$CC"; then
17612c7c4e3dSmrg  echo "$as_me:$LINENO: result: $CC" >&5
17622c7c4e3dSmrgecho "${ECHO_T}$CC" >&6
17632c7c4e3dSmrgelse
17642c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
17652c7c4e3dSmrgecho "${ECHO_T}no" >&6
17662c7c4e3dSmrgfi
17672c7c4e3dSmrg
17682c7c4e3dSmrgfi
17692c7c4e3dSmrgif test -z "$ac_cv_prog_CC"; then
17702c7c4e3dSmrg  ac_ct_CC=$CC
17712c7c4e3dSmrg  # Extract the first word of "gcc", so it can be a program name with args.
17722c7c4e3dSmrgset dummy gcc; ac_word=$2
17732c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
17742c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17752c7c4e3dSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
17762c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
17772c7c4e3dSmrgelse
17782c7c4e3dSmrg  if test -n "$ac_ct_CC"; then
17792c7c4e3dSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17802c7c4e3dSmrgelse
17812c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17822c7c4e3dSmrgfor as_dir in $PATH
17832c7c4e3dSmrgdo
17842c7c4e3dSmrg  IFS=$as_save_IFS
17852c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
17862c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
17872c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17882c7c4e3dSmrg    ac_cv_prog_ac_ct_CC="gcc"
17892c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17902c7c4e3dSmrg    break 2
17912c7c4e3dSmrg  fi
17922c7c4e3dSmrgdone
17932c7c4e3dSmrgdone
17942c7c4e3dSmrg
17952c7c4e3dSmrgfi
17962c7c4e3dSmrgfi
17972c7c4e3dSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
17982c7c4e3dSmrgif test -n "$ac_ct_CC"; then
17992c7c4e3dSmrg  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18002c7c4e3dSmrgecho "${ECHO_T}$ac_ct_CC" >&6
18012c7c4e3dSmrgelse
18022c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
18032c7c4e3dSmrgecho "${ECHO_T}no" >&6
18042c7c4e3dSmrgfi
18052c7c4e3dSmrg
18062c7c4e3dSmrg  CC=$ac_ct_CC
18072c7c4e3dSmrgelse
18082c7c4e3dSmrg  CC="$ac_cv_prog_CC"
18092c7c4e3dSmrgfi
18102c7c4e3dSmrg
18112c7c4e3dSmrgif test -z "$CC"; then
18122c7c4e3dSmrg  if test -n "$ac_tool_prefix"; then
18132c7c4e3dSmrg  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18142c7c4e3dSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2
18152c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
18162c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18172c7c4e3dSmrgif test "${ac_cv_prog_CC+set}" = set; then
18182c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
18192c7c4e3dSmrgelse
18202c7c4e3dSmrg  if test -n "$CC"; then
18212c7c4e3dSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
18222c7c4e3dSmrgelse
18232c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18242c7c4e3dSmrgfor as_dir in $PATH
18252c7c4e3dSmrgdo
18262c7c4e3dSmrg  IFS=$as_save_IFS
18272c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
18282c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
18292c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18302c7c4e3dSmrg    ac_cv_prog_CC="${ac_tool_prefix}cc"
18312c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18322c7c4e3dSmrg    break 2
18332c7c4e3dSmrg  fi
18342c7c4e3dSmrgdone
18352c7c4e3dSmrgdone
18362c7c4e3dSmrg
18372c7c4e3dSmrgfi
18382c7c4e3dSmrgfi
18392c7c4e3dSmrgCC=$ac_cv_prog_CC
18402c7c4e3dSmrgif test -n "$CC"; then
18412c7c4e3dSmrg  echo "$as_me:$LINENO: result: $CC" >&5
18422c7c4e3dSmrgecho "${ECHO_T}$CC" >&6
18432c7c4e3dSmrgelse
18442c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
18452c7c4e3dSmrgecho "${ECHO_T}no" >&6
18462c7c4e3dSmrgfi
18472c7c4e3dSmrg
18482c7c4e3dSmrgfi
18492c7c4e3dSmrgif test -z "$ac_cv_prog_CC"; then
18502c7c4e3dSmrg  ac_ct_CC=$CC
18512c7c4e3dSmrg  # Extract the first word of "cc", so it can be a program name with args.
18522c7c4e3dSmrgset dummy cc; ac_word=$2
18532c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
18542c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18552c7c4e3dSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18562c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
18572c7c4e3dSmrgelse
18582c7c4e3dSmrg  if test -n "$ac_ct_CC"; then
18592c7c4e3dSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18602c7c4e3dSmrgelse
18612c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18622c7c4e3dSmrgfor as_dir in $PATH
18632c7c4e3dSmrgdo
18642c7c4e3dSmrg  IFS=$as_save_IFS
18652c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
18662c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
18672c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18682c7c4e3dSmrg    ac_cv_prog_ac_ct_CC="cc"
18692c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18702c7c4e3dSmrg    break 2
18712c7c4e3dSmrg  fi
18722c7c4e3dSmrgdone
18732c7c4e3dSmrgdone
18742c7c4e3dSmrg
18752c7c4e3dSmrgfi
18762c7c4e3dSmrgfi
18772c7c4e3dSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
18782c7c4e3dSmrgif test -n "$ac_ct_CC"; then
18792c7c4e3dSmrg  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18802c7c4e3dSmrgecho "${ECHO_T}$ac_ct_CC" >&6
18812c7c4e3dSmrgelse
18822c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
18832c7c4e3dSmrgecho "${ECHO_T}no" >&6
18842c7c4e3dSmrgfi
18852c7c4e3dSmrg
18862c7c4e3dSmrg  CC=$ac_ct_CC
18872c7c4e3dSmrgelse
18882c7c4e3dSmrg  CC="$ac_cv_prog_CC"
18892c7c4e3dSmrgfi
18902c7c4e3dSmrg
18912c7c4e3dSmrgfi
18922c7c4e3dSmrgif test -z "$CC"; then
18932c7c4e3dSmrg  # Extract the first word of "cc", so it can be a program name with args.
18942c7c4e3dSmrgset dummy cc; ac_word=$2
18952c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
18962c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18972c7c4e3dSmrgif test "${ac_cv_prog_CC+set}" = set; then
18982c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
18992c7c4e3dSmrgelse
19002c7c4e3dSmrg  if test -n "$CC"; then
19012c7c4e3dSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
19022c7c4e3dSmrgelse
19032c7c4e3dSmrg  ac_prog_rejected=no
19042c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19052c7c4e3dSmrgfor as_dir in $PATH
19062c7c4e3dSmrgdo
19072c7c4e3dSmrg  IFS=$as_save_IFS
19082c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
19092c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
19102c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19112c7c4e3dSmrg    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19122c7c4e3dSmrg       ac_prog_rejected=yes
19132c7c4e3dSmrg       continue
19142c7c4e3dSmrg     fi
19152c7c4e3dSmrg    ac_cv_prog_CC="cc"
19162c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19172c7c4e3dSmrg    break 2
19182c7c4e3dSmrg  fi
19192c7c4e3dSmrgdone
19202c7c4e3dSmrgdone
19212c7c4e3dSmrg
19222c7c4e3dSmrgif test $ac_prog_rejected = yes; then
19232c7c4e3dSmrg  # We found a bogon in the path, so make sure we never use it.
19242c7c4e3dSmrg  set dummy $ac_cv_prog_CC
19252c7c4e3dSmrg  shift
19262c7c4e3dSmrg  if test $# != 0; then
19272c7c4e3dSmrg    # We chose a different compiler from the bogus one.
19282c7c4e3dSmrg    # However, it has the same basename, so the bogon will be chosen
19292c7c4e3dSmrg    # first if we set CC to just the basename; use the full file name.
19302c7c4e3dSmrg    shift
19312c7c4e3dSmrg    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
19322c7c4e3dSmrg  fi
19332c7c4e3dSmrgfi
19342c7c4e3dSmrgfi
19352c7c4e3dSmrgfi
19362c7c4e3dSmrgCC=$ac_cv_prog_CC
19372c7c4e3dSmrgif test -n "$CC"; then
19382c7c4e3dSmrg  echo "$as_me:$LINENO: result: $CC" >&5
19392c7c4e3dSmrgecho "${ECHO_T}$CC" >&6
19402c7c4e3dSmrgelse
19412c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
19422c7c4e3dSmrgecho "${ECHO_T}no" >&6
19432c7c4e3dSmrgfi
19442c7c4e3dSmrg
19452c7c4e3dSmrgfi
19462c7c4e3dSmrgif test -z "$CC"; then
19472c7c4e3dSmrg  if test -n "$ac_tool_prefix"; then
19482c7c4e3dSmrg  for ac_prog in cl
19492c7c4e3dSmrg  do
19502c7c4e3dSmrg    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19512c7c4e3dSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2
19522c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
19532c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19542c7c4e3dSmrgif test "${ac_cv_prog_CC+set}" = set; then
19552c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
19562c7c4e3dSmrgelse
19572c7c4e3dSmrg  if test -n "$CC"; then
19582c7c4e3dSmrg  ac_cv_prog_CC="$CC" # Let the user override the test.
19592c7c4e3dSmrgelse
19602c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19612c7c4e3dSmrgfor as_dir in $PATH
19622c7c4e3dSmrgdo
19632c7c4e3dSmrg  IFS=$as_save_IFS
19642c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
19652c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
19662c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19672c7c4e3dSmrg    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19682c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19692c7c4e3dSmrg    break 2
19702c7c4e3dSmrg  fi
19712c7c4e3dSmrgdone
19722c7c4e3dSmrgdone
19732c7c4e3dSmrg
19742c7c4e3dSmrgfi
19752c7c4e3dSmrgfi
19762c7c4e3dSmrgCC=$ac_cv_prog_CC
19772c7c4e3dSmrgif test -n "$CC"; then
19782c7c4e3dSmrg  echo "$as_me:$LINENO: result: $CC" >&5
19792c7c4e3dSmrgecho "${ECHO_T}$CC" >&6
19802c7c4e3dSmrgelse
19812c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
19822c7c4e3dSmrgecho "${ECHO_T}no" >&6
19832c7c4e3dSmrgfi
19842c7c4e3dSmrg
19852c7c4e3dSmrg    test -n "$CC" && break
19862c7c4e3dSmrg  done
19872c7c4e3dSmrgfi
19882c7c4e3dSmrgif test -z "$CC"; then
19892c7c4e3dSmrg  ac_ct_CC=$CC
19902c7c4e3dSmrg  for ac_prog in cl
19912c7c4e3dSmrgdo
19922c7c4e3dSmrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
19932c7c4e3dSmrgset dummy $ac_prog; ac_word=$2
19942c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
19952c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19962c7c4e3dSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19972c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
19982c7c4e3dSmrgelse
19992c7c4e3dSmrg  if test -n "$ac_ct_CC"; then
20002c7c4e3dSmrg  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20012c7c4e3dSmrgelse
20022c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20032c7c4e3dSmrgfor as_dir in $PATH
20042c7c4e3dSmrgdo
20052c7c4e3dSmrg  IFS=$as_save_IFS
20062c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
20072c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
20082c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20092c7c4e3dSmrg    ac_cv_prog_ac_ct_CC="$ac_prog"
20102c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20112c7c4e3dSmrg    break 2
20122c7c4e3dSmrg  fi
20132c7c4e3dSmrgdone
20142c7c4e3dSmrgdone
20152c7c4e3dSmrg
20162c7c4e3dSmrgfi
20172c7c4e3dSmrgfi
20182c7c4e3dSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC
20192c7c4e3dSmrgif test -n "$ac_ct_CC"; then
20202c7c4e3dSmrg  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
20212c7c4e3dSmrgecho "${ECHO_T}$ac_ct_CC" >&6
20222c7c4e3dSmrgelse
20232c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
20242c7c4e3dSmrgecho "${ECHO_T}no" >&6
20252c7c4e3dSmrgfi
20262c7c4e3dSmrg
20272c7c4e3dSmrg  test -n "$ac_ct_CC" && break
20282c7c4e3dSmrgdone
20292c7c4e3dSmrg
20302c7c4e3dSmrg  CC=$ac_ct_CC
20312c7c4e3dSmrgfi
20322c7c4e3dSmrg
20332c7c4e3dSmrgfi
20342c7c4e3dSmrg
20352c7c4e3dSmrg
20362c7c4e3dSmrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
20372c7c4e3dSmrgSee \`config.log' for more details." >&5
20382c7c4e3dSmrgecho "$as_me: error: no acceptable C compiler found in \$PATH
20392c7c4e3dSmrgSee \`config.log' for more details." >&2;}
20402c7c4e3dSmrg   { (exit 1); exit 1; }; }
20412c7c4e3dSmrg
20422c7c4e3dSmrg# Provide some information about the compiler.
20432c7c4e3dSmrgecho "$as_me:$LINENO:" \
20442c7c4e3dSmrg     "checking for C compiler version" >&5
20452c7c4e3dSmrgac_compiler=`set X $ac_compile; echo $2`
20462c7c4e3dSmrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
20472c7c4e3dSmrg  (eval $ac_compiler --version </dev/null >&5) 2>&5
20482c7c4e3dSmrg  ac_status=$?
20492c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502c7c4e3dSmrg  (exit $ac_status); }
20512c7c4e3dSmrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
20522c7c4e3dSmrg  (eval $ac_compiler -v </dev/null >&5) 2>&5
20532c7c4e3dSmrg  ac_status=$?
20542c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552c7c4e3dSmrg  (exit $ac_status); }
20562c7c4e3dSmrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
20572c7c4e3dSmrg  (eval $ac_compiler -V </dev/null >&5) 2>&5
20582c7c4e3dSmrg  ac_status=$?
20592c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602c7c4e3dSmrg  (exit $ac_status); }
20612c7c4e3dSmrg
20622c7c4e3dSmrgcat >conftest.$ac_ext <<_ACEOF
20632c7c4e3dSmrg/* confdefs.h.  */
20642c7c4e3dSmrg_ACEOF
20652c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext
20662c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF
20672c7c4e3dSmrg/* end confdefs.h.  */
20682c7c4e3dSmrg
20692c7c4e3dSmrgint
20702c7c4e3dSmrgmain ()
20712c7c4e3dSmrg{
20722c7c4e3dSmrg
20732c7c4e3dSmrg  ;
20742c7c4e3dSmrg  return 0;
20752c7c4e3dSmrg}
20762c7c4e3dSmrg_ACEOF
20772c7c4e3dSmrgac_clean_files_save=$ac_clean_files
20782c7c4e3dSmrgac_clean_files="$ac_clean_files a.out a.exe b.out"
20792c7c4e3dSmrg# Try to create an executable without -o first, disregard a.out.
20802c7c4e3dSmrg# It will help us diagnose broken compilers, and finding out an intuition
20812c7c4e3dSmrg# of exeext.
20822c7c4e3dSmrgecho "$as_me:$LINENO: checking for C compiler default output file name" >&5
20832c7c4e3dSmrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
20842c7c4e3dSmrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
20852c7c4e3dSmrgif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
20862c7c4e3dSmrg  (eval $ac_link_default) 2>&5
20872c7c4e3dSmrg  ac_status=$?
20882c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892c7c4e3dSmrg  (exit $ac_status); }; then
20902c7c4e3dSmrg  # Find the output, starting from the most likely.  This scheme is
20912c7c4e3dSmrg# not robust to junk in `.', hence go to wildcards (a.*) only as a last
20922c7c4e3dSmrg# resort.
20932c7c4e3dSmrg
20942c7c4e3dSmrg# Be careful to initialize this variable, since it used to be cached.
20952c7c4e3dSmrg# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
20962c7c4e3dSmrgac_cv_exeext=
20972c7c4e3dSmrg# b.out is created by i960 compilers.
20982c7c4e3dSmrgfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
20992c7c4e3dSmrgdo
21002c7c4e3dSmrg  test -f "$ac_file" || continue
21012c7c4e3dSmrg  case $ac_file in
21022c7c4e3dSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
21032c7c4e3dSmrg	;;
21042c7c4e3dSmrg    conftest.$ac_ext )
21052c7c4e3dSmrg	# This is the source file.
21062c7c4e3dSmrg	;;
21072c7c4e3dSmrg    [ab].out )
21082c7c4e3dSmrg	# We found the default executable, but exeext='' is most
21092c7c4e3dSmrg	# certainly right.
21102c7c4e3dSmrg	break;;
21112c7c4e3dSmrg    *.* )
21122c7c4e3dSmrg	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
21132c7c4e3dSmrg	# FIXME: I believe we export ac_cv_exeext for Libtool,
21142c7c4e3dSmrg	# but it would be cool to find out if it's true.  Does anybody
21152c7c4e3dSmrg	# maintain Libtool? --akim.
21162c7c4e3dSmrg	export ac_cv_exeext
21172c7c4e3dSmrg	break;;
21182c7c4e3dSmrg    * )
21192c7c4e3dSmrg	break;;
21202c7c4e3dSmrg  esac
21212c7c4e3dSmrgdone
21222c7c4e3dSmrgelse
21232c7c4e3dSmrg  echo "$as_me: failed program was:" >&5
21242c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
21252c7c4e3dSmrg
21262c7c4e3dSmrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
21272c7c4e3dSmrgSee \`config.log' for more details." >&5
21282c7c4e3dSmrgecho "$as_me: error: C compiler cannot create executables
21292c7c4e3dSmrgSee \`config.log' for more details." >&2;}
21302c7c4e3dSmrg   { (exit 77); exit 77; }; }
21312c7c4e3dSmrgfi
21322c7c4e3dSmrg
21332c7c4e3dSmrgac_exeext=$ac_cv_exeext
21342c7c4e3dSmrgecho "$as_me:$LINENO: result: $ac_file" >&5
21352c7c4e3dSmrgecho "${ECHO_T}$ac_file" >&6
21362c7c4e3dSmrg
21372c7c4e3dSmrg# Check the compiler produces executables we can run.  If not, either
21382c7c4e3dSmrg# the compiler is broken, or we cross compile.
21392c7c4e3dSmrgecho "$as_me:$LINENO: checking whether the C compiler works" >&5
21402c7c4e3dSmrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
21412c7c4e3dSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
21422c7c4e3dSmrg# If not cross compiling, check that we can run a simple program.
21432c7c4e3dSmrgif test "$cross_compiling" != yes; then
21442c7c4e3dSmrg  if { ac_try='./$ac_file'
21452c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21462c7c4e3dSmrg  (eval $ac_try) 2>&5
21472c7c4e3dSmrg  ac_status=$?
21482c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492c7c4e3dSmrg  (exit $ac_status); }; }; then
21502c7c4e3dSmrg    cross_compiling=no
21512c7c4e3dSmrg  else
21522c7c4e3dSmrg    if test "$cross_compiling" = maybe; then
21532c7c4e3dSmrg	cross_compiling=yes
21542c7c4e3dSmrg    else
21552c7c4e3dSmrg	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
21562c7c4e3dSmrgIf you meant to cross compile, use \`--host'.
21572c7c4e3dSmrgSee \`config.log' for more details." >&5
21582c7c4e3dSmrgecho "$as_me: error: cannot run C compiled programs.
21592c7c4e3dSmrgIf you meant to cross compile, use \`--host'.
21602c7c4e3dSmrgSee \`config.log' for more details." >&2;}
21612c7c4e3dSmrg   { (exit 1); exit 1; }; }
21622c7c4e3dSmrg    fi
21632c7c4e3dSmrg  fi
21642c7c4e3dSmrgfi
21652c7c4e3dSmrgecho "$as_me:$LINENO: result: yes" >&5
21662c7c4e3dSmrgecho "${ECHO_T}yes" >&6
21672c7c4e3dSmrg
21682c7c4e3dSmrgrm -f a.out a.exe conftest$ac_cv_exeext b.out
21692c7c4e3dSmrgac_clean_files=$ac_clean_files_save
21702c7c4e3dSmrg# Check the compiler produces executables we can run.  If not, either
21712c7c4e3dSmrg# the compiler is broken, or we cross compile.
21722c7c4e3dSmrgecho "$as_me:$LINENO: checking whether we are cross compiling" >&5
21732c7c4e3dSmrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
21742c7c4e3dSmrgecho "$as_me:$LINENO: result: $cross_compiling" >&5
21752c7c4e3dSmrgecho "${ECHO_T}$cross_compiling" >&6
21762c7c4e3dSmrg
21772c7c4e3dSmrgecho "$as_me:$LINENO: checking for suffix of executables" >&5
21782c7c4e3dSmrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
21792c7c4e3dSmrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21802c7c4e3dSmrg  (eval $ac_link) 2>&5
21812c7c4e3dSmrg  ac_status=$?
21822c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832c7c4e3dSmrg  (exit $ac_status); }; then
21842c7c4e3dSmrg  # If both `conftest.exe' and `conftest' are `present' (well, observable)
21852c7c4e3dSmrg# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
21862c7c4e3dSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with
21872c7c4e3dSmrg# `rm'.
21882c7c4e3dSmrgfor ac_file in conftest.exe conftest conftest.*; do
21892c7c4e3dSmrg  test -f "$ac_file" || continue
21902c7c4e3dSmrg  case $ac_file in
21912c7c4e3dSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
21922c7c4e3dSmrg    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
21932c7c4e3dSmrg	  export ac_cv_exeext
21942c7c4e3dSmrg	  break;;
21952c7c4e3dSmrg    * ) break;;
21962c7c4e3dSmrg  esac
21972c7c4e3dSmrgdone
21982c7c4e3dSmrgelse
21992c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
22002c7c4e3dSmrgSee \`config.log' for more details." >&5
22012c7c4e3dSmrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
22022c7c4e3dSmrgSee \`config.log' for more details." >&2;}
22032c7c4e3dSmrg   { (exit 1); exit 1; }; }
22042c7c4e3dSmrgfi
22052c7c4e3dSmrg
22062c7c4e3dSmrgrm -f conftest$ac_cv_exeext
22072c7c4e3dSmrgecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5
22082c7c4e3dSmrgecho "${ECHO_T}$ac_cv_exeext" >&6
22092c7c4e3dSmrg
22102c7c4e3dSmrgrm -f conftest.$ac_ext
22112c7c4e3dSmrgEXEEXT=$ac_cv_exeext
22122c7c4e3dSmrgac_exeext=$EXEEXT
22132c7c4e3dSmrgecho "$as_me:$LINENO: checking for suffix of object files" >&5
22142c7c4e3dSmrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
22152c7c4e3dSmrgif test "${ac_cv_objext+set}" = set; then
22162c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
22172c7c4e3dSmrgelse
22182c7c4e3dSmrg  cat >conftest.$ac_ext <<_ACEOF
22192c7c4e3dSmrg/* confdefs.h.  */
22202c7c4e3dSmrg_ACEOF
22212c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext
22222c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF
22232c7c4e3dSmrg/* end confdefs.h.  */
22242c7c4e3dSmrg
22252c7c4e3dSmrgint
22262c7c4e3dSmrgmain ()
22272c7c4e3dSmrg{
22282c7c4e3dSmrg
22292c7c4e3dSmrg  ;
22302c7c4e3dSmrg  return 0;
22312c7c4e3dSmrg}
22322c7c4e3dSmrg_ACEOF
22332c7c4e3dSmrgrm -f conftest.o conftest.obj
22342c7c4e3dSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22352c7c4e3dSmrg  (eval $ac_compile) 2>&5
22362c7c4e3dSmrg  ac_status=$?
22372c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382c7c4e3dSmrg  (exit $ac_status); }; then
22392c7c4e3dSmrg  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
22402c7c4e3dSmrg  case $ac_file in
22412c7c4e3dSmrg    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
22422c7c4e3dSmrg    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
22432c7c4e3dSmrg       break;;
22442c7c4e3dSmrg  esac
22452c7c4e3dSmrgdone
22462c7c4e3dSmrgelse
22472c7c4e3dSmrg  echo "$as_me: failed program was:" >&5
22482c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
22492c7c4e3dSmrg
22502c7c4e3dSmrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
22512c7c4e3dSmrgSee \`config.log' for more details." >&5
22522c7c4e3dSmrgecho "$as_me: error: cannot compute suffix of object files: cannot compile
22532c7c4e3dSmrgSee \`config.log' for more details." >&2;}
22542c7c4e3dSmrg   { (exit 1); exit 1; }; }
22552c7c4e3dSmrgfi
22562c7c4e3dSmrg
22572c7c4e3dSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext
22582c7c4e3dSmrgfi
22592c7c4e3dSmrgecho "$as_me:$LINENO: result: $ac_cv_objext" >&5
22602c7c4e3dSmrgecho "${ECHO_T}$ac_cv_objext" >&6
22612c7c4e3dSmrgOBJEXT=$ac_cv_objext
22622c7c4e3dSmrgac_objext=$OBJEXT
22632c7c4e3dSmrgecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
22642c7c4e3dSmrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
22652c7c4e3dSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then
22662c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
22672c7c4e3dSmrgelse
22682c7c4e3dSmrg  cat >conftest.$ac_ext <<_ACEOF
22692c7c4e3dSmrg/* confdefs.h.  */
22702c7c4e3dSmrg_ACEOF
22712c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext
22722c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF
22732c7c4e3dSmrg/* end confdefs.h.  */
22742c7c4e3dSmrg
22752c7c4e3dSmrgint
22762c7c4e3dSmrgmain ()
22772c7c4e3dSmrg{
22782c7c4e3dSmrg#ifndef __GNUC__
22792c7c4e3dSmrg       choke me
22802c7c4e3dSmrg#endif
22812c7c4e3dSmrg
22822c7c4e3dSmrg  ;
22832c7c4e3dSmrg  return 0;
22842c7c4e3dSmrg}
22852c7c4e3dSmrg_ACEOF
22862c7c4e3dSmrgrm -f conftest.$ac_objext
22872c7c4e3dSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22882c7c4e3dSmrg  (eval $ac_compile) 2>conftest.er1
22892c7c4e3dSmrg  ac_status=$?
22902c7c4e3dSmrg  grep -v '^ *+' conftest.er1 >conftest.err
22912c7c4e3dSmrg  rm -f conftest.er1
22922c7c4e3dSmrg  cat conftest.err >&5
22932c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942c7c4e3dSmrg  (exit $ac_status); } &&
22952c7c4e3dSmrg	 { ac_try='test -z "$ac_c_werror_flag"
22962c7c4e3dSmrg			 || test ! -s conftest.err'
22972c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982c7c4e3dSmrg  (eval $ac_try) 2>&5
22992c7c4e3dSmrg  ac_status=$?
23002c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012c7c4e3dSmrg  (exit $ac_status); }; } &&
23022c7c4e3dSmrg	 { ac_try='test -s conftest.$ac_objext'
23032c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042c7c4e3dSmrg  (eval $ac_try) 2>&5
23052c7c4e3dSmrg  ac_status=$?
23062c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072c7c4e3dSmrg  (exit $ac_status); }; }; then
23082c7c4e3dSmrg  ac_compiler_gnu=yes
23092c7c4e3dSmrgelse
23102c7c4e3dSmrg  echo "$as_me: failed program was:" >&5
23112c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
23122c7c4e3dSmrg
23132c7c4e3dSmrgac_compiler_gnu=no
23142c7c4e3dSmrgfi
23152c7c4e3dSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23162c7c4e3dSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu
23172c7c4e3dSmrg
23182c7c4e3dSmrgfi
23192c7c4e3dSmrgecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
23202c7c4e3dSmrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
23212c7c4e3dSmrgGCC=`test $ac_compiler_gnu = yes && echo yes`
23222c7c4e3dSmrgac_test_CFLAGS=${CFLAGS+set}
23232c7c4e3dSmrgac_save_CFLAGS=$CFLAGS
23242c7c4e3dSmrgCFLAGS="-g"
23252c7c4e3dSmrgecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5
23262c7c4e3dSmrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
23272c7c4e3dSmrgif test "${ac_cv_prog_cc_g+set}" = set; then
23282c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23292c7c4e3dSmrgelse
23302c7c4e3dSmrg  cat >conftest.$ac_ext <<_ACEOF
23312c7c4e3dSmrg/* confdefs.h.  */
23322c7c4e3dSmrg_ACEOF
23332c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext
23342c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF
23352c7c4e3dSmrg/* end confdefs.h.  */
23362c7c4e3dSmrg
23372c7c4e3dSmrgint
23382c7c4e3dSmrgmain ()
23392c7c4e3dSmrg{
23402c7c4e3dSmrg
23412c7c4e3dSmrg  ;
23422c7c4e3dSmrg  return 0;
23432c7c4e3dSmrg}
23442c7c4e3dSmrg_ACEOF
23452c7c4e3dSmrgrm -f conftest.$ac_objext
23462c7c4e3dSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23472c7c4e3dSmrg  (eval $ac_compile) 2>conftest.er1
23482c7c4e3dSmrg  ac_status=$?
23492c7c4e3dSmrg  grep -v '^ *+' conftest.er1 >conftest.err
23502c7c4e3dSmrg  rm -f conftest.er1
23512c7c4e3dSmrg  cat conftest.err >&5
23522c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532c7c4e3dSmrg  (exit $ac_status); } &&
23542c7c4e3dSmrg	 { ac_try='test -z "$ac_c_werror_flag"
23552c7c4e3dSmrg			 || test ! -s conftest.err'
23562c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572c7c4e3dSmrg  (eval $ac_try) 2>&5
23582c7c4e3dSmrg  ac_status=$?
23592c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602c7c4e3dSmrg  (exit $ac_status); }; } &&
23612c7c4e3dSmrg	 { ac_try='test -s conftest.$ac_objext'
23622c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23632c7c4e3dSmrg  (eval $ac_try) 2>&5
23642c7c4e3dSmrg  ac_status=$?
23652c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662c7c4e3dSmrg  (exit $ac_status); }; }; then
23672c7c4e3dSmrg  ac_cv_prog_cc_g=yes
23682c7c4e3dSmrgelse
23692c7c4e3dSmrg  echo "$as_me: failed program was:" >&5
23702c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
23712c7c4e3dSmrg
23722c7c4e3dSmrgac_cv_prog_cc_g=no
23732c7c4e3dSmrgfi
23742c7c4e3dSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23752c7c4e3dSmrgfi
23762c7c4e3dSmrgecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
23772c7c4e3dSmrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
23782c7c4e3dSmrgif test "$ac_test_CFLAGS" = set; then
23792c7c4e3dSmrg  CFLAGS=$ac_save_CFLAGS
23802c7c4e3dSmrgelif test $ac_cv_prog_cc_g = yes; then
23812c7c4e3dSmrg  if test "$GCC" = yes; then
23822c7c4e3dSmrg    CFLAGS="-g -O2"
23832c7c4e3dSmrg  else
23842c7c4e3dSmrg    CFLAGS="-g"
23852c7c4e3dSmrg  fi
23862c7c4e3dSmrgelse
23872c7c4e3dSmrg  if test "$GCC" = yes; then
23882c7c4e3dSmrg    CFLAGS="-O2"
23892c7c4e3dSmrg  else
23902c7c4e3dSmrg    CFLAGS=
23912c7c4e3dSmrg  fi
23922c7c4e3dSmrgfi
23932c7c4e3dSmrgecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
23942c7c4e3dSmrgecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
23952c7c4e3dSmrgif test "${ac_cv_prog_cc_stdc+set}" = set; then
23962c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
23972c7c4e3dSmrgelse
23982c7c4e3dSmrg  ac_cv_prog_cc_stdc=no
23992c7c4e3dSmrgac_save_CC=$CC
24002c7c4e3dSmrgcat >conftest.$ac_ext <<_ACEOF
24012c7c4e3dSmrg/* confdefs.h.  */
24022c7c4e3dSmrg_ACEOF
24032c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext
24042c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF
24052c7c4e3dSmrg/* end confdefs.h.  */
24062c7c4e3dSmrg#include <stdarg.h>
24072c7c4e3dSmrg#include <stdio.h>
24082c7c4e3dSmrg#include <sys/types.h>
24092c7c4e3dSmrg#include <sys/stat.h>
24102c7c4e3dSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
24112c7c4e3dSmrgstruct buf { int x; };
24122c7c4e3dSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int);
24132c7c4e3dSmrgstatic char *e (p, i)
24142c7c4e3dSmrg     char **p;
24152c7c4e3dSmrg     int i;
24162c7c4e3dSmrg{
24172c7c4e3dSmrg  return p[i];
24182c7c4e3dSmrg}
24192c7c4e3dSmrgstatic char *f (char * (*g) (char **, int), char **p, ...)
24202c7c4e3dSmrg{
24212c7c4e3dSmrg  char *s;
24222c7c4e3dSmrg  va_list v;
24232c7c4e3dSmrg  va_start (v,p);
24242c7c4e3dSmrg  s = g (p, va_arg (v,int));
24252c7c4e3dSmrg  va_end (v);
24262c7c4e3dSmrg  return s;
24272c7c4e3dSmrg}
24282c7c4e3dSmrg
24292c7c4e3dSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
24302c7c4e3dSmrg   function prototypes and stuff, but not '\xHH' hex character constants.
24312c7c4e3dSmrg   These don't provoke an error unfortunately, instead are silently treated
24322c7c4e3dSmrg   as 'x'.  The following induces an error, until -std1 is added to get
24332c7c4e3dSmrg   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
24342c7c4e3dSmrg   array size at least.  It's necessary to write '\x00'==0 to get something
24352c7c4e3dSmrg   that's true only with -std1.  */
24362c7c4e3dSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1];
24372c7c4e3dSmrg
24382c7c4e3dSmrgint test (int i, double x);
24392c7c4e3dSmrgstruct s1 {int (*f) (int a);};
24402c7c4e3dSmrgstruct s2 {int (*f) (double a);};
24412c7c4e3dSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
24422c7c4e3dSmrgint argc;
24432c7c4e3dSmrgchar **argv;
24442c7c4e3dSmrgint
24452c7c4e3dSmrgmain ()
24462c7c4e3dSmrg{
24472c7c4e3dSmrgreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
24482c7c4e3dSmrg  ;
24492c7c4e3dSmrg  return 0;
24502c7c4e3dSmrg}
24512c7c4e3dSmrg_ACEOF
24522c7c4e3dSmrg# Don't try gcc -ansi; that turns off useful extensions and
24532c7c4e3dSmrg# breaks some systems' header files.
24542c7c4e3dSmrg# AIX			-qlanglvl=ansi
24552c7c4e3dSmrg# Ultrix and OSF/1	-std1
24562c7c4e3dSmrg# HP-UX 10.20 and later	-Ae
24572c7c4e3dSmrg# HP-UX older versions	-Aa -D_HPUX_SOURCE
24582c7c4e3dSmrg# SVR4			-Xc -D__EXTENSIONS__
24592c7c4e3dSmrgfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
24602c7c4e3dSmrgdo
24612c7c4e3dSmrg  CC="$ac_save_CC $ac_arg"
24622c7c4e3dSmrg  rm -f conftest.$ac_objext
24632c7c4e3dSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24642c7c4e3dSmrg  (eval $ac_compile) 2>conftest.er1
24652c7c4e3dSmrg  ac_status=$?
24662c7c4e3dSmrg  grep -v '^ *+' conftest.er1 >conftest.err
24672c7c4e3dSmrg  rm -f conftest.er1
24682c7c4e3dSmrg  cat conftest.err >&5
24692c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702c7c4e3dSmrg  (exit $ac_status); } &&
24712c7c4e3dSmrg	 { ac_try='test -z "$ac_c_werror_flag"
24722c7c4e3dSmrg			 || test ! -s conftest.err'
24732c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24742c7c4e3dSmrg  (eval $ac_try) 2>&5
24752c7c4e3dSmrg  ac_status=$?
24762c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772c7c4e3dSmrg  (exit $ac_status); }; } &&
24782c7c4e3dSmrg	 { ac_try='test -s conftest.$ac_objext'
24792c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24802c7c4e3dSmrg  (eval $ac_try) 2>&5
24812c7c4e3dSmrg  ac_status=$?
24822c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832c7c4e3dSmrg  (exit $ac_status); }; }; then
24842c7c4e3dSmrg  ac_cv_prog_cc_stdc=$ac_arg
24852c7c4e3dSmrgbreak
24862c7c4e3dSmrgelse
24872c7c4e3dSmrg  echo "$as_me: failed program was:" >&5
24882c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
24892c7c4e3dSmrg
24902c7c4e3dSmrgfi
24912c7c4e3dSmrgrm -f conftest.err conftest.$ac_objext
24922c7c4e3dSmrgdone
24932c7c4e3dSmrgrm -f conftest.$ac_ext conftest.$ac_objext
24942c7c4e3dSmrgCC=$ac_save_CC
24952c7c4e3dSmrg
24962c7c4e3dSmrgfi
24972c7c4e3dSmrg
24982c7c4e3dSmrgcase "x$ac_cv_prog_cc_stdc" in
24992c7c4e3dSmrg  x|xno)
25002c7c4e3dSmrg    echo "$as_me:$LINENO: result: none needed" >&5
25012c7c4e3dSmrgecho "${ECHO_T}none needed" >&6 ;;
25022c7c4e3dSmrg  *)
25032c7c4e3dSmrg    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
25042c7c4e3dSmrgecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
25052c7c4e3dSmrg    CC="$CC $ac_cv_prog_cc_stdc" ;;
25062c7c4e3dSmrgesac
25072c7c4e3dSmrg
25082c7c4e3dSmrg# Some people use a C++ compiler to compile C.  Since we use `exit',
25092c7c4e3dSmrg# in C++ we need to declare it.  In case someone uses the same compiler
25102c7c4e3dSmrg# for both compiling C and C++ we need to have the C++ compiler decide
25112c7c4e3dSmrg# the declaration of exit, since it's the most demanding environment.
25122c7c4e3dSmrgcat >conftest.$ac_ext <<_ACEOF
25132c7c4e3dSmrg#ifndef __cplusplus
25142c7c4e3dSmrg  choke me
25152c7c4e3dSmrg#endif
25162c7c4e3dSmrg_ACEOF
25172c7c4e3dSmrgrm -f conftest.$ac_objext
25182c7c4e3dSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25192c7c4e3dSmrg  (eval $ac_compile) 2>conftest.er1
25202c7c4e3dSmrg  ac_status=$?
25212c7c4e3dSmrg  grep -v '^ *+' conftest.er1 >conftest.err
25222c7c4e3dSmrg  rm -f conftest.er1
25232c7c4e3dSmrg  cat conftest.err >&5
25242c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252c7c4e3dSmrg  (exit $ac_status); } &&
25262c7c4e3dSmrg	 { ac_try='test -z "$ac_c_werror_flag"
25272c7c4e3dSmrg			 || test ! -s conftest.err'
25282c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25292c7c4e3dSmrg  (eval $ac_try) 2>&5
25302c7c4e3dSmrg  ac_status=$?
25312c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322c7c4e3dSmrg  (exit $ac_status); }; } &&
25332c7c4e3dSmrg	 { ac_try='test -s conftest.$ac_objext'
25342c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25352c7c4e3dSmrg  (eval $ac_try) 2>&5
25362c7c4e3dSmrg  ac_status=$?
25372c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382c7c4e3dSmrg  (exit $ac_status); }; }; then
25392c7c4e3dSmrg  for ac_declaration in \
25402c7c4e3dSmrg   '' \
25412c7c4e3dSmrg   'extern "C" void std::exit (int) throw (); using std::exit;' \
25422c7c4e3dSmrg   'extern "C" void std::exit (int); using std::exit;' \
25432c7c4e3dSmrg   'extern "C" void exit (int) throw ();' \
25442c7c4e3dSmrg   'extern "C" void exit (int);' \
25452c7c4e3dSmrg   'void exit (int);'
25462c7c4e3dSmrgdo
25472c7c4e3dSmrg  cat >conftest.$ac_ext <<_ACEOF
25482c7c4e3dSmrg/* confdefs.h.  */
25492c7c4e3dSmrg_ACEOF
25502c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext
25512c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF
25522c7c4e3dSmrg/* end confdefs.h.  */
25532c7c4e3dSmrg$ac_declaration
25542c7c4e3dSmrg#include <stdlib.h>
25552c7c4e3dSmrgint
25562c7c4e3dSmrgmain ()
25572c7c4e3dSmrg{
25582c7c4e3dSmrgexit (42);
25592c7c4e3dSmrg  ;
25602c7c4e3dSmrg  return 0;
25612c7c4e3dSmrg}
25622c7c4e3dSmrg_ACEOF
25632c7c4e3dSmrgrm -f conftest.$ac_objext
25642c7c4e3dSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25652c7c4e3dSmrg  (eval $ac_compile) 2>conftest.er1
25662c7c4e3dSmrg  ac_status=$?
25672c7c4e3dSmrg  grep -v '^ *+' conftest.er1 >conftest.err
25682c7c4e3dSmrg  rm -f conftest.er1
25692c7c4e3dSmrg  cat conftest.err >&5
25702c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712c7c4e3dSmrg  (exit $ac_status); } &&
25722c7c4e3dSmrg	 { ac_try='test -z "$ac_c_werror_flag"
25732c7c4e3dSmrg			 || test ! -s conftest.err'
25742c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25752c7c4e3dSmrg  (eval $ac_try) 2>&5
25762c7c4e3dSmrg  ac_status=$?
25772c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782c7c4e3dSmrg  (exit $ac_status); }; } &&
25792c7c4e3dSmrg	 { ac_try='test -s conftest.$ac_objext'
25802c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25812c7c4e3dSmrg  (eval $ac_try) 2>&5
25822c7c4e3dSmrg  ac_status=$?
25832c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842c7c4e3dSmrg  (exit $ac_status); }; }; then
25852c7c4e3dSmrg  :
25862c7c4e3dSmrgelse
25872c7c4e3dSmrg  echo "$as_me: failed program was:" >&5
25882c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
25892c7c4e3dSmrg
25902c7c4e3dSmrgcontinue
25912c7c4e3dSmrgfi
25922c7c4e3dSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25932c7c4e3dSmrg  cat >conftest.$ac_ext <<_ACEOF
25942c7c4e3dSmrg/* confdefs.h.  */
25952c7c4e3dSmrg_ACEOF
25962c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext
25972c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF
25982c7c4e3dSmrg/* end confdefs.h.  */
25992c7c4e3dSmrg$ac_declaration
26002c7c4e3dSmrgint
26012c7c4e3dSmrgmain ()
26022c7c4e3dSmrg{
26032c7c4e3dSmrgexit (42);
26042c7c4e3dSmrg  ;
26052c7c4e3dSmrg  return 0;
26062c7c4e3dSmrg}
26072c7c4e3dSmrg_ACEOF
26082c7c4e3dSmrgrm -f conftest.$ac_objext
26092c7c4e3dSmrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26102c7c4e3dSmrg  (eval $ac_compile) 2>conftest.er1
26112c7c4e3dSmrg  ac_status=$?
26122c7c4e3dSmrg  grep -v '^ *+' conftest.er1 >conftest.err
26132c7c4e3dSmrg  rm -f conftest.er1
26142c7c4e3dSmrg  cat conftest.err >&5
26152c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162c7c4e3dSmrg  (exit $ac_status); } &&
26172c7c4e3dSmrg	 { ac_try='test -z "$ac_c_werror_flag"
26182c7c4e3dSmrg			 || test ! -s conftest.err'
26192c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26202c7c4e3dSmrg  (eval $ac_try) 2>&5
26212c7c4e3dSmrg  ac_status=$?
26222c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232c7c4e3dSmrg  (exit $ac_status); }; } &&
26242c7c4e3dSmrg	 { ac_try='test -s conftest.$ac_objext'
26252c7c4e3dSmrg  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26262c7c4e3dSmrg  (eval $ac_try) 2>&5
26272c7c4e3dSmrg  ac_status=$?
26282c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292c7c4e3dSmrg  (exit $ac_status); }; }; then
26302c7c4e3dSmrg  break
26312c7c4e3dSmrgelse
26322c7c4e3dSmrg  echo "$as_me: failed program was:" >&5
26332c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
26342c7c4e3dSmrg
26352c7c4e3dSmrgfi
26362c7c4e3dSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26372c7c4e3dSmrgdone
26382c7c4e3dSmrgrm -f conftest*
26392c7c4e3dSmrgif test -n "$ac_declaration"; then
26402c7c4e3dSmrg  echo '#ifdef __cplusplus' >>confdefs.h
26412c7c4e3dSmrg  echo $ac_declaration      >>confdefs.h
26422c7c4e3dSmrg  echo '#endif'             >>confdefs.h
26432c7c4e3dSmrgfi
26442c7c4e3dSmrg
26452c7c4e3dSmrgelse
26462c7c4e3dSmrg  echo "$as_me: failed program was:" >&5
26472c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5
26482c7c4e3dSmrg
26492c7c4e3dSmrgfi
26502c7c4e3dSmrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26512c7c4e3dSmrgac_ext=c
26522c7c4e3dSmrgac_cpp='$CPP $CPPFLAGS'
26532c7c4e3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26542c7c4e3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552c7c4e3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu
26562c7c4e3dSmrgDEPDIR="${am__leading_dot}deps"
26572c7c4e3dSmrg
26582c7c4e3dSmrg          ac_config_commands="$ac_config_commands depfiles"
26592c7c4e3dSmrg
26602c7c4e3dSmrg
26612c7c4e3dSmrgam_make=${MAKE-make}
26622c7c4e3dSmrgcat > confinc << 'END'
26632c7c4e3dSmrgam__doit:
26642c7c4e3dSmrg	@echo done
26652c7c4e3dSmrg.PHONY: am__doit
26662c7c4e3dSmrgEND
26672c7c4e3dSmrg# If we don't find an include directive, just comment out the code.
26682c7c4e3dSmrgecho "$as_me:$LINENO: checking for style of include used by $am_make" >&5
26692c7c4e3dSmrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
26702c7c4e3dSmrgam__include="#"
26712c7c4e3dSmrgam__quote=
26722c7c4e3dSmrg_am_result=none
26732c7c4e3dSmrg# First try GNU make style include.
26742c7c4e3dSmrgecho "include confinc" > confmf
26752c7c4e3dSmrg# We grep out `Entering directory' and `Leaving directory'
26762c7c4e3dSmrg# messages which can occur if `w' ends up in MAKEFLAGS.
26772c7c4e3dSmrg# In particular we don't look at `^make:' because GNU make might
26782c7c4e3dSmrg# be invoked under some other name (usually "gmake"), in which
26792c7c4e3dSmrg# case it prints its new name instead of `make'.
26802c7c4e3dSmrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
26812c7c4e3dSmrg   am__include=include
26822c7c4e3dSmrg   am__quote=
26832c7c4e3dSmrg   _am_result=GNU
26842c7c4e3dSmrgfi
26852c7c4e3dSmrg# Now try BSD make style include.
26862c7c4e3dSmrgif test "$am__include" = "#"; then
26872c7c4e3dSmrg   echo '.include "confinc"' > confmf
26882c7c4e3dSmrg   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
26892c7c4e3dSmrg      am__include=.include
26902c7c4e3dSmrg      am__quote="\""
26912c7c4e3dSmrg      _am_result=BSD
26922c7c4e3dSmrg   fi
26932c7c4e3dSmrgfi
26942c7c4e3dSmrg
26952c7c4e3dSmrg
26962c7c4e3dSmrgecho "$as_me:$LINENO: result: $_am_result" >&5
26972c7c4e3dSmrgecho "${ECHO_T}$_am_result" >&6
26982c7c4e3dSmrgrm -f confinc confmf
26992c7c4e3dSmrg
27002c7c4e3dSmrg# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
27012c7c4e3dSmrgif test "${enable_dependency_tracking+set}" = set; then
27022c7c4e3dSmrg  enableval="$enable_dependency_tracking"
27032c7c4e3dSmrg
27042c7c4e3dSmrgfi;
27052c7c4e3dSmrgif test "x$enable_dependency_tracking" != xno; then
27062c7c4e3dSmrg  am_depcomp="$ac_aux_dir/depcomp"
27072c7c4e3dSmrg  AMDEPBACKSLASH='\'
27082c7c4e3dSmrgfi
27092c7c4e3dSmrg
27102c7c4e3dSmrg
27112c7c4e3dSmrgif test "x$enable_dependency_tracking" != xno; then
27122c7c4e3dSmrg  AMDEP_TRUE=
27132c7c4e3dSmrg  AMDEP_FALSE='#'
27142c7c4e3dSmrgelse
27152c7c4e3dSmrg  AMDEP_TRUE='#'
27162c7c4e3dSmrg  AMDEP_FALSE=
27172c7c4e3dSmrgfi
27182c7c4e3dSmrg
27192c7c4e3dSmrg
27202c7c4e3dSmrg
27212c7c4e3dSmrg
27222c7c4e3dSmrgdepcc="$CC"   am_compiler_list=
27232c7c4e3dSmrg
27242c7c4e3dSmrgecho "$as_me:$LINENO: checking dependency style of $depcc" >&5
27252c7c4e3dSmrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
27262c7c4e3dSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
27272c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
27282c7c4e3dSmrgelse
27292c7c4e3dSmrg  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
27302c7c4e3dSmrg  # We make a subdir and do the tests there.  Otherwise we can end up
27312c7c4e3dSmrg  # making bogus files that we don't know about and never remove.  For
27322c7c4e3dSmrg  # instance it was reported that on HP-UX the gcc test will end up
27332c7c4e3dSmrg  # making a dummy file named `D' -- because `-MD' means `put the output
27342c7c4e3dSmrg  # in D'.
27352c7c4e3dSmrg  mkdir conftest.dir
27362c7c4e3dSmrg  # Copy depcomp to subdir because otherwise we won't find it if we're
27372c7c4e3dSmrg  # using a relative directory.
27382c7c4e3dSmrg  cp "$am_depcomp" conftest.dir
27392c7c4e3dSmrg  cd conftest.dir
27402c7c4e3dSmrg  # We will build objects and dependencies in a subdirectory because
27412c7c4e3dSmrg  # it helps to detect inapplicable dependency modes.  For instance
27422c7c4e3dSmrg  # both Tru64's cc and ICC support -MD to output dependencies as a
27432c7c4e3dSmrg  # side effect of compilation, but ICC will put the dependencies in
27442c7c4e3dSmrg  # the current directory while Tru64 will put them in the object
27452c7c4e3dSmrg  # directory.
27462c7c4e3dSmrg  mkdir sub
27472c7c4e3dSmrg
27482c7c4e3dSmrg  am_cv_CC_dependencies_compiler_type=none
27492c7c4e3dSmrg  if test "$am_compiler_list" = ""; then
27502c7c4e3dSmrg     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
27512c7c4e3dSmrg  fi
27522c7c4e3dSmrg  for depmode in $am_compiler_list; do
27532c7c4e3dSmrg    # Setup a source with many dependencies, because some compilers
27542c7c4e3dSmrg    # like to wrap large dependency lists on column 80 (with \), and
27552c7c4e3dSmrg    # we should not choose a depcomp mode which is confused by this.
27562c7c4e3dSmrg    #
27572c7c4e3dSmrg    # We need to recreate these files for each test, as the compiler may
27582c7c4e3dSmrg    # overwrite some of them when testing with obscure command lines.
27592c7c4e3dSmrg    # This happens at least with the AIX C compiler.
27602c7c4e3dSmrg    : > sub/conftest.c
27612c7c4e3dSmrg    for i in 1 2 3 4 5 6; do
27622c7c4e3dSmrg      echo '#include "conftst'$i'.h"' >> sub/conftest.c
27632c7c4e3dSmrg      : > sub/conftst$i.h
27642c7c4e3dSmrg    done
27652c7c4e3dSmrg    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
27662c7c4e3dSmrg
27672c7c4e3dSmrg    case $depmode in
27682c7c4e3dSmrg    nosideeffect)
27692c7c4e3dSmrg      # after this tag, mechanisms are not by side-effect, so they'll
27702c7c4e3dSmrg      # only be used when explicitly requested
27712c7c4e3dSmrg      if test "x$enable_dependency_tracking" = xyes; then
27722c7c4e3dSmrg	continue
27732c7c4e3dSmrg      else
27742c7c4e3dSmrg	break
27752c7c4e3dSmrg      fi
27762c7c4e3dSmrg      ;;
27772c7c4e3dSmrg    none) break ;;
27782c7c4e3dSmrg    esac
27792c7c4e3dSmrg    # We check with `-c' and `-o' for the sake of the "dashmstdout"
27802c7c4e3dSmrg    # mode.  It turns out that the SunPro C++ compiler does not properly
27812c7c4e3dSmrg    # handle `-M -o', and we need to detect this.
27822c7c4e3dSmrg    if depmode=$depmode \
27832c7c4e3dSmrg       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
27842c7c4e3dSmrg       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
27852c7c4e3dSmrg       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
27862c7c4e3dSmrg         >/dev/null 2>conftest.err &&
27872c7c4e3dSmrg       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
27882c7c4e3dSmrg       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
27892c7c4e3dSmrg       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
27902c7c4e3dSmrg      # icc doesn't choke on unknown options, it will just issue warnings
27912c7c4e3dSmrg      # (even with -Werror).  So we grep stderr for any message
27922c7c4e3dSmrg      # that says an option was ignored.
27932c7c4e3dSmrg      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
27942c7c4e3dSmrg        am_cv_CC_dependencies_compiler_type=$depmode
27952c7c4e3dSmrg        break
27962c7c4e3dSmrg      fi
27972c7c4e3dSmrg    fi
27982c7c4e3dSmrg  done
27992c7c4e3dSmrg
28002c7c4e3dSmrg  cd ..
28012c7c4e3dSmrg  rm -rf conftest.dir
28022c7c4e3dSmrgelse
28032c7c4e3dSmrg  am_cv_CC_dependencies_compiler_type=none
28042c7c4e3dSmrgfi
28052c7c4e3dSmrg
28062c7c4e3dSmrgfi
28072c7c4e3dSmrgecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
28082c7c4e3dSmrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
28092c7c4e3dSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
28102c7c4e3dSmrg
28112c7c4e3dSmrg
28122c7c4e3dSmrg
28132c7c4e3dSmrgif
28142c7c4e3dSmrg  test "x$enable_dependency_tracking" != xno \
28152c7c4e3dSmrg  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
28162c7c4e3dSmrg  am__fastdepCC_TRUE=
28172c7c4e3dSmrg  am__fastdepCC_FALSE='#'
28182c7c4e3dSmrgelse
28192c7c4e3dSmrg  am__fastdepCC_TRUE='#'
28202c7c4e3dSmrg  am__fastdepCC_FALSE=
28212c7c4e3dSmrgfi
28222c7c4e3dSmrg
28232c7c4e3dSmrg
28242c7c4e3dSmrg# Find a good install program.  We prefer a C program (faster),
28252c7c4e3dSmrg# so one script is as good as another.  But avoid the broken or
28262c7c4e3dSmrg# incompatible versions:
28272c7c4e3dSmrg# SysV /etc/install, /usr/sbin/install
28282c7c4e3dSmrg# SunOS /usr/etc/install
28292c7c4e3dSmrg# IRIX /sbin/install
28302c7c4e3dSmrg# AIX /bin/install
28312c7c4e3dSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs
28322c7c4e3dSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
28332c7c4e3dSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
28342c7c4e3dSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
28352c7c4e3dSmrg# OS/2's system install, which has a completely different semantic
28362c7c4e3dSmrg# ./install, which can be erroneously created by make from ./install.sh.
28372c7c4e3dSmrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5
28382c7c4e3dSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
28392c7c4e3dSmrgif test -z "$INSTALL"; then
28402c7c4e3dSmrgif test "${ac_cv_path_install+set}" = set; then
28412c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
28422c7c4e3dSmrgelse
28432c7c4e3dSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28442c7c4e3dSmrgfor as_dir in $PATH
28452c7c4e3dSmrgdo
28462c7c4e3dSmrg  IFS=$as_save_IFS
28472c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
28482c7c4e3dSmrg  # Account for people who put trailing slashes in PATH elements.
28492c7c4e3dSmrgcase $as_dir/ in
28502c7c4e3dSmrg  ./ | .// | /cC/* | \
28512c7c4e3dSmrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
28522c7c4e3dSmrg  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
28532c7c4e3dSmrg  /usr/ucb/* ) ;;
28542c7c4e3dSmrg  *)
28552c7c4e3dSmrg    # OSF1 and SCO ODT 3.0 have their own names for install.
28562c7c4e3dSmrg    # Don't use installbsd from OSF since it installs stuff as root
28572c7c4e3dSmrg    # by default.
28582c7c4e3dSmrg    for ac_prog in ginstall scoinst install; do
28592c7c4e3dSmrg      for ac_exec_ext in '' $ac_executable_extensions; do
28602c7c4e3dSmrg	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
28612c7c4e3dSmrg	  if test $ac_prog = install &&
28622c7c4e3dSmrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
28632c7c4e3dSmrg	    # AIX install.  It has an incompatible calling convention.
28642c7c4e3dSmrg	    :
28652c7c4e3dSmrg	  elif test $ac_prog = install &&
28662c7c4e3dSmrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
28672c7c4e3dSmrg	    # program-specific install script used by HP pwplus--don't use.
28682c7c4e3dSmrg	    :
28692c7c4e3dSmrg	  else
28702c7c4e3dSmrg	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
28712c7c4e3dSmrg	    break 3
28722c7c4e3dSmrg	  fi
28732c7c4e3dSmrg	fi
28742c7c4e3dSmrg      done
28752c7c4e3dSmrg    done
28762c7c4e3dSmrg    ;;
28772c7c4e3dSmrgesac
28782c7c4e3dSmrgdone
28792c7c4e3dSmrg
28802c7c4e3dSmrg
28812c7c4e3dSmrgfi
28822c7c4e3dSmrg  if test "${ac_cv_path_install+set}" = set; then
28832c7c4e3dSmrg    INSTALL=$ac_cv_path_install
28842c7c4e3dSmrg  else
28852c7c4e3dSmrg    # As a last resort, use the slow shell script.  We don't cache a
28862c7c4e3dSmrg    # path for INSTALL within a source directory, because that will
28872c7c4e3dSmrg    # break other packages using the cache if that directory is
28882c7c4e3dSmrg    # removed, or if the path is relative.
28892c7c4e3dSmrg    INSTALL=$ac_install_sh
28902c7c4e3dSmrg  fi
28912c7c4e3dSmrgfi
28922c7c4e3dSmrgecho "$as_me:$LINENO: result: $INSTALL" >&5
28932c7c4e3dSmrgecho "${ECHO_T}$INSTALL" >&6
28942c7c4e3dSmrg
28952c7c4e3dSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
28962c7c4e3dSmrg# It thinks the first close brace ends the variable substitution.
28972c7c4e3dSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
28982c7c4e3dSmrg
28992c7c4e3dSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
29002c7c4e3dSmrg
29012c7c4e3dSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
29022c7c4e3dSmrg
29032c7c4e3dSmrg
29042c7c4e3dSmrg# Checks for pkg-config packages
29052c7c4e3dSmrg
29062c7c4e3dSmrg
29072c7c4e3dSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29082c7c4e3dSmrg	if test -n "$ac_tool_prefix"; then
29092c7c4e3dSmrg  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29102c7c4e3dSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29112c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
29122c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29132c7c4e3dSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29142c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
29152c7c4e3dSmrgelse
29162c7c4e3dSmrg  case $PKG_CONFIG in
29172c7c4e3dSmrg  [\\/]* | ?:[\\/]*)
29182c7c4e3dSmrg  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29192c7c4e3dSmrg  ;;
29202c7c4e3dSmrg  *)
29212c7c4e3dSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29222c7c4e3dSmrgfor as_dir in $PATH
29232c7c4e3dSmrgdo
29242c7c4e3dSmrg  IFS=$as_save_IFS
29252c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
29262c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
29272c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29282c7c4e3dSmrg    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29292c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29302c7c4e3dSmrg    break 2
29312c7c4e3dSmrg  fi
29322c7c4e3dSmrgdone
29332c7c4e3dSmrgdone
29342c7c4e3dSmrg
29352c7c4e3dSmrg  ;;
29362c7c4e3dSmrgesac
29372c7c4e3dSmrgfi
29382c7c4e3dSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG
29392c7c4e3dSmrg
29402c7c4e3dSmrgif test -n "$PKG_CONFIG"; then
29412c7c4e3dSmrg  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29422c7c4e3dSmrgecho "${ECHO_T}$PKG_CONFIG" >&6
29432c7c4e3dSmrgelse
29442c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
29452c7c4e3dSmrgecho "${ECHO_T}no" >&6
29462c7c4e3dSmrgfi
29472c7c4e3dSmrg
29482c7c4e3dSmrgfi
29492c7c4e3dSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then
29502c7c4e3dSmrg  ac_pt_PKG_CONFIG=$PKG_CONFIG
29512c7c4e3dSmrg  # Extract the first word of "pkg-config", so it can be a program name with args.
29522c7c4e3dSmrgset dummy pkg-config; ac_word=$2
29532c7c4e3dSmrgecho "$as_me:$LINENO: checking for $ac_word" >&5
29542c7c4e3dSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29552c7c4e3dSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29562c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
29572c7c4e3dSmrgelse
29582c7c4e3dSmrg  case $ac_pt_PKG_CONFIG in
29592c7c4e3dSmrg  [\\/]* | ?:[\\/]*)
29602c7c4e3dSmrg  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29612c7c4e3dSmrg  ;;
29622c7c4e3dSmrg  *)
29632c7c4e3dSmrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29642c7c4e3dSmrgfor as_dir in $PATH
29652c7c4e3dSmrgdo
29662c7c4e3dSmrg  IFS=$as_save_IFS
29672c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
29682c7c4e3dSmrg  for ac_exec_ext in '' $ac_executable_extensions; do
29692c7c4e3dSmrg  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29702c7c4e3dSmrg    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29712c7c4e3dSmrg    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29722c7c4e3dSmrg    break 2
29732c7c4e3dSmrg  fi
29742c7c4e3dSmrgdone
29752c7c4e3dSmrgdone
29762c7c4e3dSmrg
29772c7c4e3dSmrg  ;;
29782c7c4e3dSmrgesac
29792c7c4e3dSmrgfi
29802c7c4e3dSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29812c7c4e3dSmrg
29822c7c4e3dSmrgif test -n "$ac_pt_PKG_CONFIG"; then
29832c7c4e3dSmrg  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29842c7c4e3dSmrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29852c7c4e3dSmrgelse
29862c7c4e3dSmrg  echo "$as_me:$LINENO: result: no" >&5
29872c7c4e3dSmrgecho "${ECHO_T}no" >&6
29882c7c4e3dSmrgfi
29892c7c4e3dSmrg
29902c7c4e3dSmrg  PKG_CONFIG=$ac_pt_PKG_CONFIG
29912c7c4e3dSmrgelse
29922c7c4e3dSmrg  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29932c7c4e3dSmrgfi
29942c7c4e3dSmrg
29952c7c4e3dSmrgfi
29962c7c4e3dSmrgif test -n "$PKG_CONFIG"; then
29972c7c4e3dSmrg	_pkg_min_version=0.9.0
29982c7c4e3dSmrg	echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29992c7c4e3dSmrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30002c7c4e3dSmrg	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30012c7c4e3dSmrg		echo "$as_me:$LINENO: result: yes" >&5
30022c7c4e3dSmrgecho "${ECHO_T}yes" >&6
30032c7c4e3dSmrg	else
30042c7c4e3dSmrg		echo "$as_me:$LINENO: result: no" >&5
30052c7c4e3dSmrgecho "${ECHO_T}no" >&6
30062c7c4e3dSmrg		PKG_CONFIG=""
30072c7c4e3dSmrg	fi
30082c7c4e3dSmrg
30092c7c4e3dSmrgfi
30102c7c4e3dSmrg
30112c7c4e3dSmrgpkg_failed=no
30122c7c4e3dSmrgecho "$as_me:$LINENO: checking for XCMSDB" >&5
30132c7c4e3dSmrgecho $ECHO_N "checking for XCMSDB... $ECHO_C" >&6
30142c7c4e3dSmrg
30152c7c4e3dSmrgif test -n "$PKG_CONFIG"; then
30162c7c4e3dSmrg    if test -n "$XCMSDB_CFLAGS"; then
30172c7c4e3dSmrg        pkg_cv_XCMSDB_CFLAGS="$XCMSDB_CFLAGS"
30182c7c4e3dSmrg    else
30192c7c4e3dSmrg        if test -n "$PKG_CONFIG" && \
30202c7c4e3dSmrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
30212c7c4e3dSmrg  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
30222c7c4e3dSmrg  ac_status=$?
30232c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242c7c4e3dSmrg  (exit $ac_status); }; then
30252c7c4e3dSmrg  pkg_cv_XCMSDB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
30262c7c4e3dSmrgelse
30272c7c4e3dSmrg  pkg_failed=yes
30282c7c4e3dSmrgfi
30292c7c4e3dSmrg    fi
30302c7c4e3dSmrgelse
30312c7c4e3dSmrg	pkg_failed=untried
30322c7c4e3dSmrgfi
30332c7c4e3dSmrgif test -n "$PKG_CONFIG"; then
30342c7c4e3dSmrg    if test -n "$XCMSDB_LIBS"; then
30352c7c4e3dSmrg        pkg_cv_XCMSDB_LIBS="$XCMSDB_LIBS"
30362c7c4e3dSmrg    else
30372c7c4e3dSmrg        if test -n "$PKG_CONFIG" && \
30382c7c4e3dSmrg    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
30392c7c4e3dSmrg  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
30402c7c4e3dSmrg  ac_status=$?
30412c7c4e3dSmrg  echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422c7c4e3dSmrg  (exit $ac_status); }; then
30432c7c4e3dSmrg  pkg_cv_XCMSDB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
30442c7c4e3dSmrgelse
30452c7c4e3dSmrg  pkg_failed=yes
30462c7c4e3dSmrgfi
30472c7c4e3dSmrg    fi
30482c7c4e3dSmrgelse
30492c7c4e3dSmrg	pkg_failed=untried
30502c7c4e3dSmrgfi
30512c7c4e3dSmrg
30522c7c4e3dSmrg
30532c7c4e3dSmrg
30542c7c4e3dSmrgif test $pkg_failed = yes; then
30552c7c4e3dSmrg
30562c7c4e3dSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30572c7c4e3dSmrg        _pkg_short_errors_supported=yes
30582c7c4e3dSmrgelse
30592c7c4e3dSmrg        _pkg_short_errors_supported=no
30602c7c4e3dSmrgfi
30612c7c4e3dSmrg        if test $_pkg_short_errors_supported = yes; then
30622c7c4e3dSmrg	        XCMSDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
30632c7c4e3dSmrg        else
30642c7c4e3dSmrg	        XCMSDB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
30652c7c4e3dSmrg        fi
30662c7c4e3dSmrg	# Put the nasty error message in config.log where it belongs
30672c7c4e3dSmrg	echo "$XCMSDB_PKG_ERRORS" >&5
30682c7c4e3dSmrg
30692c7c4e3dSmrg	{ { echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
30702c7c4e3dSmrg
30712c7c4e3dSmrg$XCMSDB_PKG_ERRORS
30722c7c4e3dSmrg
30732c7c4e3dSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
30742c7c4e3dSmrginstalled software in a non-standard prefix.
30752c7c4e3dSmrg
30762c7c4e3dSmrgAlternatively, you may set the environment variables XCMSDB_CFLAGS
30772c7c4e3dSmrgand XCMSDB_LIBS to avoid the need to call pkg-config.
30782c7c4e3dSmrgSee the pkg-config man page for more details.
30792c7c4e3dSmrg" >&5
30802c7c4e3dSmrgecho "$as_me: error: Package requirements (x11) were not met:
30812c7c4e3dSmrg
30822c7c4e3dSmrg$XCMSDB_PKG_ERRORS
30832c7c4e3dSmrg
30842c7c4e3dSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you
30852c7c4e3dSmrginstalled software in a non-standard prefix.
30862c7c4e3dSmrg
30872c7c4e3dSmrgAlternatively, you may set the environment variables XCMSDB_CFLAGS
30882c7c4e3dSmrgand XCMSDB_LIBS to avoid the need to call pkg-config.
30892c7c4e3dSmrgSee the pkg-config man page for more details.
30902c7c4e3dSmrg" >&2;}
30912c7c4e3dSmrg   { (exit 1); exit 1; }; }
30922c7c4e3dSmrgelif test $pkg_failed = untried; then
30932c7c4e3dSmrg	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
30942c7c4e3dSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
30952c7c4e3dSmrgpath to pkg-config.
30962c7c4e3dSmrg
30972c7c4e3dSmrgAlternatively, you may set the environment variables XCMSDB_CFLAGS
30982c7c4e3dSmrgand XCMSDB_LIBS to avoid the need to call pkg-config.
30992c7c4e3dSmrgSee the pkg-config man page for more details.
31002c7c4e3dSmrg
31012c7c4e3dSmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31022c7c4e3dSmrgSee \`config.log' for more details." >&5
31032c7c4e3dSmrgecho "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
31042c7c4e3dSmrgis in your PATH or set the PKG_CONFIG environment variable to the full
31052c7c4e3dSmrgpath to pkg-config.
31062c7c4e3dSmrg
31072c7c4e3dSmrgAlternatively, you may set the environment variables XCMSDB_CFLAGS
31082c7c4e3dSmrgand XCMSDB_LIBS to avoid the need to call pkg-config.
31092c7c4e3dSmrgSee the pkg-config man page for more details.
31102c7c4e3dSmrg
31112c7c4e3dSmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31122c7c4e3dSmrgSee \`config.log' for more details." >&2;}
31132c7c4e3dSmrg   { (exit 1); exit 1; }; }
31142c7c4e3dSmrgelse
31152c7c4e3dSmrg	XCMSDB_CFLAGS=$pkg_cv_XCMSDB_CFLAGS
31162c7c4e3dSmrg	XCMSDB_LIBS=$pkg_cv_XCMSDB_LIBS
31172c7c4e3dSmrg        echo "$as_me:$LINENO: result: yes" >&5
31182c7c4e3dSmrgecho "${ECHO_T}yes" >&6
31192c7c4e3dSmrg	:
31202c7c4e3dSmrgfi
31212c7c4e3dSmrg
31222c7c4e3dSmrg
31232c7c4e3dSmrg
31242c7c4e3dSmrg# Make sure we can run config.sub.
31252c7c4e3dSmrg$ac_config_sub sun4 >/dev/null 2>&1 ||
31262c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
31272c7c4e3dSmrgecho "$as_me: error: cannot run $ac_config_sub" >&2;}
31282c7c4e3dSmrg   { (exit 1); exit 1; }; }
31292c7c4e3dSmrg
31302c7c4e3dSmrgecho "$as_me:$LINENO: checking build system type" >&5
31312c7c4e3dSmrgecho $ECHO_N "checking build system type... $ECHO_C" >&6
31322c7c4e3dSmrgif test "${ac_cv_build+set}" = set; then
31332c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
31342c7c4e3dSmrgelse
31352c7c4e3dSmrg  ac_cv_build_alias=$build_alias
31362c7c4e3dSmrgtest -z "$ac_cv_build_alias" &&
31372c7c4e3dSmrg  ac_cv_build_alias=`$ac_config_guess`
31382c7c4e3dSmrgtest -z "$ac_cv_build_alias" &&
31392c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
31402c7c4e3dSmrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
31412c7c4e3dSmrg   { (exit 1); exit 1; }; }
31422c7c4e3dSmrgac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
31432c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
31442c7c4e3dSmrgecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
31452c7c4e3dSmrg   { (exit 1); exit 1; }; }
31462c7c4e3dSmrg
31472c7c4e3dSmrgfi
31482c7c4e3dSmrgecho "$as_me:$LINENO: result: $ac_cv_build" >&5
31492c7c4e3dSmrgecho "${ECHO_T}$ac_cv_build" >&6
31502c7c4e3dSmrgbuild=$ac_cv_build
31512c7c4e3dSmrgbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
31522c7c4e3dSmrgbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
31532c7c4e3dSmrgbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
31542c7c4e3dSmrg
31552c7c4e3dSmrg
31562c7c4e3dSmrgecho "$as_me:$LINENO: checking host system type" >&5
31572c7c4e3dSmrgecho $ECHO_N "checking host system type... $ECHO_C" >&6
31582c7c4e3dSmrgif test "${ac_cv_host+set}" = set; then
31592c7c4e3dSmrg  echo $ECHO_N "(cached) $ECHO_C" >&6
31602c7c4e3dSmrgelse
31612c7c4e3dSmrg  ac_cv_host_alias=$host_alias
31622c7c4e3dSmrgtest -z "$ac_cv_host_alias" &&
31632c7c4e3dSmrg  ac_cv_host_alias=$ac_cv_build_alias
31642c7c4e3dSmrgac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
31652c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
31662c7c4e3dSmrgecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
31672c7c4e3dSmrg   { (exit 1); exit 1; }; }
31682c7c4e3dSmrg
31692c7c4e3dSmrgfi
31702c7c4e3dSmrgecho "$as_me:$LINENO: result: $ac_cv_host" >&5
31712c7c4e3dSmrgecho "${ECHO_T}$ac_cv_host" >&6
31722c7c4e3dSmrghost=$ac_cv_host
31732c7c4e3dSmrghost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
31742c7c4e3dSmrghost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
31752c7c4e3dSmrghost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
31762c7c4e3dSmrg
31772c7c4e3dSmrg
31782c7c4e3dSmrg
31792c7c4e3dSmrg
31802c7c4e3dSmrg
31812c7c4e3dSmrgif test x$APP_MAN_SUFFIX = x    ; then
31822c7c4e3dSmrg    case $host_os in
31832c7c4e3dSmrg	linux*)	APP_MAN_SUFFIX=1x ;;
31842c7c4e3dSmrg	*)	APP_MAN_SUFFIX=1  ;;
31852c7c4e3dSmrg    esac
31862c7c4e3dSmrgfi
31872c7c4e3dSmrgif test x$APP_MAN_DIR = x    ; then
31882c7c4e3dSmrg    case $host_os in
31892c7c4e3dSmrg	linux*)	APP_MAN_DIR='$(mandir)/man1' ;;
31902c7c4e3dSmrg	*)	APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
31912c7c4e3dSmrg    esac
31922c7c4e3dSmrgfi
31932c7c4e3dSmrg
31942c7c4e3dSmrgif test x$LIB_MAN_SUFFIX = x    ; then
31952c7c4e3dSmrg    case $host_os in
31962c7c4e3dSmrg	linux*)	LIB_MAN_SUFFIX=3x ;;
31972c7c4e3dSmrg	*)	LIB_MAN_SUFFIX=3  ;;
31982c7c4e3dSmrg    esac
31992c7c4e3dSmrgfi
32002c7c4e3dSmrgif test x$LIB_MAN_DIR = x    ; then
32012c7c4e3dSmrg    case $host_os in
32022c7c4e3dSmrg	linux*)	LIB_MAN_DIR='$(mandir)/man3' ;;
32032c7c4e3dSmrg	*)	LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
32042c7c4e3dSmrg    esac
32052c7c4e3dSmrgfi
32062c7c4e3dSmrg
32072c7c4e3dSmrgif test x$FILE_MAN_SUFFIX = x    ; then
32082c7c4e3dSmrg    case $host_os in
32092c7c4e3dSmrg	linux*)		FILE_MAN_SUFFIX=5x ;;
32102c7c4e3dSmrg	solaris*)	FILE_MAN_SUFFIX=4  ;;
32112c7c4e3dSmrg	*)		FILE_MAN_SUFFIX=5  ;;
32122c7c4e3dSmrg    esac
32132c7c4e3dSmrgfi
32142c7c4e3dSmrgif test x$FILE_MAN_DIR = x    ; then
32152c7c4e3dSmrg    case $host_os in
32162c7c4e3dSmrg	linux*)	FILE_MAN_DIR='$(mandir)/man5' ;;
32172c7c4e3dSmrg	*)	FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
32182c7c4e3dSmrg    esac
32192c7c4e3dSmrgfi
32202c7c4e3dSmrg
32212c7c4e3dSmrg# In Imake's linux.cf, the misc man suffix & dir was only changed for
32222c7c4e3dSmrg# LinuxDebian, not other Linuxes, so we leave it unchanged here
32232c7c4e3dSmrgif test x$MISC_MAN_SUFFIX = x    ; then
32242c7c4e3dSmrg    case $host_os in
32252c7c4e3dSmrg#	linux*)		MISC_MAN_SUFFIX=7x ;;
32262c7c4e3dSmrg	solaris*)	MISC_MAN_SUFFIX=5  ;;
32272c7c4e3dSmrg	*)		MISC_MAN_SUFFIX=7  ;;
32282c7c4e3dSmrg    esac
32292c7c4e3dSmrgfi
32302c7c4e3dSmrgif test x$MISC_MAN_DIR = x    ; then
32312c7c4e3dSmrg    case $host_os in
32322c7c4e3dSmrg#	linux*)	MISC_MAN_DIR='$(mandir)/man7' ;;
32332c7c4e3dSmrg	*)	MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
32342c7c4e3dSmrg    esac
32352c7c4e3dSmrgfi
32362c7c4e3dSmrg
32372c7c4e3dSmrg# In Imake's linux.cf, the driver man suffix & dir was only changed for
32382c7c4e3dSmrg# LinuxDebian, not other Linuxes, so we leave it unchanged here
32392c7c4e3dSmrgif test x$DRIVER_MAN_SUFFIX = x    ; then
32402c7c4e3dSmrg    case $host_os in
32412c7c4e3dSmrg#	linux*)		DRIVER_MAN_SUFFIX=4x ;;
32422c7c4e3dSmrg	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
32432c7c4e3dSmrg	*)		DRIVER_MAN_SUFFIX=4  ;;
32442c7c4e3dSmrg    esac
32452c7c4e3dSmrgfi
32462c7c4e3dSmrgif test x$DRIVER_MAN_DIR = x    ; then
32472c7c4e3dSmrg    case $host_os in
32482c7c4e3dSmrg#	linux*)	DRIVER_MAN_DIR='$(mandir)/man4' ;;
32492c7c4e3dSmrg	*)	DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
32502c7c4e3dSmrg    esac
32512c7c4e3dSmrgfi
32522c7c4e3dSmrg
32532c7c4e3dSmrgif test x$ADMIN_MAN_SUFFIX = x    ; then
32542c7c4e3dSmrg    case $host_os in
32552c7c4e3dSmrg	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
32562c7c4e3dSmrg	*)		ADMIN_MAN_SUFFIX=8  ;;
32572c7c4e3dSmrg    esac
32582c7c4e3dSmrgfi
32592c7c4e3dSmrgif test x$ADMIN_MAN_DIR = x    ; then
32602c7c4e3dSmrg    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
32612c7c4e3dSmrgfi
32622c7c4e3dSmrg
32632c7c4e3dSmrg
32642c7c4e3dSmrg
32652c7c4e3dSmrg
32662c7c4e3dSmrg
32672c7c4e3dSmrg
32682c7c4e3dSmrg
32692c7c4e3dSmrg
32702c7c4e3dSmrg
32712c7c4e3dSmrg
32722c7c4e3dSmrg
32732c7c4e3dSmrg
32742c7c4e3dSmrg
32752c7c4e3dSmrg
32762c7c4e3dSmrg
32772c7c4e3dSmrg
32782c7c4e3dSmrg
32792c7c4e3dSmrg# Check whether --with-release-version or --without-release-version was given.
32802c7c4e3dSmrgif test "${with_release_version+set}" = set; then
32812c7c4e3dSmrg  withval="$with_release_version"
32822c7c4e3dSmrg  RELEASE_VERSION="$withval"
32832c7c4e3dSmrgelse
32842c7c4e3dSmrg  RELEASE_VERSION=""
32852c7c4e3dSmrgfi;
32862c7c4e3dSmrg	if test "x$RELEASE_VERSION" != "x"; then
32872c7c4e3dSmrg		PACKAGE="$PACKAGE-$RELEASE_VERSION"
32882c7c4e3dSmrg		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
32892c7c4e3dSmrg		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
32902c7c4e3dSmrgecho "$as_me: Building with package name set to $PACKAGE" >&6;}
32912c7c4e3dSmrg	fi
32922c7c4e3dSmrg
32932c7c4e3dSmrg
32942c7c4e3dSmrg          ac_config_files="$ac_config_files Makefile"
32952c7c4e3dSmrgcat >confcache <<\_ACEOF
32962c7c4e3dSmrg# This file is a shell script that caches the results of configure
32972c7c4e3dSmrg# tests run on this system so they can be shared between configure
32982c7c4e3dSmrg# scripts and configure runs, see configure's option --config-cache.
32992c7c4e3dSmrg# It is not useful on other systems.  If it contains results you don't
33002c7c4e3dSmrg# want to keep, you may remove or edit it.
33012c7c4e3dSmrg#
33022c7c4e3dSmrg# config.status only pays attention to the cache file if you give it
33032c7c4e3dSmrg# the --recheck option to rerun configure.
33042c7c4e3dSmrg#
33052c7c4e3dSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
33062c7c4e3dSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
33072c7c4e3dSmrg# following values.
33082c7c4e3dSmrg
33092c7c4e3dSmrg_ACEOF
33102c7c4e3dSmrg
33112c7c4e3dSmrg# The following way of writing the cache mishandles newlines in values,
33122c7c4e3dSmrg# but we know of no workaround that is simple, portable, and efficient.
33132c7c4e3dSmrg# So, don't put newlines in cache variables' values.
33142c7c4e3dSmrg# Ultrix sh set writes to stderr and can't be redirected directly,
33152c7c4e3dSmrg# and sets the high bit in the cache file unless we assign to the vars.
33162c7c4e3dSmrg{
33172c7c4e3dSmrg  (set) 2>&1 |
33182c7c4e3dSmrg    case `(ac_space=' '; set | grep ac_space) 2>&1` in
33192c7c4e3dSmrg    *ac_space=\ *)
33202c7c4e3dSmrg      # `set' does not quote correctly, so add quotes (double-quote
33212c7c4e3dSmrg      # substitution turns \\\\ into \\, and sed turns \\ into \).
33222c7c4e3dSmrg      sed -n \
33232c7c4e3dSmrg	"s/'/'\\\\''/g;
33242c7c4e3dSmrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33252c7c4e3dSmrg      ;;
33262c7c4e3dSmrg    *)
33272c7c4e3dSmrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
33282c7c4e3dSmrg      sed -n \
33292c7c4e3dSmrg	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33302c7c4e3dSmrg      ;;
33312c7c4e3dSmrg    esac;
33322c7c4e3dSmrg} |
33332c7c4e3dSmrg  sed '
33342c7c4e3dSmrg     t clear
33352c7c4e3dSmrg     : clear
33362c7c4e3dSmrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33372c7c4e3dSmrg     t end
33382c7c4e3dSmrg     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33392c7c4e3dSmrg     : end' >>confcache
33402c7c4e3dSmrgif diff $cache_file confcache >/dev/null 2>&1; then :; else
33412c7c4e3dSmrg  if test -w $cache_file; then
33422c7c4e3dSmrg    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33432c7c4e3dSmrg    cat confcache >$cache_file
33442c7c4e3dSmrg  else
33452c7c4e3dSmrg    echo "not updating unwritable cache $cache_file"
33462c7c4e3dSmrg  fi
33472c7c4e3dSmrgfi
33482c7c4e3dSmrgrm -f confcache
33492c7c4e3dSmrg
33502c7c4e3dSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
33512c7c4e3dSmrg# Let make expand exec_prefix.
33522c7c4e3dSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33532c7c4e3dSmrg
33542c7c4e3dSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
33552c7c4e3dSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33562c7c4e3dSmrg# trailing colons and then remove the whole line if VPATH becomes empty
33572c7c4e3dSmrg# (actually we leave an empty line to preserve line numbers).
33582c7c4e3dSmrgif test "x$srcdir" = x.; then
33592c7c4e3dSmrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
33602c7c4e3dSmrgs/:*\$(srcdir):*/:/;
33612c7c4e3dSmrgs/:*\${srcdir}:*/:/;
33622c7c4e3dSmrgs/:*@srcdir@:*/:/;
33632c7c4e3dSmrgs/^\([^=]*=[	 ]*\):*/\1/;
33642c7c4e3dSmrgs/:*$//;
33652c7c4e3dSmrgs/^[^=]*=[	 ]*$//;
33662c7c4e3dSmrg}'
33672c7c4e3dSmrgfi
33682c7c4e3dSmrg
33692c7c4e3dSmrgDEFS=-DHAVE_CONFIG_H
33702c7c4e3dSmrg
33712c7c4e3dSmrgac_libobjs=
33722c7c4e3dSmrgac_ltlibobjs=
33732c7c4e3dSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33742c7c4e3dSmrg  # 1. Remove the extension, and $U if already installed.
33752c7c4e3dSmrg  ac_i=`echo "$ac_i" |
33762c7c4e3dSmrg	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33772c7c4e3dSmrg  # 2. Add them.
33782c7c4e3dSmrg  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33792c7c4e3dSmrg  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33802c7c4e3dSmrgdone
33812c7c4e3dSmrgLIBOBJS=$ac_libobjs
33822c7c4e3dSmrg
33832c7c4e3dSmrgLTLIBOBJS=$ac_ltlibobjs
33842c7c4e3dSmrg
33852c7c4e3dSmrg
33862c7c4e3dSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33872c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33882c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&5
33892c7c4e3dSmrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33902c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&2;}
33912c7c4e3dSmrg   { (exit 1); exit 1; }; }
33922c7c4e3dSmrgfi
33932c7c4e3dSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33942c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33952c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&5
33962c7c4e3dSmrgecho "$as_me: error: conditional \"AMDEP\" was never defined.
33972c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&2;}
33982c7c4e3dSmrg   { (exit 1); exit 1; }; }
33992c7c4e3dSmrgfi
34002c7c4e3dSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34012c7c4e3dSmrg  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34022c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&5
34032c7c4e3dSmrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34042c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&2;}
34052c7c4e3dSmrg   { (exit 1); exit 1; }; }
34062c7c4e3dSmrgfi
34072c7c4e3dSmrg
34082c7c4e3dSmrg: ${CONFIG_STATUS=./config.status}
34092c7c4e3dSmrgac_clean_files_save=$ac_clean_files
34102c7c4e3dSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
34112c7c4e3dSmrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34122c7c4e3dSmrgecho "$as_me: creating $CONFIG_STATUS" >&6;}
34132c7c4e3dSmrgcat >$CONFIG_STATUS <<_ACEOF
34142c7c4e3dSmrg#! $SHELL
34152c7c4e3dSmrg# Generated by $as_me.
34162c7c4e3dSmrg# Run this file to recreate the current configuration.
34172c7c4e3dSmrg# Compiler output produced by configure, useful for debugging
34182c7c4e3dSmrg# configure, is in config.log if it exists.
34192c7c4e3dSmrg
34202c7c4e3dSmrgdebug=false
34212c7c4e3dSmrgac_cs_recheck=false
34222c7c4e3dSmrgac_cs_silent=false
34232c7c4e3dSmrgSHELL=\${CONFIG_SHELL-$SHELL}
34242c7c4e3dSmrg_ACEOF
34252c7c4e3dSmrg
34262c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
34272c7c4e3dSmrg## --------------------- ##
34282c7c4e3dSmrg## M4sh Initialization.  ##
34292c7c4e3dSmrg## --------------------- ##
34302c7c4e3dSmrg
34312c7c4e3dSmrg# Be Bourne compatible
34322c7c4e3dSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34332c7c4e3dSmrg  emulate sh
34342c7c4e3dSmrg  NULLCMD=:
34352c7c4e3dSmrg  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34362c7c4e3dSmrg  # is contrary to our usage.  Disable this feature.
34372c7c4e3dSmrg  alias -g '${1+"$@"}'='"$@"'
34382c7c4e3dSmrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34392c7c4e3dSmrg  set -o posix
34402c7c4e3dSmrgfi
34412c7c4e3dSmrgDUALCASE=1; export DUALCASE # for MKS sh
34422c7c4e3dSmrg
34432c7c4e3dSmrg# Support unset when possible.
34442c7c4e3dSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34452c7c4e3dSmrg  as_unset=unset
34462c7c4e3dSmrgelse
34472c7c4e3dSmrg  as_unset=false
34482c7c4e3dSmrgfi
34492c7c4e3dSmrg
34502c7c4e3dSmrg
34512c7c4e3dSmrg# Work around bugs in pre-3.0 UWIN ksh.
34522c7c4e3dSmrg$as_unset ENV MAIL MAILPATH
34532c7c4e3dSmrgPS1='$ '
34542c7c4e3dSmrgPS2='> '
34552c7c4e3dSmrgPS4='+ '
34562c7c4e3dSmrg
34572c7c4e3dSmrg# NLS nuisances.
34582c7c4e3dSmrgfor as_var in \
34592c7c4e3dSmrg  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34602c7c4e3dSmrg  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34612c7c4e3dSmrg  LC_TELEPHONE LC_TIME
34622c7c4e3dSmrgdo
34632c7c4e3dSmrg  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34642c7c4e3dSmrg    eval $as_var=C; export $as_var
34652c7c4e3dSmrg  else
34662c7c4e3dSmrg    $as_unset $as_var
34672c7c4e3dSmrg  fi
34682c7c4e3dSmrgdone
34692c7c4e3dSmrg
34702c7c4e3dSmrg# Required to use basename.
34712c7c4e3dSmrgif expr a : '\(a\)' >/dev/null 2>&1; then
34722c7c4e3dSmrg  as_expr=expr
34732c7c4e3dSmrgelse
34742c7c4e3dSmrg  as_expr=false
34752c7c4e3dSmrgfi
34762c7c4e3dSmrg
34772c7c4e3dSmrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34782c7c4e3dSmrg  as_basename=basename
34792c7c4e3dSmrgelse
34802c7c4e3dSmrg  as_basename=false
34812c7c4e3dSmrgfi
34822c7c4e3dSmrg
34832c7c4e3dSmrg
34842c7c4e3dSmrg# Name of the executable.
34852c7c4e3dSmrgas_me=`$as_basename "$0" ||
34862c7c4e3dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34872c7c4e3dSmrg	 X"$0" : 'X\(//\)$' \| \
34882c7c4e3dSmrg	 X"$0" : 'X\(/\)$' \| \
34892c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
34902c7c4e3dSmrgecho X/"$0" |
34912c7c4e3dSmrg    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34922c7c4e3dSmrg  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
34932c7c4e3dSmrg  	  /^X\/\(\/\).*/{ s//\1/; q; }
34942c7c4e3dSmrg  	  s/.*/./; q'`
34952c7c4e3dSmrg
34962c7c4e3dSmrg
34972c7c4e3dSmrg# PATH needs CR, and LINENO needs CR and PATH.
34982c7c4e3dSmrg# Avoid depending upon Character Ranges.
34992c7c4e3dSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
35002c7c4e3dSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35012c7c4e3dSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
35022c7c4e3dSmrgas_cr_digits='0123456789'
35032c7c4e3dSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits
35042c7c4e3dSmrg
35052c7c4e3dSmrg# The user is always right.
35062c7c4e3dSmrgif test "${PATH_SEPARATOR+set}" != set; then
35072c7c4e3dSmrg  echo "#! /bin/sh" >conf$$.sh
35082c7c4e3dSmrg  echo  "exit 0"   >>conf$$.sh
35092c7c4e3dSmrg  chmod +x conf$$.sh
35102c7c4e3dSmrg  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35112c7c4e3dSmrg    PATH_SEPARATOR=';'
35122c7c4e3dSmrg  else
35132c7c4e3dSmrg    PATH_SEPARATOR=:
35142c7c4e3dSmrg  fi
35152c7c4e3dSmrg  rm -f conf$$.sh
35162c7c4e3dSmrgfi
35172c7c4e3dSmrg
35182c7c4e3dSmrg
35192c7c4e3dSmrg  as_lineno_1=$LINENO
35202c7c4e3dSmrg  as_lineno_2=$LINENO
35212c7c4e3dSmrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35222c7c4e3dSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
35232c7c4e3dSmrg  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
35242c7c4e3dSmrg  # Find who we are.  Look in the path if we contain no path at all
35252c7c4e3dSmrg  # relative or not.
35262c7c4e3dSmrg  case $0 in
35272c7c4e3dSmrg    *[\\/]* ) as_myself=$0 ;;
35282c7c4e3dSmrg    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35292c7c4e3dSmrgfor as_dir in $PATH
35302c7c4e3dSmrgdo
35312c7c4e3dSmrg  IFS=$as_save_IFS
35322c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
35332c7c4e3dSmrg  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35342c7c4e3dSmrgdone
35352c7c4e3dSmrg
35362c7c4e3dSmrg       ;;
35372c7c4e3dSmrg  esac
35382c7c4e3dSmrg  # We did not find ourselves, most probably we were run as `sh COMMAND'
35392c7c4e3dSmrg  # in which case we are not to be found in the path.
35402c7c4e3dSmrg  if test "x$as_myself" = x; then
35412c7c4e3dSmrg    as_myself=$0
35422c7c4e3dSmrg  fi
35432c7c4e3dSmrg  if test ! -f "$as_myself"; then
35442c7c4e3dSmrg    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35452c7c4e3dSmrgecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35462c7c4e3dSmrg   { (exit 1); exit 1; }; }
35472c7c4e3dSmrg  fi
35482c7c4e3dSmrg  case $CONFIG_SHELL in
35492c7c4e3dSmrg  '')
35502c7c4e3dSmrg    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35512c7c4e3dSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35522c7c4e3dSmrgdo
35532c7c4e3dSmrg  IFS=$as_save_IFS
35542c7c4e3dSmrg  test -z "$as_dir" && as_dir=.
35552c7c4e3dSmrg  for as_base in sh bash ksh sh5; do
35562c7c4e3dSmrg	 case $as_dir in
35572c7c4e3dSmrg	 /*)
35582c7c4e3dSmrg	   if ("$as_dir/$as_base" -c '
35592c7c4e3dSmrg  as_lineno_1=$LINENO
35602c7c4e3dSmrg  as_lineno_2=$LINENO
35612c7c4e3dSmrg  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35622c7c4e3dSmrg  test "x$as_lineno_1" != "x$as_lineno_2" &&
35632c7c4e3dSmrg  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
35642c7c4e3dSmrg	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35652c7c4e3dSmrg	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35662c7c4e3dSmrg	     CONFIG_SHELL=$as_dir/$as_base
35672c7c4e3dSmrg	     export CONFIG_SHELL
35682c7c4e3dSmrg	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35692c7c4e3dSmrg	   fi;;
35702c7c4e3dSmrg	 esac
35712c7c4e3dSmrg       done
35722c7c4e3dSmrgdone
35732c7c4e3dSmrg;;
35742c7c4e3dSmrg  esac
35752c7c4e3dSmrg
35762c7c4e3dSmrg  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35772c7c4e3dSmrg  # uniformly replaced by the line number.  The first 'sed' inserts a
35782c7c4e3dSmrg  # line-number line before each line; the second 'sed' does the real
35792c7c4e3dSmrg  # work.  The second script uses 'N' to pair each line-number line
35802c7c4e3dSmrg  # with the numbered line, and appends trailing '-' during
35812c7c4e3dSmrg  # substitution so that $LINENO is not a special case at line end.
35822c7c4e3dSmrg  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35832c7c4e3dSmrg  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
35842c7c4e3dSmrg  sed '=' <$as_myself |
35852c7c4e3dSmrg    sed '
35862c7c4e3dSmrg      N
35872c7c4e3dSmrg      s,$,-,
35882c7c4e3dSmrg      : loop
35892c7c4e3dSmrg      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35902c7c4e3dSmrg      t loop
35912c7c4e3dSmrg      s,-$,,
35922c7c4e3dSmrg      s,^['$as_cr_digits']*\n,,
35932c7c4e3dSmrg    ' >$as_me.lineno &&
35942c7c4e3dSmrg  chmod +x $as_me.lineno ||
35952c7c4e3dSmrg    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35962c7c4e3dSmrgecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35972c7c4e3dSmrg   { (exit 1); exit 1; }; }
35982c7c4e3dSmrg
35992c7c4e3dSmrg  # Don't try to exec as it changes $[0], causing all sort of problems
36002c7c4e3dSmrg  # (the dirname of $[0] is not the place where we might find the
36012c7c4e3dSmrg  # original and so on.  Autoconf is especially sensible to this).
36022c7c4e3dSmrg  . ./$as_me.lineno
36032c7c4e3dSmrg  # Exit status is that of the last command.
36042c7c4e3dSmrg  exit
36052c7c4e3dSmrg}
36062c7c4e3dSmrg
36072c7c4e3dSmrg
36082c7c4e3dSmrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36092c7c4e3dSmrg  *c*,-n*) ECHO_N= ECHO_C='
36102c7c4e3dSmrg' ECHO_T='	' ;;
36112c7c4e3dSmrg  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36122c7c4e3dSmrg  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
36132c7c4e3dSmrgesac
36142c7c4e3dSmrg
36152c7c4e3dSmrgif expr a : '\(a\)' >/dev/null 2>&1; then
36162c7c4e3dSmrg  as_expr=expr
36172c7c4e3dSmrgelse
36182c7c4e3dSmrg  as_expr=false
36192c7c4e3dSmrgfi
36202c7c4e3dSmrg
36212c7c4e3dSmrgrm -f conf$$ conf$$.exe conf$$.file
36222c7c4e3dSmrgecho >conf$$.file
36232c7c4e3dSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then
36242c7c4e3dSmrg  # We could just check for DJGPP; but this test a) works b) is more generic
36252c7c4e3dSmrg  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36262c7c4e3dSmrg  if test -f conf$$.exe; then
36272c7c4e3dSmrg    # Don't use ln at all; we don't have any links
36282c7c4e3dSmrg    as_ln_s='cp -p'
36292c7c4e3dSmrg  else
36302c7c4e3dSmrg    as_ln_s='ln -s'
36312c7c4e3dSmrg  fi
36322c7c4e3dSmrgelif ln conf$$.file conf$$ 2>/dev/null; then
36332c7c4e3dSmrg  as_ln_s=ln
36342c7c4e3dSmrgelse
36352c7c4e3dSmrg  as_ln_s='cp -p'
36362c7c4e3dSmrgfi
36372c7c4e3dSmrgrm -f conf$$ conf$$.exe conf$$.file
36382c7c4e3dSmrg
36392c7c4e3dSmrgif mkdir -p . 2>/dev/null; then
36402c7c4e3dSmrg  as_mkdir_p=:
36412c7c4e3dSmrgelse
36422c7c4e3dSmrg  test -d ./-p && rmdir ./-p
36432c7c4e3dSmrg  as_mkdir_p=false
36442c7c4e3dSmrgfi
36452c7c4e3dSmrg
36462c7c4e3dSmrgas_executable_p="test -f"
36472c7c4e3dSmrg
36482c7c4e3dSmrg# Sed expression to map a string onto a valid CPP name.
36492c7c4e3dSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
36502c7c4e3dSmrg
36512c7c4e3dSmrg# Sed expression to map a string onto a valid variable name.
36522c7c4e3dSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
36532c7c4e3dSmrg
36542c7c4e3dSmrg
36552c7c4e3dSmrg# IFS
36562c7c4e3dSmrg# We need space, tab and new line, in precisely that order.
36572c7c4e3dSmrgas_nl='
36582c7c4e3dSmrg'
36592c7c4e3dSmrgIFS=" 	$as_nl"
36602c7c4e3dSmrg
36612c7c4e3dSmrg# CDPATH.
36622c7c4e3dSmrg$as_unset CDPATH
36632c7c4e3dSmrg
36642c7c4e3dSmrgexec 6>&1
36652c7c4e3dSmrg
36662c7c4e3dSmrg# Open the log real soon, to keep \$[0] and so on meaningful, and to
36672c7c4e3dSmrg# report actual input values of CONFIG_FILES etc. instead of their
36682c7c4e3dSmrg# values after options handling.  Logging --version etc. is OK.
36692c7c4e3dSmrgexec 5>>config.log
36702c7c4e3dSmrg{
36712c7c4e3dSmrg  echo
36722c7c4e3dSmrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36732c7c4e3dSmrg## Running $as_me. ##
36742c7c4e3dSmrg_ASBOX
36752c7c4e3dSmrg} >&5
36762c7c4e3dSmrgcat >&5 <<_CSEOF
36772c7c4e3dSmrg
36782c7c4e3dSmrgThis file was extended by xcmsdb $as_me 1.0.1, which was
36792c7c4e3dSmrggenerated by GNU Autoconf 2.59.  Invocation command line was
36802c7c4e3dSmrg
36812c7c4e3dSmrg  CONFIG_FILES    = $CONFIG_FILES
36822c7c4e3dSmrg  CONFIG_HEADERS  = $CONFIG_HEADERS
36832c7c4e3dSmrg  CONFIG_LINKS    = $CONFIG_LINKS
36842c7c4e3dSmrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
36852c7c4e3dSmrg  $ $0 $@
36862c7c4e3dSmrg
36872c7c4e3dSmrg_CSEOF
36882c7c4e3dSmrgecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36892c7c4e3dSmrgecho >&5
36902c7c4e3dSmrg_ACEOF
36912c7c4e3dSmrg
36922c7c4e3dSmrg# Files that config.status was made for.
36932c7c4e3dSmrgif test -n "$ac_config_files"; then
36942c7c4e3dSmrg  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36952c7c4e3dSmrgfi
36962c7c4e3dSmrg
36972c7c4e3dSmrgif test -n "$ac_config_headers"; then
36982c7c4e3dSmrg  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36992c7c4e3dSmrgfi
37002c7c4e3dSmrg
37012c7c4e3dSmrgif test -n "$ac_config_links"; then
37022c7c4e3dSmrg  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
37032c7c4e3dSmrgfi
37042c7c4e3dSmrg
37052c7c4e3dSmrgif test -n "$ac_config_commands"; then
37062c7c4e3dSmrg  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
37072c7c4e3dSmrgfi
37082c7c4e3dSmrg
37092c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
37102c7c4e3dSmrg
37112c7c4e3dSmrgac_cs_usage="\
37122c7c4e3dSmrg\`$as_me' instantiates files from templates according to the
37132c7c4e3dSmrgcurrent configuration.
37142c7c4e3dSmrg
37152c7c4e3dSmrgUsage: $0 [OPTIONS] [FILE]...
37162c7c4e3dSmrg
37172c7c4e3dSmrg  -h, --help       print this help, then exit
37182c7c4e3dSmrg  -V, --version    print version number, then exit
37192c7c4e3dSmrg  -q, --quiet      do not print progress messages
37202c7c4e3dSmrg  -d, --debug      don't remove temporary files
37212c7c4e3dSmrg      --recheck    update $as_me by reconfiguring in the same conditions
37222c7c4e3dSmrg  --file=FILE[:TEMPLATE]
37232c7c4e3dSmrg		   instantiate the configuration file FILE
37242c7c4e3dSmrg  --header=FILE[:TEMPLATE]
37252c7c4e3dSmrg		   instantiate the configuration header FILE
37262c7c4e3dSmrg
37272c7c4e3dSmrgConfiguration files:
37282c7c4e3dSmrg$config_files
37292c7c4e3dSmrg
37302c7c4e3dSmrgConfiguration headers:
37312c7c4e3dSmrg$config_headers
37322c7c4e3dSmrg
37332c7c4e3dSmrgConfiguration commands:
37342c7c4e3dSmrg$config_commands
37352c7c4e3dSmrg
37362c7c4e3dSmrgReport bugs to <bug-autoconf@gnu.org>."
37372c7c4e3dSmrg_ACEOF
37382c7c4e3dSmrg
37392c7c4e3dSmrgcat >>$CONFIG_STATUS <<_ACEOF
37402c7c4e3dSmrgac_cs_version="\\
37412c7c4e3dSmrgxcmsdb config.status 1.0.1
37422c7c4e3dSmrgconfigured by $0, generated by GNU Autoconf 2.59,
37432c7c4e3dSmrg  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37442c7c4e3dSmrg
37452c7c4e3dSmrgCopyright (C) 2003 Free Software Foundation, Inc.
37462c7c4e3dSmrgThis config.status script is free software; the Free Software Foundation
37472c7c4e3dSmrggives unlimited permission to copy, distribute and modify it."
37482c7c4e3dSmrgsrcdir=$srcdir
37492c7c4e3dSmrgINSTALL="$INSTALL"
37502c7c4e3dSmrg_ACEOF
37512c7c4e3dSmrg
37522c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
37532c7c4e3dSmrg# If no file are specified by the user, then we need to provide default
37542c7c4e3dSmrg# value.  By we need to know if files were specified by the user.
37552c7c4e3dSmrgac_need_defaults=:
37562c7c4e3dSmrgwhile test $# != 0
37572c7c4e3dSmrgdo
37582c7c4e3dSmrg  case $1 in
37592c7c4e3dSmrg  --*=*)
37602c7c4e3dSmrg    ac_option=`expr "x$1" : 'x\([^=]*\)='`
37612c7c4e3dSmrg    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
37622c7c4e3dSmrg    ac_shift=:
37632c7c4e3dSmrg    ;;
37642c7c4e3dSmrg  -*)
37652c7c4e3dSmrg    ac_option=$1
37662c7c4e3dSmrg    ac_optarg=$2
37672c7c4e3dSmrg    ac_shift=shift
37682c7c4e3dSmrg    ;;
37692c7c4e3dSmrg  *) # This is not an option, so the user has probably given explicit
37702c7c4e3dSmrg     # arguments.
37712c7c4e3dSmrg     ac_option=$1
37722c7c4e3dSmrg     ac_need_defaults=false;;
37732c7c4e3dSmrg  esac
37742c7c4e3dSmrg
37752c7c4e3dSmrg  case $ac_option in
37762c7c4e3dSmrg  # Handling of the options.
37772c7c4e3dSmrg_ACEOF
37782c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
37792c7c4e3dSmrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37802c7c4e3dSmrg    ac_cs_recheck=: ;;
37812c7c4e3dSmrg  --version | --vers* | -V )
37822c7c4e3dSmrg    echo "$ac_cs_version"; exit 0 ;;
37832c7c4e3dSmrg  --he | --h)
37842c7c4e3dSmrg    # Conflict between --help and --header
37852c7c4e3dSmrg    { { echo "$as_me:$LINENO: error: ambiguous option: $1
37862c7c4e3dSmrgTry \`$0 --help' for more information." >&5
37872c7c4e3dSmrgecho "$as_me: error: ambiguous option: $1
37882c7c4e3dSmrgTry \`$0 --help' for more information." >&2;}
37892c7c4e3dSmrg   { (exit 1); exit 1; }; };;
37902c7c4e3dSmrg  --help | --hel | -h )
37912c7c4e3dSmrg    echo "$ac_cs_usage"; exit 0 ;;
37922c7c4e3dSmrg  --debug | --d* | -d )
37932c7c4e3dSmrg    debug=: ;;
37942c7c4e3dSmrg  --file | --fil | --fi | --f )
37952c7c4e3dSmrg    $ac_shift
37962c7c4e3dSmrg    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
37972c7c4e3dSmrg    ac_need_defaults=false;;
37982c7c4e3dSmrg  --header | --heade | --head | --hea )
37992c7c4e3dSmrg    $ac_shift
38002c7c4e3dSmrg    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
38012c7c4e3dSmrg    ac_need_defaults=false;;
38022c7c4e3dSmrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
38032c7c4e3dSmrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
38042c7c4e3dSmrg    ac_cs_silent=: ;;
38052c7c4e3dSmrg
38062c7c4e3dSmrg  # This is an error.
38072c7c4e3dSmrg  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
38082c7c4e3dSmrgTry \`$0 --help' for more information." >&5
38092c7c4e3dSmrgecho "$as_me: error: unrecognized option: $1
38102c7c4e3dSmrgTry \`$0 --help' for more information." >&2;}
38112c7c4e3dSmrg   { (exit 1); exit 1; }; } ;;
38122c7c4e3dSmrg
38132c7c4e3dSmrg  *) ac_config_targets="$ac_config_targets $1" ;;
38142c7c4e3dSmrg
38152c7c4e3dSmrg  esac
38162c7c4e3dSmrg  shift
38172c7c4e3dSmrgdone
38182c7c4e3dSmrg
38192c7c4e3dSmrgac_configure_extra_args=
38202c7c4e3dSmrg
38212c7c4e3dSmrgif $ac_cs_silent; then
38222c7c4e3dSmrg  exec 6>/dev/null
38232c7c4e3dSmrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
38242c7c4e3dSmrgfi
38252c7c4e3dSmrg
38262c7c4e3dSmrg_ACEOF
38272c7c4e3dSmrgcat >>$CONFIG_STATUS <<_ACEOF
38282c7c4e3dSmrgif \$ac_cs_recheck; then
38292c7c4e3dSmrg  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
38302c7c4e3dSmrg  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
38312c7c4e3dSmrgfi
38322c7c4e3dSmrg
38332c7c4e3dSmrg_ACEOF
38342c7c4e3dSmrg
38352c7c4e3dSmrgcat >>$CONFIG_STATUS <<_ACEOF
38362c7c4e3dSmrg#
38372c7c4e3dSmrg# INIT-COMMANDS section.
38382c7c4e3dSmrg#
38392c7c4e3dSmrg
38402c7c4e3dSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
38412c7c4e3dSmrg
38422c7c4e3dSmrg_ACEOF
38432c7c4e3dSmrg
38442c7c4e3dSmrg
38452c7c4e3dSmrg
38462c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
38472c7c4e3dSmrgfor ac_config_target in $ac_config_targets
38482c7c4e3dSmrgdo
38492c7c4e3dSmrg  case "$ac_config_target" in
38502c7c4e3dSmrg  # Handling of arguments.
38512c7c4e3dSmrg  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
38522c7c4e3dSmrg  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
38532c7c4e3dSmrg  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
38542c7c4e3dSmrg  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
38552c7c4e3dSmrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
38562c7c4e3dSmrg   { (exit 1); exit 1; }; };;
38572c7c4e3dSmrg  esac
38582c7c4e3dSmrgdone
38592c7c4e3dSmrg
38602c7c4e3dSmrg# If the user did not use the arguments to specify the items to instantiate,
38612c7c4e3dSmrg# then the envvar interface is used.  Set only those that are not.
38622c7c4e3dSmrg# We use the long form for the default assignment because of an extremely
38632c7c4e3dSmrg# bizarre bug on SunOS 4.1.3.
38642c7c4e3dSmrgif $ac_need_defaults; then
38652c7c4e3dSmrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
38662c7c4e3dSmrg  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
38672c7c4e3dSmrg  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
38682c7c4e3dSmrgfi
38692c7c4e3dSmrg
38702c7c4e3dSmrg# Have a temporary directory for convenience.  Make it in the build tree
38712c7c4e3dSmrg# simply because there is no reason to put it here, and in addition,
38722c7c4e3dSmrg# creating and moving files from /tmp can sometimes cause problems.
38732c7c4e3dSmrg# Create a temporary directory, and hook for its removal unless debugging.
38742c7c4e3dSmrg$debug ||
38752c7c4e3dSmrg{
38762c7c4e3dSmrg  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
38772c7c4e3dSmrg  trap '{ (exit 1); exit 1; }' 1 2 13 15
38782c7c4e3dSmrg}
38792c7c4e3dSmrg
38802c7c4e3dSmrg# Create a (secure) tmp directory for tmp files.
38812c7c4e3dSmrg
38822c7c4e3dSmrg{
38832c7c4e3dSmrg  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
38842c7c4e3dSmrg  test -n "$tmp" && test -d "$tmp"
38852c7c4e3dSmrg}  ||
38862c7c4e3dSmrg{
38872c7c4e3dSmrg  tmp=./confstat$$-$RANDOM
38882c7c4e3dSmrg  (umask 077 && mkdir $tmp)
38892c7c4e3dSmrg} ||
38902c7c4e3dSmrg{
38912c7c4e3dSmrg   echo "$me: cannot create a temporary directory in ." >&2
38922c7c4e3dSmrg   { (exit 1); exit 1; }
38932c7c4e3dSmrg}
38942c7c4e3dSmrg
38952c7c4e3dSmrg_ACEOF
38962c7c4e3dSmrg
38972c7c4e3dSmrgcat >>$CONFIG_STATUS <<_ACEOF
38982c7c4e3dSmrg
38992c7c4e3dSmrg#
39002c7c4e3dSmrg# CONFIG_FILES section.
39012c7c4e3dSmrg#
39022c7c4e3dSmrg
39032c7c4e3dSmrg# No need to generate the scripts if there are no CONFIG_FILES.
39042c7c4e3dSmrg# This happens for instance when ./config.status config.h
39052c7c4e3dSmrgif test -n "\$CONFIG_FILES"; then
39062c7c4e3dSmrg  # Protect against being on the right side of a sed subst in config.status.
39072c7c4e3dSmrg  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39082c7c4e3dSmrg   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39092c7c4e3dSmrgs,@SHELL@,$SHELL,;t t
39102c7c4e3dSmrgs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39112c7c4e3dSmrgs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39122c7c4e3dSmrgs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39132c7c4e3dSmrgs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39142c7c4e3dSmrgs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39152c7c4e3dSmrgs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39162c7c4e3dSmrgs,@exec_prefix@,$exec_prefix,;t t
39172c7c4e3dSmrgs,@prefix@,$prefix,;t t
39182c7c4e3dSmrgs,@program_transform_name@,$program_transform_name,;t t
39192c7c4e3dSmrgs,@bindir@,$bindir,;t t
39202c7c4e3dSmrgs,@sbindir@,$sbindir,;t t
39212c7c4e3dSmrgs,@libexecdir@,$libexecdir,;t t
39222c7c4e3dSmrgs,@datadir@,$datadir,;t t
39232c7c4e3dSmrgs,@sysconfdir@,$sysconfdir,;t t
39242c7c4e3dSmrgs,@sharedstatedir@,$sharedstatedir,;t t
39252c7c4e3dSmrgs,@localstatedir@,$localstatedir,;t t
39262c7c4e3dSmrgs,@libdir@,$libdir,;t t
39272c7c4e3dSmrgs,@includedir@,$includedir,;t t
39282c7c4e3dSmrgs,@oldincludedir@,$oldincludedir,;t t
39292c7c4e3dSmrgs,@infodir@,$infodir,;t t
39302c7c4e3dSmrgs,@mandir@,$mandir,;t t
39312c7c4e3dSmrgs,@build_alias@,$build_alias,;t t
39322c7c4e3dSmrgs,@host_alias@,$host_alias,;t t
39332c7c4e3dSmrgs,@target_alias@,$target_alias,;t t
39342c7c4e3dSmrgs,@DEFS@,$DEFS,;t t
39352c7c4e3dSmrgs,@ECHO_C@,$ECHO_C,;t t
39362c7c4e3dSmrgs,@ECHO_N@,$ECHO_N,;t t
39372c7c4e3dSmrgs,@ECHO_T@,$ECHO_T,;t t
39382c7c4e3dSmrgs,@LIBS@,$LIBS,;t t
39392c7c4e3dSmrgs,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
39402c7c4e3dSmrgs,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
39412c7c4e3dSmrgs,@INSTALL_DATA@,$INSTALL_DATA,;t t
39422c7c4e3dSmrgs,@CYGPATH_W@,$CYGPATH_W,;t t
39432c7c4e3dSmrgs,@PACKAGE@,$PACKAGE,;t t
39442c7c4e3dSmrgs,@VERSION@,$VERSION,;t t
39452c7c4e3dSmrgs,@ACLOCAL@,$ACLOCAL,;t t
39462c7c4e3dSmrgs,@AUTOCONF@,$AUTOCONF,;t t
39472c7c4e3dSmrgs,@AUTOMAKE@,$AUTOMAKE,;t t
39482c7c4e3dSmrgs,@AUTOHEADER@,$AUTOHEADER,;t t
39492c7c4e3dSmrgs,@MAKEINFO@,$MAKEINFO,;t t
39502c7c4e3dSmrgs,@AMTAR@,$AMTAR,;t t
39512c7c4e3dSmrgs,@install_sh@,$install_sh,;t t
39522c7c4e3dSmrgs,@STRIP@,$STRIP,;t t
39532c7c4e3dSmrgs,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
39542c7c4e3dSmrgs,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
39552c7c4e3dSmrgs,@AWK@,$AWK,;t t
39562c7c4e3dSmrgs,@SET_MAKE@,$SET_MAKE,;t t
39572c7c4e3dSmrgs,@am__leading_dot@,$am__leading_dot,;t t
39582c7c4e3dSmrgs,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
39592c7c4e3dSmrgs,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
39602c7c4e3dSmrgs,@MAINT@,$MAINT,;t t
39612c7c4e3dSmrgs,@CC@,$CC,;t t
39622c7c4e3dSmrgs,@CFLAGS@,$CFLAGS,;t t
39632c7c4e3dSmrgs,@LDFLAGS@,$LDFLAGS,;t t
39642c7c4e3dSmrgs,@CPPFLAGS@,$CPPFLAGS,;t t
39652c7c4e3dSmrgs,@ac_ct_CC@,$ac_ct_CC,;t t
39662c7c4e3dSmrgs,@EXEEXT@,$EXEEXT,;t t
39672c7c4e3dSmrgs,@OBJEXT@,$OBJEXT,;t t
39682c7c4e3dSmrgs,@DEPDIR@,$DEPDIR,;t t
39692c7c4e3dSmrgs,@am__include@,$am__include,;t t
39702c7c4e3dSmrgs,@am__quote@,$am__quote,;t t
39712c7c4e3dSmrgs,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
39722c7c4e3dSmrgs,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
39732c7c4e3dSmrgs,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
39742c7c4e3dSmrgs,@CCDEPMODE@,$CCDEPMODE,;t t
39752c7c4e3dSmrgs,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
39762c7c4e3dSmrgs,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
39772c7c4e3dSmrgs,@PKG_CONFIG@,$PKG_CONFIG,;t t
39782c7c4e3dSmrgs,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
39792c7c4e3dSmrgs,@XCMSDB_CFLAGS@,$XCMSDB_CFLAGS,;t t
39802c7c4e3dSmrgs,@XCMSDB_LIBS@,$XCMSDB_LIBS,;t t
39812c7c4e3dSmrgs,@build@,$build,;t t
39822c7c4e3dSmrgs,@build_cpu@,$build_cpu,;t t
39832c7c4e3dSmrgs,@build_vendor@,$build_vendor,;t t
39842c7c4e3dSmrgs,@build_os@,$build_os,;t t
39852c7c4e3dSmrgs,@host@,$host,;t t
39862c7c4e3dSmrgs,@host_cpu@,$host_cpu,;t t
39872c7c4e3dSmrgs,@host_vendor@,$host_vendor,;t t
39882c7c4e3dSmrgs,@host_os@,$host_os,;t t
39892c7c4e3dSmrgs,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
39902c7c4e3dSmrgs,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
39912c7c4e3dSmrgs,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
39922c7c4e3dSmrgs,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
39932c7c4e3dSmrgs,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
39942c7c4e3dSmrgs,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
39952c7c4e3dSmrgs,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
39962c7c4e3dSmrgs,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
39972c7c4e3dSmrgs,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
39982c7c4e3dSmrgs,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
39992c7c4e3dSmrgs,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
40002c7c4e3dSmrgs,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
40012c7c4e3dSmrgs,@LIBOBJS@,$LIBOBJS,;t t
40022c7c4e3dSmrgs,@LTLIBOBJS@,$LTLIBOBJS,;t t
40032c7c4e3dSmrgCEOF
40042c7c4e3dSmrg
40052c7c4e3dSmrg_ACEOF
40062c7c4e3dSmrg
40072c7c4e3dSmrg  cat >>$CONFIG_STATUS <<\_ACEOF
40082c7c4e3dSmrg  # Split the substitutions into bite-sized pieces for seds with
40092c7c4e3dSmrg  # small command number limits, like on Digital OSF/1 and HP-UX.
40102c7c4e3dSmrg  ac_max_sed_lines=48
40112c7c4e3dSmrg  ac_sed_frag=1 # Number of current file.
40122c7c4e3dSmrg  ac_beg=1 # First line for current file.
40132c7c4e3dSmrg  ac_end=$ac_max_sed_lines # Line after last line for current file.
40142c7c4e3dSmrg  ac_more_lines=:
40152c7c4e3dSmrg  ac_sed_cmds=
40162c7c4e3dSmrg  while $ac_more_lines; do
40172c7c4e3dSmrg    if test $ac_beg -gt 1; then
40182c7c4e3dSmrg      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40192c7c4e3dSmrg    else
40202c7c4e3dSmrg      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40212c7c4e3dSmrg    fi
40222c7c4e3dSmrg    if test ! -s $tmp/subs.frag; then
40232c7c4e3dSmrg      ac_more_lines=false
40242c7c4e3dSmrg    else
40252c7c4e3dSmrg      # The purpose of the label and of the branching condition is to
40262c7c4e3dSmrg      # speed up the sed processing (if there are no `@' at all, there
40272c7c4e3dSmrg      # is no need to browse any of the substitutions).
40282c7c4e3dSmrg      # These are the two extra sed commands mentioned above.
40292c7c4e3dSmrg      (echo ':t
40302c7c4e3dSmrg  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40312c7c4e3dSmrg      if test -z "$ac_sed_cmds"; then
40322c7c4e3dSmrg	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40332c7c4e3dSmrg      else
40342c7c4e3dSmrg	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40352c7c4e3dSmrg      fi
40362c7c4e3dSmrg      ac_sed_frag=`expr $ac_sed_frag + 1`
40372c7c4e3dSmrg      ac_beg=$ac_end
40382c7c4e3dSmrg      ac_end=`expr $ac_end + $ac_max_sed_lines`
40392c7c4e3dSmrg    fi
40402c7c4e3dSmrg  done
40412c7c4e3dSmrg  if test -z "$ac_sed_cmds"; then
40422c7c4e3dSmrg    ac_sed_cmds=cat
40432c7c4e3dSmrg  fi
40442c7c4e3dSmrgfi # test -n "$CONFIG_FILES"
40452c7c4e3dSmrg
40462c7c4e3dSmrg_ACEOF
40472c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
40482c7c4e3dSmrgfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
40492c7c4e3dSmrg  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40502c7c4e3dSmrg  case $ac_file in
40512c7c4e3dSmrg  - | *:- | *:-:* ) # input from stdin
40522c7c4e3dSmrg	cat >$tmp/stdin
40532c7c4e3dSmrg	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40542c7c4e3dSmrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40552c7c4e3dSmrg  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40562c7c4e3dSmrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40572c7c4e3dSmrg  * )   ac_file_in=$ac_file.in ;;
40582c7c4e3dSmrg  esac
40592c7c4e3dSmrg
40602c7c4e3dSmrg  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40612c7c4e3dSmrg  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40622c7c4e3dSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40632c7c4e3dSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
40642c7c4e3dSmrg	 X"$ac_file" : 'X\(//\)$' \| \
40652c7c4e3dSmrg	 X"$ac_file" : 'X\(/\)' \| \
40662c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
40672c7c4e3dSmrgecho X"$ac_file" |
40682c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40692c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40702c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
40712c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
40722c7c4e3dSmrg  	  s/.*/./; q'`
40732c7c4e3dSmrg  { if $as_mkdir_p; then
40742c7c4e3dSmrg    mkdir -p "$ac_dir"
40752c7c4e3dSmrg  else
40762c7c4e3dSmrg    as_dir="$ac_dir"
40772c7c4e3dSmrg    as_dirs=
40782c7c4e3dSmrg    while test ! -d "$as_dir"; do
40792c7c4e3dSmrg      as_dirs="$as_dir $as_dirs"
40802c7c4e3dSmrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
40812c7c4e3dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40822c7c4e3dSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
40832c7c4e3dSmrg	 X"$as_dir" : 'X\(//\)$' \| \
40842c7c4e3dSmrg	 X"$as_dir" : 'X\(/\)' \| \
40852c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
40862c7c4e3dSmrgecho X"$as_dir" |
40872c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40882c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40892c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
40902c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
40912c7c4e3dSmrg  	  s/.*/./; q'`
40922c7c4e3dSmrg    done
40932c7c4e3dSmrg    test ! -n "$as_dirs" || mkdir $as_dirs
40942c7c4e3dSmrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40952c7c4e3dSmrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40962c7c4e3dSmrg   { (exit 1); exit 1; }; }; }
40972c7c4e3dSmrg
40982c7c4e3dSmrg  ac_builddir=.
40992c7c4e3dSmrg
41002c7c4e3dSmrgif test "$ac_dir" != .; then
41012c7c4e3dSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41022c7c4e3dSmrg  # A "../" for each directory in $ac_dir_suffix.
41032c7c4e3dSmrg  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41042c7c4e3dSmrgelse
41052c7c4e3dSmrg  ac_dir_suffix= ac_top_builddir=
41062c7c4e3dSmrgfi
41072c7c4e3dSmrg
41082c7c4e3dSmrgcase $srcdir in
41092c7c4e3dSmrg  .)  # No --srcdir option.  We are building in place.
41102c7c4e3dSmrg    ac_srcdir=.
41112c7c4e3dSmrg    if test -z "$ac_top_builddir"; then
41122c7c4e3dSmrg       ac_top_srcdir=.
41132c7c4e3dSmrg    else
41142c7c4e3dSmrg       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41152c7c4e3dSmrg    fi ;;
41162c7c4e3dSmrg  [\\/]* | ?:[\\/]* )  # Absolute path.
41172c7c4e3dSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
41182c7c4e3dSmrg    ac_top_srcdir=$srcdir ;;
41192c7c4e3dSmrg  *) # Relative path.
41202c7c4e3dSmrg    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41212c7c4e3dSmrg    ac_top_srcdir=$ac_top_builddir$srcdir ;;
41222c7c4e3dSmrgesac
41232c7c4e3dSmrg
41242c7c4e3dSmrg# Do not use `cd foo && pwd` to compute absolute paths, because
41252c7c4e3dSmrg# the directories may not exist.
41262c7c4e3dSmrgcase `pwd` in
41272c7c4e3dSmrg.) ac_abs_builddir="$ac_dir";;
41282c7c4e3dSmrg*)
41292c7c4e3dSmrg  case "$ac_dir" in
41302c7c4e3dSmrg  .) ac_abs_builddir=`pwd`;;
41312c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41322c7c4e3dSmrg  *) ac_abs_builddir=`pwd`/"$ac_dir";;
41332c7c4e3dSmrg  esac;;
41342c7c4e3dSmrgesac
41352c7c4e3dSmrgcase $ac_abs_builddir in
41362c7c4e3dSmrg.) ac_abs_top_builddir=${ac_top_builddir}.;;
41372c7c4e3dSmrg*)
41382c7c4e3dSmrg  case ${ac_top_builddir}. in
41392c7c4e3dSmrg  .) ac_abs_top_builddir=$ac_abs_builddir;;
41402c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41412c7c4e3dSmrg  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41422c7c4e3dSmrg  esac;;
41432c7c4e3dSmrgesac
41442c7c4e3dSmrgcase $ac_abs_builddir in
41452c7c4e3dSmrg.) ac_abs_srcdir=$ac_srcdir;;
41462c7c4e3dSmrg*)
41472c7c4e3dSmrg  case $ac_srcdir in
41482c7c4e3dSmrg  .) ac_abs_srcdir=$ac_abs_builddir;;
41492c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41502c7c4e3dSmrg  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41512c7c4e3dSmrg  esac;;
41522c7c4e3dSmrgesac
41532c7c4e3dSmrgcase $ac_abs_builddir in
41542c7c4e3dSmrg.) ac_abs_top_srcdir=$ac_top_srcdir;;
41552c7c4e3dSmrg*)
41562c7c4e3dSmrg  case $ac_top_srcdir in
41572c7c4e3dSmrg  .) ac_abs_top_srcdir=$ac_abs_builddir;;
41582c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41592c7c4e3dSmrg  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41602c7c4e3dSmrg  esac;;
41612c7c4e3dSmrgesac
41622c7c4e3dSmrg
41632c7c4e3dSmrg
41642c7c4e3dSmrg  case $INSTALL in
41652c7c4e3dSmrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
41662c7c4e3dSmrg  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
41672c7c4e3dSmrg  esac
41682c7c4e3dSmrg
41692c7c4e3dSmrg  if test x"$ac_file" != x-; then
41702c7c4e3dSmrg    { echo "$as_me:$LINENO: creating $ac_file" >&5
41712c7c4e3dSmrgecho "$as_me: creating $ac_file" >&6;}
41722c7c4e3dSmrg    rm -f "$ac_file"
41732c7c4e3dSmrg  fi
41742c7c4e3dSmrg  # Let's still pretend it is `configure' which instantiates (i.e., don't
41752c7c4e3dSmrg  # use $as_me), people would be surprised to read:
41762c7c4e3dSmrg  #    /* config.h.  Generated by config.status.  */
41772c7c4e3dSmrg  if test x"$ac_file" = x-; then
41782c7c4e3dSmrg    configure_input=
41792c7c4e3dSmrg  else
41802c7c4e3dSmrg    configure_input="$ac_file.  "
41812c7c4e3dSmrg  fi
41822c7c4e3dSmrg  configure_input=$configure_input"Generated from `echo $ac_file_in |
41832c7c4e3dSmrg				     sed 's,.*/,,'` by configure."
41842c7c4e3dSmrg
41852c7c4e3dSmrg  # First look for the input files in the build tree, otherwise in the
41862c7c4e3dSmrg  # src tree.
41872c7c4e3dSmrg  ac_file_inputs=`IFS=:
41882c7c4e3dSmrg    for f in $ac_file_in; do
41892c7c4e3dSmrg      case $f in
41902c7c4e3dSmrg      -) echo $tmp/stdin ;;
41912c7c4e3dSmrg      [\\/$]*)
41922c7c4e3dSmrg	 # Absolute (can't be DOS-style, as IFS=:)
41932c7c4e3dSmrg	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41942c7c4e3dSmrgecho "$as_me: error: cannot find input file: $f" >&2;}
41952c7c4e3dSmrg   { (exit 1); exit 1; }; }
41962c7c4e3dSmrg	 echo "$f";;
41972c7c4e3dSmrg      *) # Relative
41982c7c4e3dSmrg	 if test -f "$f"; then
41992c7c4e3dSmrg	   # Build tree
42002c7c4e3dSmrg	   echo "$f"
42012c7c4e3dSmrg	 elif test -f "$srcdir/$f"; then
42022c7c4e3dSmrg	   # Source tree
42032c7c4e3dSmrg	   echo "$srcdir/$f"
42042c7c4e3dSmrg	 else
42052c7c4e3dSmrg	   # /dev/null tree
42062c7c4e3dSmrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42072c7c4e3dSmrgecho "$as_me: error: cannot find input file: $f" >&2;}
42082c7c4e3dSmrg   { (exit 1); exit 1; }; }
42092c7c4e3dSmrg	 fi;;
42102c7c4e3dSmrg      esac
42112c7c4e3dSmrg    done` || { (exit 1); exit 1; }
42122c7c4e3dSmrg_ACEOF
42132c7c4e3dSmrgcat >>$CONFIG_STATUS <<_ACEOF
42142c7c4e3dSmrg  sed "$ac_vpsub
42152c7c4e3dSmrg$extrasub
42162c7c4e3dSmrg_ACEOF
42172c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
42182c7c4e3dSmrg:t
42192c7c4e3dSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42202c7c4e3dSmrgs,@configure_input@,$configure_input,;t t
42212c7c4e3dSmrgs,@srcdir@,$ac_srcdir,;t t
42222c7c4e3dSmrgs,@abs_srcdir@,$ac_abs_srcdir,;t t
42232c7c4e3dSmrgs,@top_srcdir@,$ac_top_srcdir,;t t
42242c7c4e3dSmrgs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
42252c7c4e3dSmrgs,@builddir@,$ac_builddir,;t t
42262c7c4e3dSmrgs,@abs_builddir@,$ac_abs_builddir,;t t
42272c7c4e3dSmrgs,@top_builddir@,$ac_top_builddir,;t t
42282c7c4e3dSmrgs,@abs_top_builddir@,$ac_abs_top_builddir,;t t
42292c7c4e3dSmrgs,@INSTALL@,$ac_INSTALL,;t t
42302c7c4e3dSmrg" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42312c7c4e3dSmrg  rm -f $tmp/stdin
42322c7c4e3dSmrg  if test x"$ac_file" != x-; then
42332c7c4e3dSmrg    mv $tmp/out $ac_file
42342c7c4e3dSmrg  else
42352c7c4e3dSmrg    cat $tmp/out
42362c7c4e3dSmrg    rm -f $tmp/out
42372c7c4e3dSmrg  fi
42382c7c4e3dSmrg
42392c7c4e3dSmrgdone
42402c7c4e3dSmrg_ACEOF
42412c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
42422c7c4e3dSmrg
42432c7c4e3dSmrg#
42442c7c4e3dSmrg# CONFIG_HEADER section.
42452c7c4e3dSmrg#
42462c7c4e3dSmrg
42472c7c4e3dSmrg# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
42482c7c4e3dSmrg# NAME is the cpp macro being defined and VALUE is the value it is being given.
42492c7c4e3dSmrg#
42502c7c4e3dSmrg# ac_d sets the value in "#define NAME VALUE" lines.
42512c7c4e3dSmrgac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
42522c7c4e3dSmrgac_dB='[	 ].*$,\1#\2'
42532c7c4e3dSmrgac_dC=' '
42542c7c4e3dSmrgac_dD=',;t'
42552c7c4e3dSmrg# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42562c7c4e3dSmrgac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
42572c7c4e3dSmrgac_uB='$,\1#\2define\3'
42582c7c4e3dSmrgac_uC=' '
42592c7c4e3dSmrgac_uD=',;t'
42602c7c4e3dSmrg
42612c7c4e3dSmrgfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
42622c7c4e3dSmrg  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42632c7c4e3dSmrg  case $ac_file in
42642c7c4e3dSmrg  - | *:- | *:-:* ) # input from stdin
42652c7c4e3dSmrg	cat >$tmp/stdin
42662c7c4e3dSmrg	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42672c7c4e3dSmrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42682c7c4e3dSmrg  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
42692c7c4e3dSmrg	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
42702c7c4e3dSmrg  * )   ac_file_in=$ac_file.in ;;
42712c7c4e3dSmrg  esac
42722c7c4e3dSmrg
42732c7c4e3dSmrg  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42742c7c4e3dSmrgecho "$as_me: creating $ac_file" >&6;}
42752c7c4e3dSmrg
42762c7c4e3dSmrg  # First look for the input files in the build tree, otherwise in the
42772c7c4e3dSmrg  # src tree.
42782c7c4e3dSmrg  ac_file_inputs=`IFS=:
42792c7c4e3dSmrg    for f in $ac_file_in; do
42802c7c4e3dSmrg      case $f in
42812c7c4e3dSmrg      -) echo $tmp/stdin ;;
42822c7c4e3dSmrg      [\\/$]*)
42832c7c4e3dSmrg	 # Absolute (can't be DOS-style, as IFS=:)
42842c7c4e3dSmrg	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42852c7c4e3dSmrgecho "$as_me: error: cannot find input file: $f" >&2;}
42862c7c4e3dSmrg   { (exit 1); exit 1; }; }
42872c7c4e3dSmrg	 # Do quote $f, to prevent DOS paths from being IFS'd.
42882c7c4e3dSmrg	 echo "$f";;
42892c7c4e3dSmrg      *) # Relative
42902c7c4e3dSmrg	 if test -f "$f"; then
42912c7c4e3dSmrg	   # Build tree
42922c7c4e3dSmrg	   echo "$f"
42932c7c4e3dSmrg	 elif test -f "$srcdir/$f"; then
42942c7c4e3dSmrg	   # Source tree
42952c7c4e3dSmrg	   echo "$srcdir/$f"
42962c7c4e3dSmrg	 else
42972c7c4e3dSmrg	   # /dev/null tree
42982c7c4e3dSmrg	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42992c7c4e3dSmrgecho "$as_me: error: cannot find input file: $f" >&2;}
43002c7c4e3dSmrg   { (exit 1); exit 1; }; }
43012c7c4e3dSmrg	 fi;;
43022c7c4e3dSmrg      esac
43032c7c4e3dSmrg    done` || { (exit 1); exit 1; }
43042c7c4e3dSmrg  # Remove the trailing spaces.
43052c7c4e3dSmrg  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
43062c7c4e3dSmrg
43072c7c4e3dSmrg_ACEOF
43082c7c4e3dSmrg
43092c7c4e3dSmrg# Transform confdefs.h into two sed scripts, `conftest.defines' and
43102c7c4e3dSmrg# `conftest.undefs', that substitutes the proper values into
43112c7c4e3dSmrg# config.h.in to produce config.h.  The first handles `#define'
43122c7c4e3dSmrg# templates, and the second `#undef' templates.
43132c7c4e3dSmrg# And first: Protect against being on the right side of a sed subst in
43142c7c4e3dSmrg# config.status.  Protect against being in an unquoted here document
43152c7c4e3dSmrg# in config.status.
43162c7c4e3dSmrgrm -f conftest.defines conftest.undefs
43172c7c4e3dSmrg# Using a here document instead of a string reduces the quoting nightmare.
43182c7c4e3dSmrg# Putting comments in sed scripts is not portable.
43192c7c4e3dSmrg#
43202c7c4e3dSmrg# `end' is used to avoid that the second main sed command (meant for
43212c7c4e3dSmrg# 0-ary CPP macros) applies to n-ary macro definitions.
43222c7c4e3dSmrg# See the Autoconf documentation for `clear'.
43232c7c4e3dSmrgcat >confdef2sed.sed <<\_ACEOF
43242c7c4e3dSmrgs/[\\&,]/\\&/g
43252c7c4e3dSmrgs,[\\$`],\\&,g
43262c7c4e3dSmrgt clear
43272c7c4e3dSmrg: clear
43282c7c4e3dSmrgs,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43292c7c4e3dSmrgt end
43302c7c4e3dSmrgs,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43312c7c4e3dSmrg: end
43322c7c4e3dSmrg_ACEOF
43332c7c4e3dSmrg# If some macros were called several times there might be several times
43342c7c4e3dSmrg# the same #defines, which is useless.  Nevertheless, we may not want to
43352c7c4e3dSmrg# sort them, since we want the *last* AC-DEFINE to be honored.
43362c7c4e3dSmrguniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43372c7c4e3dSmrgsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43382c7c4e3dSmrgrm -f confdef2sed.sed
43392c7c4e3dSmrg
43402c7c4e3dSmrg# This sed command replaces #undef with comments.  This is necessary, for
43412c7c4e3dSmrg# example, in the case of _POSIX_SOURCE, which is predefined and required
43422c7c4e3dSmrg# on some systems where configure will not decide to define it.
43432c7c4e3dSmrgcat >>conftest.undefs <<\_ACEOF
43442c7c4e3dSmrgs,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43452c7c4e3dSmrg_ACEOF
43462c7c4e3dSmrg
43472c7c4e3dSmrg# Break up conftest.defines because some shells have a limit on the size
43482c7c4e3dSmrg# of here documents, and old seds have small limits too (100 cmds).
43492c7c4e3dSmrgecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43502c7c4e3dSmrgecho '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43512c7c4e3dSmrgecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43522c7c4e3dSmrgecho '  :' >>$CONFIG_STATUS
43532c7c4e3dSmrgrm -f conftest.tail
43542c7c4e3dSmrgwhile grep . conftest.defines >/dev/null
43552c7c4e3dSmrgdo
43562c7c4e3dSmrg  # Write a limited-size here document to $tmp/defines.sed.
43572c7c4e3dSmrg  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43582c7c4e3dSmrg  # Speed up: don't consider the non `#define' lines.
43592c7c4e3dSmrg  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
43602c7c4e3dSmrg  # Work around the forget-to-reset-the-flag bug.
43612c7c4e3dSmrg  echo 't clr' >>$CONFIG_STATUS
43622c7c4e3dSmrg  echo ': clr' >>$CONFIG_STATUS
43632c7c4e3dSmrg  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43642c7c4e3dSmrg  echo 'CEOF
43652c7c4e3dSmrg  sed -f $tmp/defines.sed $tmp/in >$tmp/out
43662c7c4e3dSmrg  rm -f $tmp/in
43672c7c4e3dSmrg  mv $tmp/out $tmp/in
43682c7c4e3dSmrg' >>$CONFIG_STATUS
43692c7c4e3dSmrg  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43702c7c4e3dSmrg  rm -f conftest.defines
43712c7c4e3dSmrg  mv conftest.tail conftest.defines
43722c7c4e3dSmrgdone
43732c7c4e3dSmrgrm -f conftest.defines
43742c7c4e3dSmrgecho '  fi # grep' >>$CONFIG_STATUS
43752c7c4e3dSmrgecho >>$CONFIG_STATUS
43762c7c4e3dSmrg
43772c7c4e3dSmrg# Break up conftest.undefs because some shells have a limit on the size
43782c7c4e3dSmrg# of here documents, and old seds have small limits too (100 cmds).
43792c7c4e3dSmrgecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
43802c7c4e3dSmrgrm -f conftest.tail
43812c7c4e3dSmrgwhile grep . conftest.undefs >/dev/null
43822c7c4e3dSmrgdo
43832c7c4e3dSmrg  # Write a limited-size here document to $tmp/undefs.sed.
43842c7c4e3dSmrg  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43852c7c4e3dSmrg  # Speed up: don't consider the non `#undef'
43862c7c4e3dSmrg  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
43872c7c4e3dSmrg  # Work around the forget-to-reset-the-flag bug.
43882c7c4e3dSmrg  echo 't clr' >>$CONFIG_STATUS
43892c7c4e3dSmrg  echo ': clr' >>$CONFIG_STATUS
43902c7c4e3dSmrg  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43912c7c4e3dSmrg  echo 'CEOF
43922c7c4e3dSmrg  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43932c7c4e3dSmrg  rm -f $tmp/in
43942c7c4e3dSmrg  mv $tmp/out $tmp/in
43952c7c4e3dSmrg' >>$CONFIG_STATUS
43962c7c4e3dSmrg  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43972c7c4e3dSmrg  rm -f conftest.undefs
43982c7c4e3dSmrg  mv conftest.tail conftest.undefs
43992c7c4e3dSmrgdone
44002c7c4e3dSmrgrm -f conftest.undefs
44012c7c4e3dSmrg
44022c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
44032c7c4e3dSmrg  # Let's still pretend it is `configure' which instantiates (i.e., don't
44042c7c4e3dSmrg  # use $as_me), people would be surprised to read:
44052c7c4e3dSmrg  #    /* config.h.  Generated by config.status.  */
44062c7c4e3dSmrg  if test x"$ac_file" = x-; then
44072c7c4e3dSmrg    echo "/* Generated by configure.  */" >$tmp/config.h
44082c7c4e3dSmrg  else
44092c7c4e3dSmrg    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
44102c7c4e3dSmrg  fi
44112c7c4e3dSmrg  cat $tmp/in >>$tmp/config.h
44122c7c4e3dSmrg  rm -f $tmp/in
44132c7c4e3dSmrg  if test x"$ac_file" != x-; then
44142c7c4e3dSmrg    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
44152c7c4e3dSmrg      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44162c7c4e3dSmrgecho "$as_me: $ac_file is unchanged" >&6;}
44172c7c4e3dSmrg    else
44182c7c4e3dSmrg      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44192c7c4e3dSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44202c7c4e3dSmrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
44212c7c4e3dSmrg	 X"$ac_file" : 'X\(//\)$' \| \
44222c7c4e3dSmrg	 X"$ac_file" : 'X\(/\)' \| \
44232c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
44242c7c4e3dSmrgecho X"$ac_file" |
44252c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44262c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44272c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
44282c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
44292c7c4e3dSmrg  	  s/.*/./; q'`
44302c7c4e3dSmrg      { if $as_mkdir_p; then
44312c7c4e3dSmrg    mkdir -p "$ac_dir"
44322c7c4e3dSmrg  else
44332c7c4e3dSmrg    as_dir="$ac_dir"
44342c7c4e3dSmrg    as_dirs=
44352c7c4e3dSmrg    while test ! -d "$as_dir"; do
44362c7c4e3dSmrg      as_dirs="$as_dir $as_dirs"
44372c7c4e3dSmrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
44382c7c4e3dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44392c7c4e3dSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
44402c7c4e3dSmrg	 X"$as_dir" : 'X\(//\)$' \| \
44412c7c4e3dSmrg	 X"$as_dir" : 'X\(/\)' \| \
44422c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
44432c7c4e3dSmrgecho X"$as_dir" |
44442c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44452c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44462c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
44472c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
44482c7c4e3dSmrg  	  s/.*/./; q'`
44492c7c4e3dSmrg    done
44502c7c4e3dSmrg    test ! -n "$as_dirs" || mkdir $as_dirs
44512c7c4e3dSmrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44522c7c4e3dSmrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44532c7c4e3dSmrg   { (exit 1); exit 1; }; }; }
44542c7c4e3dSmrg
44552c7c4e3dSmrg      rm -f $ac_file
44562c7c4e3dSmrg      mv $tmp/config.h $ac_file
44572c7c4e3dSmrg    fi
44582c7c4e3dSmrg  else
44592c7c4e3dSmrg    cat $tmp/config.h
44602c7c4e3dSmrg    rm -f $tmp/config.h
44612c7c4e3dSmrg  fi
44622c7c4e3dSmrg# Compute $ac_file's index in $config_headers.
44632c7c4e3dSmrg_am_stamp_count=1
44642c7c4e3dSmrgfor _am_header in $config_headers :; do
44652c7c4e3dSmrg  case $_am_header in
44662c7c4e3dSmrg    $ac_file | $ac_file:* )
44672c7c4e3dSmrg      break ;;
44682c7c4e3dSmrg    * )
44692c7c4e3dSmrg      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
44702c7c4e3dSmrg  esac
44712c7c4e3dSmrgdone
44722c7c4e3dSmrgecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
44732c7c4e3dSmrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44742c7c4e3dSmrg	 X$ac_file : 'X\(//\)[^/]' \| \
44752c7c4e3dSmrg	 X$ac_file : 'X\(//\)$' \| \
44762c7c4e3dSmrg	 X$ac_file : 'X\(/\)' \| \
44772c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
44782c7c4e3dSmrgecho X$ac_file |
44792c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44802c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44812c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
44822c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
44832c7c4e3dSmrg  	  s/.*/./; q'`/stamp-h$_am_stamp_count
44842c7c4e3dSmrgdone
44852c7c4e3dSmrg_ACEOF
44862c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
44872c7c4e3dSmrg
44882c7c4e3dSmrg#
44892c7c4e3dSmrg# CONFIG_COMMANDS section.
44902c7c4e3dSmrg#
44912c7c4e3dSmrgfor ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
44922c7c4e3dSmrg  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
44932c7c4e3dSmrg  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
44942c7c4e3dSmrg  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
44952c7c4e3dSmrg$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44962c7c4e3dSmrg	 X"$ac_dest" : 'X\(//\)[^/]' \| \
44972c7c4e3dSmrg	 X"$ac_dest" : 'X\(//\)$' \| \
44982c7c4e3dSmrg	 X"$ac_dest" : 'X\(/\)' \| \
44992c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
45002c7c4e3dSmrgecho X"$ac_dest" |
45012c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45022c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45032c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
45042c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
45052c7c4e3dSmrg  	  s/.*/./; q'`
45062c7c4e3dSmrg  { if $as_mkdir_p; then
45072c7c4e3dSmrg    mkdir -p "$ac_dir"
45082c7c4e3dSmrg  else
45092c7c4e3dSmrg    as_dir="$ac_dir"
45102c7c4e3dSmrg    as_dirs=
45112c7c4e3dSmrg    while test ! -d "$as_dir"; do
45122c7c4e3dSmrg      as_dirs="$as_dir $as_dirs"
45132c7c4e3dSmrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
45142c7c4e3dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45152c7c4e3dSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
45162c7c4e3dSmrg	 X"$as_dir" : 'X\(//\)$' \| \
45172c7c4e3dSmrg	 X"$as_dir" : 'X\(/\)' \| \
45182c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
45192c7c4e3dSmrgecho X"$as_dir" |
45202c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45212c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45222c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
45232c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
45242c7c4e3dSmrg  	  s/.*/./; q'`
45252c7c4e3dSmrg    done
45262c7c4e3dSmrg    test ! -n "$as_dirs" || mkdir $as_dirs
45272c7c4e3dSmrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45282c7c4e3dSmrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45292c7c4e3dSmrg   { (exit 1); exit 1; }; }; }
45302c7c4e3dSmrg
45312c7c4e3dSmrg  ac_builddir=.
45322c7c4e3dSmrg
45332c7c4e3dSmrgif test "$ac_dir" != .; then
45342c7c4e3dSmrg  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45352c7c4e3dSmrg  # A "../" for each directory in $ac_dir_suffix.
45362c7c4e3dSmrg  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45372c7c4e3dSmrgelse
45382c7c4e3dSmrg  ac_dir_suffix= ac_top_builddir=
45392c7c4e3dSmrgfi
45402c7c4e3dSmrg
45412c7c4e3dSmrgcase $srcdir in
45422c7c4e3dSmrg  .)  # No --srcdir option.  We are building in place.
45432c7c4e3dSmrg    ac_srcdir=.
45442c7c4e3dSmrg    if test -z "$ac_top_builddir"; then
45452c7c4e3dSmrg       ac_top_srcdir=.
45462c7c4e3dSmrg    else
45472c7c4e3dSmrg       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45482c7c4e3dSmrg    fi ;;
45492c7c4e3dSmrg  [\\/]* | ?:[\\/]* )  # Absolute path.
45502c7c4e3dSmrg    ac_srcdir=$srcdir$ac_dir_suffix;
45512c7c4e3dSmrg    ac_top_srcdir=$srcdir ;;
45522c7c4e3dSmrg  *) # Relative path.
45532c7c4e3dSmrg    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45542c7c4e3dSmrg    ac_top_srcdir=$ac_top_builddir$srcdir ;;
45552c7c4e3dSmrgesac
45562c7c4e3dSmrg
45572c7c4e3dSmrg# Do not use `cd foo && pwd` to compute absolute paths, because
45582c7c4e3dSmrg# the directories may not exist.
45592c7c4e3dSmrgcase `pwd` in
45602c7c4e3dSmrg.) ac_abs_builddir="$ac_dir";;
45612c7c4e3dSmrg*)
45622c7c4e3dSmrg  case "$ac_dir" in
45632c7c4e3dSmrg  .) ac_abs_builddir=`pwd`;;
45642c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45652c7c4e3dSmrg  *) ac_abs_builddir=`pwd`/"$ac_dir";;
45662c7c4e3dSmrg  esac;;
45672c7c4e3dSmrgesac
45682c7c4e3dSmrgcase $ac_abs_builddir in
45692c7c4e3dSmrg.) ac_abs_top_builddir=${ac_top_builddir}.;;
45702c7c4e3dSmrg*)
45712c7c4e3dSmrg  case ${ac_top_builddir}. in
45722c7c4e3dSmrg  .) ac_abs_top_builddir=$ac_abs_builddir;;
45732c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45742c7c4e3dSmrg  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45752c7c4e3dSmrg  esac;;
45762c7c4e3dSmrgesac
45772c7c4e3dSmrgcase $ac_abs_builddir in
45782c7c4e3dSmrg.) ac_abs_srcdir=$ac_srcdir;;
45792c7c4e3dSmrg*)
45802c7c4e3dSmrg  case $ac_srcdir in
45812c7c4e3dSmrg  .) ac_abs_srcdir=$ac_abs_builddir;;
45822c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45832c7c4e3dSmrg  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45842c7c4e3dSmrg  esac;;
45852c7c4e3dSmrgesac
45862c7c4e3dSmrgcase $ac_abs_builddir in
45872c7c4e3dSmrg.) ac_abs_top_srcdir=$ac_top_srcdir;;
45882c7c4e3dSmrg*)
45892c7c4e3dSmrg  case $ac_top_srcdir in
45902c7c4e3dSmrg  .) ac_abs_top_srcdir=$ac_abs_builddir;;
45912c7c4e3dSmrg  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45922c7c4e3dSmrg  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45932c7c4e3dSmrg  esac;;
45942c7c4e3dSmrgesac
45952c7c4e3dSmrg
45962c7c4e3dSmrg
45972c7c4e3dSmrg  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45982c7c4e3dSmrgecho "$as_me: executing $ac_dest commands" >&6;}
45992c7c4e3dSmrg  case $ac_dest in
46002c7c4e3dSmrg    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
46012c7c4e3dSmrg  # Strip MF so we end up with the name of the file.
46022c7c4e3dSmrg  mf=`echo "$mf" | sed -e 's/:.*$//'`
46032c7c4e3dSmrg  # Check whether this is an Automake generated Makefile or not.
46042c7c4e3dSmrg  # We used to match only the files named `Makefile.in', but
46052c7c4e3dSmrg  # some people rename them; so instead we look at the file content.
46062c7c4e3dSmrg  # Grep'ing the first line is not enough: some people post-process
46072c7c4e3dSmrg  # each Makefile.in and add a new line on top of each file to say so.
46082c7c4e3dSmrg  # So let's grep whole file.
46092c7c4e3dSmrg  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
46102c7c4e3dSmrg    dirpart=`(dirname "$mf") 2>/dev/null ||
46112c7c4e3dSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46122c7c4e3dSmrg	 X"$mf" : 'X\(//\)[^/]' \| \
46132c7c4e3dSmrg	 X"$mf" : 'X\(//\)$' \| \
46142c7c4e3dSmrg	 X"$mf" : 'X\(/\)' \| \
46152c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
46162c7c4e3dSmrgecho X"$mf" |
46172c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46182c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46192c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
46202c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
46212c7c4e3dSmrg  	  s/.*/./; q'`
46222c7c4e3dSmrg  else
46232c7c4e3dSmrg    continue
46242c7c4e3dSmrg  fi
46252c7c4e3dSmrg  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
46262c7c4e3dSmrg  # Extract the definition of DEP_FILES from the Makefile without
46272c7c4e3dSmrg  # running `make'.
46282c7c4e3dSmrg  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
46292c7c4e3dSmrg  test -z "$DEPDIR" && continue
46302c7c4e3dSmrg  # When using ansi2knr, U may be empty or an underscore; expand it
46312c7c4e3dSmrg  U=`sed -n -e '/^U = / s///p' < "$mf"`
46322c7c4e3dSmrg  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
46332c7c4e3dSmrg  # We invoke sed twice because it is the simplest approach to
46342c7c4e3dSmrg  # changing $(DEPDIR) to its actual value in the expansion.
46352c7c4e3dSmrg  for file in `sed -n -e '
46362c7c4e3dSmrg    /^DEP_FILES = .*\\\\$/ {
46372c7c4e3dSmrg      s/^DEP_FILES = //
46382c7c4e3dSmrg      :loop
46392c7c4e3dSmrg	s/\\\\$//
46402c7c4e3dSmrg	p
46412c7c4e3dSmrg	n
46422c7c4e3dSmrg	/\\\\$/ b loop
46432c7c4e3dSmrg      p
46442c7c4e3dSmrg    }
46452c7c4e3dSmrg    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
46462c7c4e3dSmrg       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
46472c7c4e3dSmrg    # Make sure the directory exists.
46482c7c4e3dSmrg    test -f "$dirpart/$file" && continue
46492c7c4e3dSmrg    fdir=`(dirname "$file") 2>/dev/null ||
46502c7c4e3dSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46512c7c4e3dSmrg	 X"$file" : 'X\(//\)[^/]' \| \
46522c7c4e3dSmrg	 X"$file" : 'X\(//\)$' \| \
46532c7c4e3dSmrg	 X"$file" : 'X\(/\)' \| \
46542c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
46552c7c4e3dSmrgecho X"$file" |
46562c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46572c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46582c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
46592c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
46602c7c4e3dSmrg  	  s/.*/./; q'`
46612c7c4e3dSmrg    { if $as_mkdir_p; then
46622c7c4e3dSmrg    mkdir -p $dirpart/$fdir
46632c7c4e3dSmrg  else
46642c7c4e3dSmrg    as_dir=$dirpart/$fdir
46652c7c4e3dSmrg    as_dirs=
46662c7c4e3dSmrg    while test ! -d "$as_dir"; do
46672c7c4e3dSmrg      as_dirs="$as_dir $as_dirs"
46682c7c4e3dSmrg      as_dir=`(dirname "$as_dir") 2>/dev/null ||
46692c7c4e3dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46702c7c4e3dSmrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
46712c7c4e3dSmrg	 X"$as_dir" : 'X\(//\)$' \| \
46722c7c4e3dSmrg	 X"$as_dir" : 'X\(/\)' \| \
46732c7c4e3dSmrg	 .     : '\(.\)' 2>/dev/null ||
46742c7c4e3dSmrgecho X"$as_dir" |
46752c7c4e3dSmrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46762c7c4e3dSmrg  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46772c7c4e3dSmrg  	  /^X\(\/\/\)$/{ s//\1/; q; }
46782c7c4e3dSmrg  	  /^X\(\/\).*/{ s//\1/; q; }
46792c7c4e3dSmrg  	  s/.*/./; q'`
46802c7c4e3dSmrg    done
46812c7c4e3dSmrg    test ! -n "$as_dirs" || mkdir $as_dirs
46822c7c4e3dSmrg  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
46832c7c4e3dSmrgecho "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
46842c7c4e3dSmrg   { (exit 1); exit 1; }; }; }
46852c7c4e3dSmrg
46862c7c4e3dSmrg    # echo "creating $dirpart/$file"
46872c7c4e3dSmrg    echo '# dummy' > "$dirpart/$file"
46882c7c4e3dSmrg  done
46892c7c4e3dSmrgdone
46902c7c4e3dSmrg ;;
46912c7c4e3dSmrg  esac
46922c7c4e3dSmrgdone
46932c7c4e3dSmrg_ACEOF
46942c7c4e3dSmrg
46952c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF
46962c7c4e3dSmrg
46972c7c4e3dSmrg{ (exit 0); exit 0; }
46982c7c4e3dSmrg_ACEOF
46992c7c4e3dSmrgchmod +x $CONFIG_STATUS
47002c7c4e3dSmrgac_clean_files=$ac_clean_files_save
47012c7c4e3dSmrg
47022c7c4e3dSmrg
47032c7c4e3dSmrg# configure is writing to config.log, and then calls config.status.
47042c7c4e3dSmrg# config.status does its own redirection, appending to config.log.
47052c7c4e3dSmrg# Unfortunately, on DOS this fails, as config.log is still kept open
47062c7c4e3dSmrg# by configure, so config.status won't be able to write to it; its
47072c7c4e3dSmrg# output is simply discarded.  So we exec the FD to /dev/null,
47082c7c4e3dSmrg# effectively closing config.log, so it can be properly (re)opened and
47092c7c4e3dSmrg# appended to by config.status.  When coming back to configure, we
47102c7c4e3dSmrg# need to make the FD available again.
47112c7c4e3dSmrgif test "$no_create" != yes; then
47122c7c4e3dSmrg  ac_cs_success=:
47132c7c4e3dSmrg  ac_config_status_args=
47142c7c4e3dSmrg  test "$silent" = yes &&
47152c7c4e3dSmrg    ac_config_status_args="$ac_config_status_args --quiet"
47162c7c4e3dSmrg  exec 5>/dev/null
47172c7c4e3dSmrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
47182c7c4e3dSmrg  exec 5>>config.log
47192c7c4e3dSmrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
47202c7c4e3dSmrg  # would make configure fail if this is the last instruction.
47212c7c4e3dSmrg  $ac_cs_success || { (exit 1); exit 1; }
47222c7c4e3dSmrgfi
47232c7c4e3dSmrg
4724