configure revision 97e8a2e8
197e8a2e8Smrg#! /bin/sh 297e8a2e8Smrg# Guess values for system-dependent variables and create Makefiles. 397e8a2e8Smrg# Generated by GNU Autoconf 2.59 for xclipboard 1.0.1. 497e8a2e8Smrg# 597e8a2e8Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 697e8a2e8Smrg# 797e8a2e8Smrg# Copyright (C) 2003 Free Software Foundation, Inc. 897e8a2e8Smrg# This configure script is free software; the Free Software Foundation 997e8a2e8Smrg# gives unlimited permission to copy, distribute and modify it. 1097e8a2e8Smrg## --------------------- ## 1197e8a2e8Smrg## M4sh Initialization. ## 1297e8a2e8Smrg## --------------------- ## 1397e8a2e8Smrg 1497e8a2e8Smrg# Be Bourne compatible 1597e8a2e8Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1697e8a2e8Smrg emulate sh 1797e8a2e8Smrg NULLCMD=: 1897e8a2e8Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 1997e8a2e8Smrg # is contrary to our usage. Disable this feature. 2097e8a2e8Smrg alias -g '${1+"$@"}'='"$@"' 2197e8a2e8Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 2297e8a2e8Smrg set -o posix 2397e8a2e8Smrgfi 2497e8a2e8SmrgDUALCASE=1; export DUALCASE # for MKS sh 2597e8a2e8Smrg 2697e8a2e8Smrg# Support unset when possible. 2797e8a2e8Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 2897e8a2e8Smrg as_unset=unset 2997e8a2e8Smrgelse 3097e8a2e8Smrg as_unset=false 3197e8a2e8Smrgfi 3297e8a2e8Smrg 3397e8a2e8Smrg 3497e8a2e8Smrg# Work around bugs in pre-3.0 UWIN ksh. 3597e8a2e8Smrg$as_unset ENV MAIL MAILPATH 3697e8a2e8SmrgPS1='$ ' 3797e8a2e8SmrgPS2='> ' 3897e8a2e8SmrgPS4='+ ' 3997e8a2e8Smrg 4097e8a2e8Smrg# NLS nuisances. 4197e8a2e8Smrgfor as_var in \ 4297e8a2e8Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4397e8a2e8Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4497e8a2e8Smrg LC_TELEPHONE LC_TIME 4597e8a2e8Smrgdo 4697e8a2e8Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4797e8a2e8Smrg eval $as_var=C; export $as_var 4897e8a2e8Smrg else 4997e8a2e8Smrg $as_unset $as_var 5097e8a2e8Smrg fi 5197e8a2e8Smrgdone 5297e8a2e8Smrg 5397e8a2e8Smrg# Required to use basename. 5497e8a2e8Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 5597e8a2e8Smrg as_expr=expr 5697e8a2e8Smrgelse 5797e8a2e8Smrg as_expr=false 5897e8a2e8Smrgfi 5997e8a2e8Smrg 6097e8a2e8Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 6197e8a2e8Smrg as_basename=basename 6297e8a2e8Smrgelse 6397e8a2e8Smrg as_basename=false 6497e8a2e8Smrgfi 6597e8a2e8Smrg 6697e8a2e8Smrg 6797e8a2e8Smrg# Name of the executable. 6897e8a2e8Smrgas_me=`$as_basename "$0" || 6997e8a2e8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7097e8a2e8Smrg X"$0" : 'X\(//\)$' \| \ 7197e8a2e8Smrg X"$0" : 'X\(/\)$' \| \ 7297e8a2e8Smrg . : '\(.\)' 2>/dev/null || 7397e8a2e8Smrgecho X/"$0" | 7497e8a2e8Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7597e8a2e8Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 7697e8a2e8Smrg /^X\/\(\/\).*/{ s//\1/; q; } 7797e8a2e8Smrg s/.*/./; q'` 7897e8a2e8Smrg 7997e8a2e8Smrg 8097e8a2e8Smrg# PATH needs CR, and LINENO needs CR and PATH. 8197e8a2e8Smrg# Avoid depending upon Character Ranges. 8297e8a2e8Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 8397e8a2e8Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8497e8a2e8Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 8597e8a2e8Smrgas_cr_digits='0123456789' 8697e8a2e8Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 8797e8a2e8Smrg 8897e8a2e8Smrg# The user is always right. 8997e8a2e8Smrgif test "${PATH_SEPARATOR+set}" != set; then 9097e8a2e8Smrg echo "#! /bin/sh" >conf$$.sh 9197e8a2e8Smrg echo "exit 0" >>conf$$.sh 9297e8a2e8Smrg chmod +x conf$$.sh 9397e8a2e8Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 9497e8a2e8Smrg PATH_SEPARATOR=';' 9597e8a2e8Smrg else 9697e8a2e8Smrg PATH_SEPARATOR=: 9797e8a2e8Smrg fi 9897e8a2e8Smrg rm -f conf$$.sh 9997e8a2e8Smrgfi 10097e8a2e8Smrg 10197e8a2e8Smrg 10297e8a2e8Smrg as_lineno_1=$LINENO 10397e8a2e8Smrg as_lineno_2=$LINENO 10497e8a2e8Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 10597e8a2e8Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 10697e8a2e8Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 10797e8a2e8Smrg # Find who we are. Look in the path if we contain no path at all 10897e8a2e8Smrg # relative or not. 10997e8a2e8Smrg case $0 in 11097e8a2e8Smrg *[\\/]* ) as_myself=$0 ;; 11197e8a2e8Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11297e8a2e8Smrgfor as_dir in $PATH 11397e8a2e8Smrgdo 11497e8a2e8Smrg IFS=$as_save_IFS 11597e8a2e8Smrg test -z "$as_dir" && as_dir=. 11697e8a2e8Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11797e8a2e8Smrgdone 11897e8a2e8Smrg 11997e8a2e8Smrg ;; 12097e8a2e8Smrg esac 12197e8a2e8Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 12297e8a2e8Smrg # in which case we are not to be found in the path. 12397e8a2e8Smrg if test "x$as_myself" = x; then 12497e8a2e8Smrg as_myself=$0 12597e8a2e8Smrg fi 12697e8a2e8Smrg if test ! -f "$as_myself"; then 12797e8a2e8Smrg { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 12897e8a2e8Smrg { (exit 1); exit 1; }; } 12997e8a2e8Smrg fi 13097e8a2e8Smrg case $CONFIG_SHELL in 13197e8a2e8Smrg '') 13297e8a2e8Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13397e8a2e8Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 13497e8a2e8Smrgdo 13597e8a2e8Smrg IFS=$as_save_IFS 13697e8a2e8Smrg test -z "$as_dir" && as_dir=. 13797e8a2e8Smrg for as_base in sh bash ksh sh5; do 13897e8a2e8Smrg case $as_dir in 13997e8a2e8Smrg /*) 14097e8a2e8Smrg if ("$as_dir/$as_base" -c ' 14197e8a2e8Smrg as_lineno_1=$LINENO 14297e8a2e8Smrg as_lineno_2=$LINENO 14397e8a2e8Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 14497e8a2e8Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 14597e8a2e8Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 14697e8a2e8Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 14797e8a2e8Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 14897e8a2e8Smrg CONFIG_SHELL=$as_dir/$as_base 14997e8a2e8Smrg export CONFIG_SHELL 15097e8a2e8Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 15197e8a2e8Smrg fi;; 15297e8a2e8Smrg esac 15397e8a2e8Smrg done 15497e8a2e8Smrgdone 15597e8a2e8Smrg;; 15697e8a2e8Smrg esac 15797e8a2e8Smrg 15897e8a2e8Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 15997e8a2e8Smrg # uniformly replaced by the line number. The first 'sed' inserts a 16097e8a2e8Smrg # line-number line before each line; the second 'sed' does the real 16197e8a2e8Smrg # work. The second script uses 'N' to pair each line-number line 16297e8a2e8Smrg # with the numbered line, and appends trailing '-' during 16397e8a2e8Smrg # substitution so that $LINENO is not a special case at line end. 16497e8a2e8Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16597e8a2e8Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 16697e8a2e8Smrg sed '=' <$as_myself | 16797e8a2e8Smrg sed ' 16897e8a2e8Smrg N 16997e8a2e8Smrg s,$,-, 17097e8a2e8Smrg : loop 17197e8a2e8Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 17297e8a2e8Smrg t loop 17397e8a2e8Smrg s,-$,, 17497e8a2e8Smrg s,^['$as_cr_digits']*\n,, 17597e8a2e8Smrg ' >$as_me.lineno && 17697e8a2e8Smrg chmod +x $as_me.lineno || 17797e8a2e8Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 17897e8a2e8Smrg { (exit 1); exit 1; }; } 17997e8a2e8Smrg 18097e8a2e8Smrg # Don't try to exec as it changes $[0], causing all sort of problems 18197e8a2e8Smrg # (the dirname of $[0] is not the place where we might find the 18297e8a2e8Smrg # original and so on. Autoconf is especially sensible to this). 18397e8a2e8Smrg . ./$as_me.lineno 18497e8a2e8Smrg # Exit status is that of the last command. 18597e8a2e8Smrg exit 18697e8a2e8Smrg} 18797e8a2e8Smrg 18897e8a2e8Smrg 18997e8a2e8Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 19097e8a2e8Smrg *c*,-n*) ECHO_N= ECHO_C=' 19197e8a2e8Smrg' ECHO_T=' ' ;; 19297e8a2e8Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 19397e8a2e8Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 19497e8a2e8Smrgesac 19597e8a2e8Smrg 19697e8a2e8Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 19797e8a2e8Smrg as_expr=expr 19897e8a2e8Smrgelse 19997e8a2e8Smrg as_expr=false 20097e8a2e8Smrgfi 20197e8a2e8Smrg 20297e8a2e8Smrgrm -f conf$$ conf$$.exe conf$$.file 20397e8a2e8Smrgecho >conf$$.file 20497e8a2e8Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 20597e8a2e8Smrg # We could just check for DJGPP; but this test a) works b) is more generic 20697e8a2e8Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 20797e8a2e8Smrg if test -f conf$$.exe; then 20897e8a2e8Smrg # Don't use ln at all; we don't have any links 20997e8a2e8Smrg as_ln_s='cp -p' 21097e8a2e8Smrg else 21197e8a2e8Smrg as_ln_s='ln -s' 21297e8a2e8Smrg fi 21397e8a2e8Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 21497e8a2e8Smrg as_ln_s=ln 21597e8a2e8Smrgelse 21697e8a2e8Smrg as_ln_s='cp -p' 21797e8a2e8Smrgfi 21897e8a2e8Smrgrm -f conf$$ conf$$.exe conf$$.file 21997e8a2e8Smrg 22097e8a2e8Smrgif mkdir -p . 2>/dev/null; then 22197e8a2e8Smrg as_mkdir_p=: 22297e8a2e8Smrgelse 22397e8a2e8Smrg test -d ./-p && rmdir ./-p 22497e8a2e8Smrg as_mkdir_p=false 22597e8a2e8Smrgfi 22697e8a2e8Smrg 22797e8a2e8Smrgas_executable_p="test -f" 22897e8a2e8Smrg 22997e8a2e8Smrg# Sed expression to map a string onto a valid CPP name. 23097e8a2e8Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 23197e8a2e8Smrg 23297e8a2e8Smrg# Sed expression to map a string onto a valid variable name. 23397e8a2e8Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 23497e8a2e8Smrg 23597e8a2e8Smrg 23697e8a2e8Smrg# IFS 23797e8a2e8Smrg# We need space, tab and new line, in precisely that order. 23897e8a2e8Smrgas_nl=' 23997e8a2e8Smrg' 24097e8a2e8SmrgIFS=" $as_nl" 24197e8a2e8Smrg 24297e8a2e8Smrg# CDPATH. 24397e8a2e8Smrg$as_unset CDPATH 24497e8a2e8Smrg 24597e8a2e8Smrg 24697e8a2e8Smrg# Name of the host. 24797e8a2e8Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 24897e8a2e8Smrg# so uname gets run too. 24997e8a2e8Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 25097e8a2e8Smrg 25197e8a2e8Smrgexec 6>&1 25297e8a2e8Smrg 25397e8a2e8Smrg# 25497e8a2e8Smrg# Initializations. 25597e8a2e8Smrg# 25697e8a2e8Smrgac_default_prefix=/usr/local 25797e8a2e8Smrgac_config_libobj_dir=. 25897e8a2e8Smrgcross_compiling=no 25997e8a2e8Smrgsubdirs= 26097e8a2e8SmrgMFLAGS= 26197e8a2e8SmrgMAKEFLAGS= 26297e8a2e8SmrgSHELL=${CONFIG_SHELL-/bin/sh} 26397e8a2e8Smrg 26497e8a2e8Smrg# Maximum number of lines to put in a shell here document. 26597e8a2e8Smrg# This variable seems obsolete. It should probably be removed, and 26697e8a2e8Smrg# only ac_max_sed_lines should be used. 26797e8a2e8Smrg: ${ac_max_here_lines=38} 26897e8a2e8Smrg 26997e8a2e8Smrg# Identity of this package. 27097e8a2e8SmrgPACKAGE_NAME='xclipboard' 27197e8a2e8SmrgPACKAGE_TARNAME='xclipboard' 27297e8a2e8SmrgPACKAGE_VERSION='1.0.1' 27397e8a2e8SmrgPACKAGE_STRING='xclipboard 1.0.1' 27497e8a2e8SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 27597e8a2e8Smrg 27697e8a2e8Smrgac_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 TMP_XAW_CFLAGS TMP_XAW_LIBS XAW_USE_XPRINT_TRUE XAW_USE_XPRINT_FALSE XCLIPBOARD_CFLAGS XCLIPBOARD_LIBS APPDEFS_CFLAGS APPDEFS_LIBS appdefaultdir 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' 27797e8a2e8Smrgac_subst_files='' 27897e8a2e8Smrg 27997e8a2e8Smrg# Initialize some variables set by options. 28097e8a2e8Smrgac_init_help= 28197e8a2e8Smrgac_init_version=false 28297e8a2e8Smrg# The variables have the same names as the options, with 28397e8a2e8Smrg# dashes changed to underlines. 28497e8a2e8Smrgcache_file=/dev/null 28597e8a2e8Smrgexec_prefix=NONE 28697e8a2e8Smrgno_create= 28797e8a2e8Smrgno_recursion= 28897e8a2e8Smrgprefix=NONE 28997e8a2e8Smrgprogram_prefix=NONE 29097e8a2e8Smrgprogram_suffix=NONE 29197e8a2e8Smrgprogram_transform_name=s,x,x, 29297e8a2e8Smrgsilent= 29397e8a2e8Smrgsite= 29497e8a2e8Smrgsrcdir= 29597e8a2e8Smrgverbose= 29697e8a2e8Smrgx_includes=NONE 29797e8a2e8Smrgx_libraries=NONE 29897e8a2e8Smrg 29997e8a2e8Smrg# Installation directory options. 30097e8a2e8Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 30197e8a2e8Smrg# and all the variables that are supposed to be based on exec_prefix 30297e8a2e8Smrg# by default will actually change. 30397e8a2e8Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 30497e8a2e8Smrgbindir='${exec_prefix}/bin' 30597e8a2e8Smrgsbindir='${exec_prefix}/sbin' 30697e8a2e8Smrglibexecdir='${exec_prefix}/libexec' 30797e8a2e8Smrgdatadir='${prefix}/share' 30897e8a2e8Smrgsysconfdir='${prefix}/etc' 30997e8a2e8Smrgsharedstatedir='${prefix}/com' 31097e8a2e8Smrglocalstatedir='${prefix}/var' 31197e8a2e8Smrglibdir='${exec_prefix}/lib' 31297e8a2e8Smrgincludedir='${prefix}/include' 31397e8a2e8Smrgoldincludedir='/usr/include' 31497e8a2e8Smrginfodir='${prefix}/info' 31597e8a2e8Smrgmandir='${prefix}/man' 31697e8a2e8Smrg 31797e8a2e8Smrgac_prev= 31897e8a2e8Smrgfor ac_option 31997e8a2e8Smrgdo 32097e8a2e8Smrg # If the previous option needs an argument, assign it. 32197e8a2e8Smrg if test -n "$ac_prev"; then 32297e8a2e8Smrg eval "$ac_prev=\$ac_option" 32397e8a2e8Smrg ac_prev= 32497e8a2e8Smrg continue 32597e8a2e8Smrg fi 32697e8a2e8Smrg 32797e8a2e8Smrg ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 32897e8a2e8Smrg 32997e8a2e8Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 33097e8a2e8Smrg 33197e8a2e8Smrg case $ac_option in 33297e8a2e8Smrg 33397e8a2e8Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 33497e8a2e8Smrg ac_prev=bindir ;; 33597e8a2e8Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 33697e8a2e8Smrg bindir=$ac_optarg ;; 33797e8a2e8Smrg 33897e8a2e8Smrg -build | --build | --buil | --bui | --bu) 33997e8a2e8Smrg ac_prev=build_alias ;; 34097e8a2e8Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 34197e8a2e8Smrg build_alias=$ac_optarg ;; 34297e8a2e8Smrg 34397e8a2e8Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 34497e8a2e8Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 34597e8a2e8Smrg ac_prev=cache_file ;; 34697e8a2e8Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 34797e8a2e8Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 34897e8a2e8Smrg cache_file=$ac_optarg ;; 34997e8a2e8Smrg 35097e8a2e8Smrg --config-cache | -C) 35197e8a2e8Smrg cache_file=config.cache ;; 35297e8a2e8Smrg 35397e8a2e8Smrg -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 35497e8a2e8Smrg ac_prev=datadir ;; 35597e8a2e8Smrg -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 35697e8a2e8Smrg | --da=*) 35797e8a2e8Smrg datadir=$ac_optarg ;; 35897e8a2e8Smrg 35997e8a2e8Smrg -disable-* | --disable-*) 36097e8a2e8Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 36197e8a2e8Smrg # Reject names that are not valid shell variable names. 36297e8a2e8Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 36397e8a2e8Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 36497e8a2e8Smrg { (exit 1); exit 1; }; } 36597e8a2e8Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 36697e8a2e8Smrg eval "enable_$ac_feature=no" ;; 36797e8a2e8Smrg 36897e8a2e8Smrg -enable-* | --enable-*) 36997e8a2e8Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 37097e8a2e8Smrg # Reject names that are not valid shell variable names. 37197e8a2e8Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 37297e8a2e8Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 37397e8a2e8Smrg { (exit 1); exit 1; }; } 37497e8a2e8Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 37597e8a2e8Smrg case $ac_option in 37697e8a2e8Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 37797e8a2e8Smrg *) ac_optarg=yes ;; 37897e8a2e8Smrg esac 37997e8a2e8Smrg eval "enable_$ac_feature='$ac_optarg'" ;; 38097e8a2e8Smrg 38197e8a2e8Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 38297e8a2e8Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 38397e8a2e8Smrg | --exec | --exe | --ex) 38497e8a2e8Smrg ac_prev=exec_prefix ;; 38597e8a2e8Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 38697e8a2e8Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 38797e8a2e8Smrg | --exec=* | --exe=* | --ex=*) 38897e8a2e8Smrg exec_prefix=$ac_optarg ;; 38997e8a2e8Smrg 39097e8a2e8Smrg -gas | --gas | --ga | --g) 39197e8a2e8Smrg # Obsolete; use --with-gas. 39297e8a2e8Smrg with_gas=yes ;; 39397e8a2e8Smrg 39497e8a2e8Smrg -help | --help | --hel | --he | -h) 39597e8a2e8Smrg ac_init_help=long ;; 39697e8a2e8Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 39797e8a2e8Smrg ac_init_help=recursive ;; 39897e8a2e8Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 39997e8a2e8Smrg ac_init_help=short ;; 40097e8a2e8Smrg 40197e8a2e8Smrg -host | --host | --hos | --ho) 40297e8a2e8Smrg ac_prev=host_alias ;; 40397e8a2e8Smrg -host=* | --host=* | --hos=* | --ho=*) 40497e8a2e8Smrg host_alias=$ac_optarg ;; 40597e8a2e8Smrg 40697e8a2e8Smrg -includedir | --includedir | --includedi | --included | --include \ 40797e8a2e8Smrg | --includ | --inclu | --incl | --inc) 40897e8a2e8Smrg ac_prev=includedir ;; 40997e8a2e8Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 41097e8a2e8Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 41197e8a2e8Smrg includedir=$ac_optarg ;; 41297e8a2e8Smrg 41397e8a2e8Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 41497e8a2e8Smrg ac_prev=infodir ;; 41597e8a2e8Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 41697e8a2e8Smrg infodir=$ac_optarg ;; 41797e8a2e8Smrg 41897e8a2e8Smrg -libdir | --libdir | --libdi | --libd) 41997e8a2e8Smrg ac_prev=libdir ;; 42097e8a2e8Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 42197e8a2e8Smrg libdir=$ac_optarg ;; 42297e8a2e8Smrg 42397e8a2e8Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 42497e8a2e8Smrg | --libexe | --libex | --libe) 42597e8a2e8Smrg ac_prev=libexecdir ;; 42697e8a2e8Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 42797e8a2e8Smrg | --libexe=* | --libex=* | --libe=*) 42897e8a2e8Smrg libexecdir=$ac_optarg ;; 42997e8a2e8Smrg 43097e8a2e8Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 43197e8a2e8Smrg | --localstate | --localstat | --localsta | --localst \ 43297e8a2e8Smrg | --locals | --local | --loca | --loc | --lo) 43397e8a2e8Smrg ac_prev=localstatedir ;; 43497e8a2e8Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 43597e8a2e8Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 43697e8a2e8Smrg | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 43797e8a2e8Smrg localstatedir=$ac_optarg ;; 43897e8a2e8Smrg 43997e8a2e8Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 44097e8a2e8Smrg ac_prev=mandir ;; 44197e8a2e8Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 44297e8a2e8Smrg mandir=$ac_optarg ;; 44397e8a2e8Smrg 44497e8a2e8Smrg -nfp | --nfp | --nf) 44597e8a2e8Smrg # Obsolete; use --without-fp. 44697e8a2e8Smrg with_fp=no ;; 44797e8a2e8Smrg 44897e8a2e8Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 44997e8a2e8Smrg | --no-cr | --no-c | -n) 45097e8a2e8Smrg no_create=yes ;; 45197e8a2e8Smrg 45297e8a2e8Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 45397e8a2e8Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 45497e8a2e8Smrg no_recursion=yes ;; 45597e8a2e8Smrg 45697e8a2e8Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 45797e8a2e8Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 45897e8a2e8Smrg | --oldin | --oldi | --old | --ol | --o) 45997e8a2e8Smrg ac_prev=oldincludedir ;; 46097e8a2e8Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 46197e8a2e8Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 46297e8a2e8Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 46397e8a2e8Smrg oldincludedir=$ac_optarg ;; 46497e8a2e8Smrg 46597e8a2e8Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 46697e8a2e8Smrg ac_prev=prefix ;; 46797e8a2e8Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 46897e8a2e8Smrg prefix=$ac_optarg ;; 46997e8a2e8Smrg 47097e8a2e8Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 47197e8a2e8Smrg | --program-pre | --program-pr | --program-p) 47297e8a2e8Smrg ac_prev=program_prefix ;; 47397e8a2e8Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 47497e8a2e8Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 47597e8a2e8Smrg program_prefix=$ac_optarg ;; 47697e8a2e8Smrg 47797e8a2e8Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 47897e8a2e8Smrg | --program-suf | --program-su | --program-s) 47997e8a2e8Smrg ac_prev=program_suffix ;; 48097e8a2e8Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 48197e8a2e8Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 48297e8a2e8Smrg program_suffix=$ac_optarg ;; 48397e8a2e8Smrg 48497e8a2e8Smrg -program-transform-name | --program-transform-name \ 48597e8a2e8Smrg | --program-transform-nam | --program-transform-na \ 48697e8a2e8Smrg | --program-transform-n | --program-transform- \ 48797e8a2e8Smrg | --program-transform | --program-transfor \ 48897e8a2e8Smrg | --program-transfo | --program-transf \ 48997e8a2e8Smrg | --program-trans | --program-tran \ 49097e8a2e8Smrg | --progr-tra | --program-tr | --program-t) 49197e8a2e8Smrg ac_prev=program_transform_name ;; 49297e8a2e8Smrg -program-transform-name=* | --program-transform-name=* \ 49397e8a2e8Smrg | --program-transform-nam=* | --program-transform-na=* \ 49497e8a2e8Smrg | --program-transform-n=* | --program-transform-=* \ 49597e8a2e8Smrg | --program-transform=* | --program-transfor=* \ 49697e8a2e8Smrg | --program-transfo=* | --program-transf=* \ 49797e8a2e8Smrg | --program-trans=* | --program-tran=* \ 49897e8a2e8Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 49997e8a2e8Smrg program_transform_name=$ac_optarg ;; 50097e8a2e8Smrg 50197e8a2e8Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 50297e8a2e8Smrg | -silent | --silent | --silen | --sile | --sil) 50397e8a2e8Smrg silent=yes ;; 50497e8a2e8Smrg 50597e8a2e8Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 50697e8a2e8Smrg ac_prev=sbindir ;; 50797e8a2e8Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 50897e8a2e8Smrg | --sbi=* | --sb=*) 50997e8a2e8Smrg sbindir=$ac_optarg ;; 51097e8a2e8Smrg 51197e8a2e8Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 51297e8a2e8Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 51397e8a2e8Smrg | --sharedst | --shareds | --shared | --share | --shar \ 51497e8a2e8Smrg | --sha | --sh) 51597e8a2e8Smrg ac_prev=sharedstatedir ;; 51697e8a2e8Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 51797e8a2e8Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 51897e8a2e8Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 51997e8a2e8Smrg | --sha=* | --sh=*) 52097e8a2e8Smrg sharedstatedir=$ac_optarg ;; 52197e8a2e8Smrg 52297e8a2e8Smrg -site | --site | --sit) 52397e8a2e8Smrg ac_prev=site ;; 52497e8a2e8Smrg -site=* | --site=* | --sit=*) 52597e8a2e8Smrg site=$ac_optarg ;; 52697e8a2e8Smrg 52797e8a2e8Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 52897e8a2e8Smrg ac_prev=srcdir ;; 52997e8a2e8Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 53097e8a2e8Smrg srcdir=$ac_optarg ;; 53197e8a2e8Smrg 53297e8a2e8Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 53397e8a2e8Smrg | --syscon | --sysco | --sysc | --sys | --sy) 53497e8a2e8Smrg ac_prev=sysconfdir ;; 53597e8a2e8Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 53697e8a2e8Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 53797e8a2e8Smrg sysconfdir=$ac_optarg ;; 53897e8a2e8Smrg 53997e8a2e8Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 54097e8a2e8Smrg ac_prev=target_alias ;; 54197e8a2e8Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 54297e8a2e8Smrg target_alias=$ac_optarg ;; 54397e8a2e8Smrg 54497e8a2e8Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 54597e8a2e8Smrg verbose=yes ;; 54697e8a2e8Smrg 54797e8a2e8Smrg -version | --version | --versio | --versi | --vers | -V) 54897e8a2e8Smrg ac_init_version=: ;; 54997e8a2e8Smrg 55097e8a2e8Smrg -with-* | --with-*) 55197e8a2e8Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 55297e8a2e8Smrg # Reject names that are not valid shell variable names. 55397e8a2e8Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 55497e8a2e8Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 55597e8a2e8Smrg { (exit 1); exit 1; }; } 55697e8a2e8Smrg ac_package=`echo $ac_package| sed 's/-/_/g'` 55797e8a2e8Smrg case $ac_option in 55897e8a2e8Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 55997e8a2e8Smrg *) ac_optarg=yes ;; 56097e8a2e8Smrg esac 56197e8a2e8Smrg eval "with_$ac_package='$ac_optarg'" ;; 56297e8a2e8Smrg 56397e8a2e8Smrg -without-* | --without-*) 56497e8a2e8Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 56597e8a2e8Smrg # Reject names that are not valid shell variable names. 56697e8a2e8Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 56797e8a2e8Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 56897e8a2e8Smrg { (exit 1); exit 1; }; } 56997e8a2e8Smrg ac_package=`echo $ac_package | sed 's/-/_/g'` 57097e8a2e8Smrg eval "with_$ac_package=no" ;; 57197e8a2e8Smrg 57297e8a2e8Smrg --x) 57397e8a2e8Smrg # Obsolete; use --with-x. 57497e8a2e8Smrg with_x=yes ;; 57597e8a2e8Smrg 57697e8a2e8Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 57797e8a2e8Smrg | --x-incl | --x-inc | --x-in | --x-i) 57897e8a2e8Smrg ac_prev=x_includes ;; 57997e8a2e8Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 58097e8a2e8Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 58197e8a2e8Smrg x_includes=$ac_optarg ;; 58297e8a2e8Smrg 58397e8a2e8Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 58497e8a2e8Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 58597e8a2e8Smrg ac_prev=x_libraries ;; 58697e8a2e8Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 58797e8a2e8Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 58897e8a2e8Smrg x_libraries=$ac_optarg ;; 58997e8a2e8Smrg 59097e8a2e8Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 59197e8a2e8SmrgTry \`$0 --help' for more information." >&2 59297e8a2e8Smrg { (exit 1); exit 1; }; } 59397e8a2e8Smrg ;; 59497e8a2e8Smrg 59597e8a2e8Smrg *=*) 59697e8a2e8Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 59797e8a2e8Smrg # Reject names that are not valid shell variable names. 59897e8a2e8Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 59997e8a2e8Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 60097e8a2e8Smrg { (exit 1); exit 1; }; } 60197e8a2e8Smrg ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 60297e8a2e8Smrg eval "$ac_envvar='$ac_optarg'" 60397e8a2e8Smrg export $ac_envvar ;; 60497e8a2e8Smrg 60597e8a2e8Smrg *) 60697e8a2e8Smrg # FIXME: should be removed in autoconf 3.0. 60797e8a2e8Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 60897e8a2e8Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 60997e8a2e8Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 61097e8a2e8Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 61197e8a2e8Smrg ;; 61297e8a2e8Smrg 61397e8a2e8Smrg esac 61497e8a2e8Smrgdone 61597e8a2e8Smrg 61697e8a2e8Smrgif test -n "$ac_prev"; then 61797e8a2e8Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 61897e8a2e8Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 61997e8a2e8Smrg { (exit 1); exit 1; }; } 62097e8a2e8Smrgfi 62197e8a2e8Smrg 62297e8a2e8Smrg# Be sure to have absolute paths. 62397e8a2e8Smrgfor ac_var in exec_prefix prefix 62497e8a2e8Smrgdo 62597e8a2e8Smrg eval ac_val=$`echo $ac_var` 62697e8a2e8Smrg case $ac_val in 62797e8a2e8Smrg [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 62897e8a2e8Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 62997e8a2e8Smrg { (exit 1); exit 1; }; };; 63097e8a2e8Smrg esac 63197e8a2e8Smrgdone 63297e8a2e8Smrg 63397e8a2e8Smrg# Be sure to have absolute paths. 63497e8a2e8Smrgfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 63597e8a2e8Smrg localstatedir libdir includedir oldincludedir infodir mandir 63697e8a2e8Smrgdo 63797e8a2e8Smrg eval ac_val=$`echo $ac_var` 63897e8a2e8Smrg case $ac_val in 63997e8a2e8Smrg [\\/$]* | ?:[\\/]* ) ;; 64097e8a2e8Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 64197e8a2e8Smrg { (exit 1); exit 1; }; };; 64297e8a2e8Smrg esac 64397e8a2e8Smrgdone 64497e8a2e8Smrg 64597e8a2e8Smrg# There might be people who depend on the old broken behavior: `$host' 64697e8a2e8Smrg# used to hold the argument of --host etc. 64797e8a2e8Smrg# FIXME: To remove some day. 64897e8a2e8Smrgbuild=$build_alias 64997e8a2e8Smrghost=$host_alias 65097e8a2e8Smrgtarget=$target_alias 65197e8a2e8Smrg 65297e8a2e8Smrg# FIXME: To remove some day. 65397e8a2e8Smrgif test "x$host_alias" != x; then 65497e8a2e8Smrg if test "x$build_alias" = x; then 65597e8a2e8Smrg cross_compiling=maybe 65697e8a2e8Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 65797e8a2e8Smrg If a cross compiler is detected then cross compile mode will be used." >&2 65897e8a2e8Smrg elif test "x$build_alias" != "x$host_alias"; then 65997e8a2e8Smrg cross_compiling=yes 66097e8a2e8Smrg fi 66197e8a2e8Smrgfi 66297e8a2e8Smrg 66397e8a2e8Smrgac_tool_prefix= 66497e8a2e8Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 66597e8a2e8Smrg 66697e8a2e8Smrgtest "$silent" = yes && exec 6>/dev/null 66797e8a2e8Smrg 66897e8a2e8Smrg 66997e8a2e8Smrg# Find the source files, if location was not specified. 67097e8a2e8Smrgif test -z "$srcdir"; then 67197e8a2e8Smrg ac_srcdir_defaulted=yes 67297e8a2e8Smrg # Try the directory containing this script, then its parent. 67397e8a2e8Smrg ac_confdir=`(dirname "$0") 2>/dev/null || 67497e8a2e8Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 67597e8a2e8Smrg X"$0" : 'X\(//\)[^/]' \| \ 67697e8a2e8Smrg X"$0" : 'X\(//\)$' \| \ 67797e8a2e8Smrg X"$0" : 'X\(/\)' \| \ 67897e8a2e8Smrg . : '\(.\)' 2>/dev/null || 67997e8a2e8Smrgecho X"$0" | 68097e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 68197e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 68297e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 68397e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 68497e8a2e8Smrg s/.*/./; q'` 68597e8a2e8Smrg srcdir=$ac_confdir 68697e8a2e8Smrg if test ! -r $srcdir/$ac_unique_file; then 68797e8a2e8Smrg srcdir=.. 68897e8a2e8Smrg fi 68997e8a2e8Smrgelse 69097e8a2e8Smrg ac_srcdir_defaulted=no 69197e8a2e8Smrgfi 69297e8a2e8Smrgif test ! -r $srcdir/$ac_unique_file; then 69397e8a2e8Smrg if test "$ac_srcdir_defaulted" = yes; then 69497e8a2e8Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 69597e8a2e8Smrg { (exit 1); exit 1; }; } 69697e8a2e8Smrg else 69797e8a2e8Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 69897e8a2e8Smrg { (exit 1); exit 1; }; } 69997e8a2e8Smrg fi 70097e8a2e8Smrgfi 70197e8a2e8Smrg(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 70297e8a2e8Smrg { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 70397e8a2e8Smrg { (exit 1); exit 1; }; } 70497e8a2e8Smrgsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 70597e8a2e8Smrgac_env_build_alias_set=${build_alias+set} 70697e8a2e8Smrgac_env_build_alias_value=$build_alias 70797e8a2e8Smrgac_cv_env_build_alias_set=${build_alias+set} 70897e8a2e8Smrgac_cv_env_build_alias_value=$build_alias 70997e8a2e8Smrgac_env_host_alias_set=${host_alias+set} 71097e8a2e8Smrgac_env_host_alias_value=$host_alias 71197e8a2e8Smrgac_cv_env_host_alias_set=${host_alias+set} 71297e8a2e8Smrgac_cv_env_host_alias_value=$host_alias 71397e8a2e8Smrgac_env_target_alias_set=${target_alias+set} 71497e8a2e8Smrgac_env_target_alias_value=$target_alias 71597e8a2e8Smrgac_cv_env_target_alias_set=${target_alias+set} 71697e8a2e8Smrgac_cv_env_target_alias_value=$target_alias 71797e8a2e8Smrgac_env_CC_set=${CC+set} 71897e8a2e8Smrgac_env_CC_value=$CC 71997e8a2e8Smrgac_cv_env_CC_set=${CC+set} 72097e8a2e8Smrgac_cv_env_CC_value=$CC 72197e8a2e8Smrgac_env_CFLAGS_set=${CFLAGS+set} 72297e8a2e8Smrgac_env_CFLAGS_value=$CFLAGS 72397e8a2e8Smrgac_cv_env_CFLAGS_set=${CFLAGS+set} 72497e8a2e8Smrgac_cv_env_CFLAGS_value=$CFLAGS 72597e8a2e8Smrgac_env_LDFLAGS_set=${LDFLAGS+set} 72697e8a2e8Smrgac_env_LDFLAGS_value=$LDFLAGS 72797e8a2e8Smrgac_cv_env_LDFLAGS_set=${LDFLAGS+set} 72897e8a2e8Smrgac_cv_env_LDFLAGS_value=$LDFLAGS 72997e8a2e8Smrgac_env_CPPFLAGS_set=${CPPFLAGS+set} 73097e8a2e8Smrgac_env_CPPFLAGS_value=$CPPFLAGS 73197e8a2e8Smrgac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 73297e8a2e8Smrgac_cv_env_CPPFLAGS_value=$CPPFLAGS 73397e8a2e8Smrgac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 73497e8a2e8Smrgac_env_PKG_CONFIG_value=$PKG_CONFIG 73597e8a2e8Smrgac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 73697e8a2e8Smrgac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 73797e8a2e8Smrgac_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set} 73897e8a2e8Smrgac_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS 73997e8a2e8Smrgac_cv_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set} 74097e8a2e8Smrgac_cv_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS 74197e8a2e8Smrgac_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set} 74297e8a2e8Smrgac_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS 74397e8a2e8Smrgac_cv_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set} 74497e8a2e8Smrgac_cv_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS 74597e8a2e8Smrgac_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set} 74697e8a2e8Smrgac_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS 74797e8a2e8Smrgac_cv_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set} 74897e8a2e8Smrgac_cv_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS 74997e8a2e8Smrgac_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set} 75097e8a2e8Smrgac_env_APPDEFS_LIBS_value=$APPDEFS_LIBS 75197e8a2e8Smrgac_cv_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set} 75297e8a2e8Smrgac_cv_env_APPDEFS_LIBS_value=$APPDEFS_LIBS 75397e8a2e8Smrg 75497e8a2e8Smrg# 75597e8a2e8Smrg# Report the --help message. 75697e8a2e8Smrg# 75797e8a2e8Smrgif test "$ac_init_help" = "long"; then 75897e8a2e8Smrg # Omit some internal or obsolete options to make the list less imposing. 75997e8a2e8Smrg # This message is too long to be a string in the A/UX 3.1 sh. 76097e8a2e8Smrg cat <<_ACEOF 76197e8a2e8Smrg\`configure' configures xclipboard 1.0.1 to adapt to many kinds of systems. 76297e8a2e8Smrg 76397e8a2e8SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 76497e8a2e8Smrg 76597e8a2e8SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 76697e8a2e8SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 76797e8a2e8Smrg 76897e8a2e8SmrgDefaults for the options are specified in brackets. 76997e8a2e8Smrg 77097e8a2e8SmrgConfiguration: 77197e8a2e8Smrg -h, --help display this help and exit 77297e8a2e8Smrg --help=short display options specific to this package 77397e8a2e8Smrg --help=recursive display the short help of all the included packages 77497e8a2e8Smrg -V, --version display version information and exit 77597e8a2e8Smrg -q, --quiet, --silent do not print \`checking...' messages 77697e8a2e8Smrg --cache-file=FILE cache test results in FILE [disabled] 77797e8a2e8Smrg -C, --config-cache alias for \`--cache-file=config.cache' 77897e8a2e8Smrg -n, --no-create do not create output files 77997e8a2e8Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 78097e8a2e8Smrg 78197e8a2e8Smrg_ACEOF 78297e8a2e8Smrg 78397e8a2e8Smrg cat <<_ACEOF 78497e8a2e8SmrgInstallation directories: 78597e8a2e8Smrg --prefix=PREFIX install architecture-independent files in PREFIX 78697e8a2e8Smrg [$ac_default_prefix] 78797e8a2e8Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 78897e8a2e8Smrg [PREFIX] 78997e8a2e8Smrg 79097e8a2e8SmrgBy default, \`make install' will install all the files in 79197e8a2e8Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 79297e8a2e8Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 79397e8a2e8Smrgfor instance \`--prefix=\$HOME'. 79497e8a2e8Smrg 79597e8a2e8SmrgFor better control, use the options below. 79697e8a2e8Smrg 79797e8a2e8SmrgFine tuning of the installation directories: 79897e8a2e8Smrg --bindir=DIR user executables [EPREFIX/bin] 79997e8a2e8Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 80097e8a2e8Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 80197e8a2e8Smrg --datadir=DIR read-only architecture-independent data [PREFIX/share] 80297e8a2e8Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 80397e8a2e8Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 80497e8a2e8Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 80597e8a2e8Smrg --libdir=DIR object code libraries [EPREFIX/lib] 80697e8a2e8Smrg --includedir=DIR C header files [PREFIX/include] 80797e8a2e8Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 80897e8a2e8Smrg --infodir=DIR info documentation [PREFIX/info] 80997e8a2e8Smrg --mandir=DIR man documentation [PREFIX/man] 81097e8a2e8Smrg_ACEOF 81197e8a2e8Smrg 81297e8a2e8Smrg cat <<\_ACEOF 81397e8a2e8Smrg 81497e8a2e8SmrgProgram names: 81597e8a2e8Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 81697e8a2e8Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 81797e8a2e8Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 81897e8a2e8Smrg 81997e8a2e8SmrgSystem types: 82097e8a2e8Smrg --build=BUILD configure for building on BUILD [guessed] 82197e8a2e8Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 82297e8a2e8Smrg_ACEOF 82397e8a2e8Smrgfi 82497e8a2e8Smrg 82597e8a2e8Smrgif test -n "$ac_init_help"; then 82697e8a2e8Smrg case $ac_init_help in 82797e8a2e8Smrg short | recursive ) echo "Configuration of xclipboard 1.0.1:";; 82897e8a2e8Smrg esac 82997e8a2e8Smrg cat <<\_ACEOF 83097e8a2e8Smrg 83197e8a2e8SmrgOptional Features: 83297e8a2e8Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 83397e8a2e8Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 83497e8a2e8Smrg --enable-maintainer-mode enable make rules and dependencies not useful 83597e8a2e8Smrg (and sometimes confusing) to the casual installer 83697e8a2e8Smrg --disable-dependency-tracking Speeds up one-time builds 83797e8a2e8Smrg --enable-dependency-tracking Do not reject slow dependency extractors 83897e8a2e8Smrg --enable-xprint Enable XPrint support 83997e8a2e8Smrg 84097e8a2e8SmrgOptional Packages: 84197e8a2e8Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 84297e8a2e8Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 84397e8a2e8Smrg --with-release-version=STRING 84497e8a2e8Smrg Use release version string in package name 84597e8a2e8Smrg 84697e8a2e8SmrgSome influential environment variables: 84797e8a2e8Smrg CC C compiler command 84897e8a2e8Smrg CFLAGS C compiler flags 84997e8a2e8Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 85097e8a2e8Smrg nonstandard directory <lib dir> 85197e8a2e8Smrg CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 85297e8a2e8Smrg headers in a nonstandard directory <include dir> 85397e8a2e8Smrg PKG_CONFIG path to pkg-config utility 85497e8a2e8Smrg TMP_XAW_CFLAGS 85597e8a2e8Smrg C compiler flags for TMP_XAW, overriding pkg-config 85697e8a2e8Smrg TMP_XAW_LIBS 85797e8a2e8Smrg linker flags for TMP_XAW, overriding pkg-config 85897e8a2e8Smrg APPDEFS_CFLAGS 85997e8a2e8Smrg C compiler flags for APPDEFS, overriding pkg-config 86097e8a2e8Smrg APPDEFS_LIBS 86197e8a2e8Smrg linker flags for APPDEFS, overriding pkg-config 86297e8a2e8Smrg 86397e8a2e8SmrgUse these variables to override the choices made by `configure' or to help 86497e8a2e8Smrgit to find libraries and programs with nonstandard names/locations. 86597e8a2e8Smrg 86697e8a2e8SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 86797e8a2e8Smrg_ACEOF 86897e8a2e8Smrgfi 86997e8a2e8Smrg 87097e8a2e8Smrgif test "$ac_init_help" = "recursive"; then 87197e8a2e8Smrg # If there are subdirs, report their specific --help. 87297e8a2e8Smrg ac_popdir=`pwd` 87397e8a2e8Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 87497e8a2e8Smrg test -d $ac_dir || continue 87597e8a2e8Smrg ac_builddir=. 87697e8a2e8Smrg 87797e8a2e8Smrgif test "$ac_dir" != .; then 87897e8a2e8Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 87997e8a2e8Smrg # A "../" for each directory in $ac_dir_suffix. 88097e8a2e8Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 88197e8a2e8Smrgelse 88297e8a2e8Smrg ac_dir_suffix= ac_top_builddir= 88397e8a2e8Smrgfi 88497e8a2e8Smrg 88597e8a2e8Smrgcase $srcdir in 88697e8a2e8Smrg .) # No --srcdir option. We are building in place. 88797e8a2e8Smrg ac_srcdir=. 88897e8a2e8Smrg if test -z "$ac_top_builddir"; then 88997e8a2e8Smrg ac_top_srcdir=. 89097e8a2e8Smrg else 89197e8a2e8Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 89297e8a2e8Smrg fi ;; 89397e8a2e8Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 89497e8a2e8Smrg ac_srcdir=$srcdir$ac_dir_suffix; 89597e8a2e8Smrg ac_top_srcdir=$srcdir ;; 89697e8a2e8Smrg *) # Relative path. 89797e8a2e8Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 89897e8a2e8Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 89997e8a2e8Smrgesac 90097e8a2e8Smrg 90197e8a2e8Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 90297e8a2e8Smrg# the directories may not exist. 90397e8a2e8Smrgcase `pwd` in 90497e8a2e8Smrg.) ac_abs_builddir="$ac_dir";; 90597e8a2e8Smrg*) 90697e8a2e8Smrg case "$ac_dir" in 90797e8a2e8Smrg .) ac_abs_builddir=`pwd`;; 90897e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 90997e8a2e8Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 91097e8a2e8Smrg esac;; 91197e8a2e8Smrgesac 91297e8a2e8Smrgcase $ac_abs_builddir in 91397e8a2e8Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 91497e8a2e8Smrg*) 91597e8a2e8Smrg case ${ac_top_builddir}. in 91697e8a2e8Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 91797e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 91897e8a2e8Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 91997e8a2e8Smrg esac;; 92097e8a2e8Smrgesac 92197e8a2e8Smrgcase $ac_abs_builddir in 92297e8a2e8Smrg.) ac_abs_srcdir=$ac_srcdir;; 92397e8a2e8Smrg*) 92497e8a2e8Smrg case $ac_srcdir in 92597e8a2e8Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 92697e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 92797e8a2e8Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 92897e8a2e8Smrg esac;; 92997e8a2e8Smrgesac 93097e8a2e8Smrgcase $ac_abs_builddir in 93197e8a2e8Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 93297e8a2e8Smrg*) 93397e8a2e8Smrg case $ac_top_srcdir in 93497e8a2e8Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 93597e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 93697e8a2e8Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 93797e8a2e8Smrg esac;; 93897e8a2e8Smrgesac 93997e8a2e8Smrg 94097e8a2e8Smrg cd $ac_dir 94197e8a2e8Smrg # Check for guested configure; otherwise get Cygnus style configure. 94297e8a2e8Smrg if test -f $ac_srcdir/configure.gnu; then 94397e8a2e8Smrg echo 94497e8a2e8Smrg $SHELL $ac_srcdir/configure.gnu --help=recursive 94597e8a2e8Smrg elif test -f $ac_srcdir/configure; then 94697e8a2e8Smrg echo 94797e8a2e8Smrg $SHELL $ac_srcdir/configure --help=recursive 94897e8a2e8Smrg elif test -f $ac_srcdir/configure.ac || 94997e8a2e8Smrg test -f $ac_srcdir/configure.in; then 95097e8a2e8Smrg echo 95197e8a2e8Smrg $ac_configure --help 95297e8a2e8Smrg else 95397e8a2e8Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 95497e8a2e8Smrg fi 95597e8a2e8Smrg cd $ac_popdir 95697e8a2e8Smrg done 95797e8a2e8Smrgfi 95897e8a2e8Smrg 95997e8a2e8Smrgtest -n "$ac_init_help" && exit 0 96097e8a2e8Smrgif $ac_init_version; then 96197e8a2e8Smrg cat <<\_ACEOF 96297e8a2e8Smrgxclipboard configure 1.0.1 96397e8a2e8Smrggenerated by GNU Autoconf 2.59 96497e8a2e8Smrg 96597e8a2e8SmrgCopyright (C) 2003 Free Software Foundation, Inc. 96697e8a2e8SmrgThis configure script is free software; the Free Software Foundation 96797e8a2e8Smrggives unlimited permission to copy, distribute and modify it. 96897e8a2e8Smrg_ACEOF 96997e8a2e8Smrg exit 0 97097e8a2e8Smrgfi 97197e8a2e8Smrgexec 5>config.log 97297e8a2e8Smrgcat >&5 <<_ACEOF 97397e8a2e8SmrgThis file contains any messages produced by compilers while 97497e8a2e8Smrgrunning configure, to aid debugging if configure makes a mistake. 97597e8a2e8Smrg 97697e8a2e8SmrgIt was created by xclipboard $as_me 1.0.1, which was 97797e8a2e8Smrggenerated by GNU Autoconf 2.59. Invocation command line was 97897e8a2e8Smrg 97997e8a2e8Smrg $ $0 $@ 98097e8a2e8Smrg 98197e8a2e8Smrg_ACEOF 98297e8a2e8Smrg{ 98397e8a2e8Smrgcat <<_ASUNAME 98497e8a2e8Smrg## --------- ## 98597e8a2e8Smrg## Platform. ## 98697e8a2e8Smrg## --------- ## 98797e8a2e8Smrg 98897e8a2e8Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 98997e8a2e8Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 99097e8a2e8Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 99197e8a2e8Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 99297e8a2e8Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 99397e8a2e8Smrg 99497e8a2e8Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 99597e8a2e8Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 99697e8a2e8Smrg 99797e8a2e8Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 99897e8a2e8Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 99997e8a2e8Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 100097e8a2e8Smrghostinfo = `(hostinfo) 2>/dev/null || echo unknown` 100197e8a2e8Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 100297e8a2e8Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 100397e8a2e8Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 100497e8a2e8Smrg 100597e8a2e8Smrg_ASUNAME 100697e8a2e8Smrg 100797e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 100897e8a2e8Smrgfor as_dir in $PATH 100997e8a2e8Smrgdo 101097e8a2e8Smrg IFS=$as_save_IFS 101197e8a2e8Smrg test -z "$as_dir" && as_dir=. 101297e8a2e8Smrg echo "PATH: $as_dir" 101397e8a2e8Smrgdone 101497e8a2e8Smrg 101597e8a2e8Smrg} >&5 101697e8a2e8Smrg 101797e8a2e8Smrgcat >&5 <<_ACEOF 101897e8a2e8Smrg 101997e8a2e8Smrg 102097e8a2e8Smrg## ----------- ## 102197e8a2e8Smrg## Core tests. ## 102297e8a2e8Smrg## ----------- ## 102397e8a2e8Smrg 102497e8a2e8Smrg_ACEOF 102597e8a2e8Smrg 102697e8a2e8Smrg 102797e8a2e8Smrg# Keep a trace of the command line. 102897e8a2e8Smrg# Strip out --no-create and --no-recursion so they do not pile up. 102997e8a2e8Smrg# Strip out --silent because we don't want to record it for future runs. 103097e8a2e8Smrg# Also quote any args containing shell meta-characters. 103197e8a2e8Smrg# Make two passes to allow for proper duplicate-argument suppression. 103297e8a2e8Smrgac_configure_args= 103397e8a2e8Smrgac_configure_args0= 103497e8a2e8Smrgac_configure_args1= 103597e8a2e8Smrgac_sep= 103697e8a2e8Smrgac_must_keep_next=false 103797e8a2e8Smrgfor ac_pass in 1 2 103897e8a2e8Smrgdo 103997e8a2e8Smrg for ac_arg 104097e8a2e8Smrg do 104197e8a2e8Smrg case $ac_arg in 104297e8a2e8Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 104397e8a2e8Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 104497e8a2e8Smrg | -silent | --silent | --silen | --sile | --sil) 104597e8a2e8Smrg continue ;; 104697e8a2e8Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 104797e8a2e8Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 104897e8a2e8Smrg esac 104997e8a2e8Smrg case $ac_pass in 105097e8a2e8Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 105197e8a2e8Smrg 2) 105297e8a2e8Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 105397e8a2e8Smrg if test $ac_must_keep_next = true; then 105497e8a2e8Smrg ac_must_keep_next=false # Got value, back to normal. 105597e8a2e8Smrg else 105697e8a2e8Smrg case $ac_arg in 105797e8a2e8Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 105897e8a2e8Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 105997e8a2e8Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 106097e8a2e8Smrg | -with-* | --with-* | -without-* | --without-* | --x) 106197e8a2e8Smrg case "$ac_configure_args0 " in 106297e8a2e8Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 106397e8a2e8Smrg esac 106497e8a2e8Smrg ;; 106597e8a2e8Smrg -* ) ac_must_keep_next=true ;; 106697e8a2e8Smrg esac 106797e8a2e8Smrg fi 106897e8a2e8Smrg ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 106997e8a2e8Smrg # Get rid of the leading space. 107097e8a2e8Smrg ac_sep=" " 107197e8a2e8Smrg ;; 107297e8a2e8Smrg esac 107397e8a2e8Smrg done 107497e8a2e8Smrgdone 107597e8a2e8Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 107697e8a2e8Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 107797e8a2e8Smrg 107897e8a2e8Smrg# When interrupted or exit'd, cleanup temporary files, and complete 107997e8a2e8Smrg# config.log. We remove comments because anyway the quotes in there 108097e8a2e8Smrg# would cause problems or look ugly. 108197e8a2e8Smrg# WARNING: Be sure not to use single quotes in there, as some shells, 108297e8a2e8Smrg# such as our DU 5.0 friend, will then `close' the trap. 108397e8a2e8Smrgtrap 'exit_status=$? 108497e8a2e8Smrg # Save into config.log some information that might help in debugging. 108597e8a2e8Smrg { 108697e8a2e8Smrg echo 108797e8a2e8Smrg 108897e8a2e8Smrg cat <<\_ASBOX 108997e8a2e8Smrg## ---------------- ## 109097e8a2e8Smrg## Cache variables. ## 109197e8a2e8Smrg## ---------------- ## 109297e8a2e8Smrg_ASBOX 109397e8a2e8Smrg echo 109497e8a2e8Smrg # The following way of writing the cache mishandles newlines in values, 109597e8a2e8Smrg{ 109697e8a2e8Smrg (set) 2>&1 | 109797e8a2e8Smrg case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 109897e8a2e8Smrg *ac_space=\ *) 109997e8a2e8Smrg sed -n \ 110097e8a2e8Smrg "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 110197e8a2e8Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 110297e8a2e8Smrg ;; 110397e8a2e8Smrg *) 110497e8a2e8Smrg sed -n \ 110597e8a2e8Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 110697e8a2e8Smrg ;; 110797e8a2e8Smrg esac; 110897e8a2e8Smrg} 110997e8a2e8Smrg echo 111097e8a2e8Smrg 111197e8a2e8Smrg cat <<\_ASBOX 111297e8a2e8Smrg## ----------------- ## 111397e8a2e8Smrg## Output variables. ## 111497e8a2e8Smrg## ----------------- ## 111597e8a2e8Smrg_ASBOX 111697e8a2e8Smrg echo 111797e8a2e8Smrg for ac_var in $ac_subst_vars 111897e8a2e8Smrg do 111997e8a2e8Smrg eval ac_val=$`echo $ac_var` 112097e8a2e8Smrg echo "$ac_var='"'"'$ac_val'"'"'" 112197e8a2e8Smrg done | sort 112297e8a2e8Smrg echo 112397e8a2e8Smrg 112497e8a2e8Smrg if test -n "$ac_subst_files"; then 112597e8a2e8Smrg cat <<\_ASBOX 112697e8a2e8Smrg## ------------- ## 112797e8a2e8Smrg## Output files. ## 112897e8a2e8Smrg## ------------- ## 112997e8a2e8Smrg_ASBOX 113097e8a2e8Smrg echo 113197e8a2e8Smrg for ac_var in $ac_subst_files 113297e8a2e8Smrg do 113397e8a2e8Smrg eval ac_val=$`echo $ac_var` 113497e8a2e8Smrg echo "$ac_var='"'"'$ac_val'"'"'" 113597e8a2e8Smrg done | sort 113697e8a2e8Smrg echo 113797e8a2e8Smrg fi 113897e8a2e8Smrg 113997e8a2e8Smrg if test -s confdefs.h; then 114097e8a2e8Smrg cat <<\_ASBOX 114197e8a2e8Smrg## ----------- ## 114297e8a2e8Smrg## confdefs.h. ## 114397e8a2e8Smrg## ----------- ## 114497e8a2e8Smrg_ASBOX 114597e8a2e8Smrg echo 114697e8a2e8Smrg sed "/^$/d" confdefs.h | sort 114797e8a2e8Smrg echo 114897e8a2e8Smrg fi 114997e8a2e8Smrg test "$ac_signal" != 0 && 115097e8a2e8Smrg echo "$as_me: caught signal $ac_signal" 115197e8a2e8Smrg echo "$as_me: exit $exit_status" 115297e8a2e8Smrg } >&5 115397e8a2e8Smrg rm -f core *.core && 115497e8a2e8Smrg rm -rf conftest* confdefs* conf$$* $ac_clean_files && 115597e8a2e8Smrg exit $exit_status 115697e8a2e8Smrg ' 0 115797e8a2e8Smrgfor ac_signal in 1 2 13 15; do 115897e8a2e8Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 115997e8a2e8Smrgdone 116097e8a2e8Smrgac_signal=0 116197e8a2e8Smrg 116297e8a2e8Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 116397e8a2e8Smrgrm -rf conftest* confdefs.h 116497e8a2e8Smrg# AIX cpp loses on an empty file, so make sure it contains at least a newline. 116597e8a2e8Smrgecho >confdefs.h 116697e8a2e8Smrg 116797e8a2e8Smrg# Predefined preprocessor variables. 116897e8a2e8Smrg 116997e8a2e8Smrgcat >>confdefs.h <<_ACEOF 117097e8a2e8Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 117197e8a2e8Smrg_ACEOF 117297e8a2e8Smrg 117397e8a2e8Smrg 117497e8a2e8Smrgcat >>confdefs.h <<_ACEOF 117597e8a2e8Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 117697e8a2e8Smrg_ACEOF 117797e8a2e8Smrg 117897e8a2e8Smrg 117997e8a2e8Smrgcat >>confdefs.h <<_ACEOF 118097e8a2e8Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 118197e8a2e8Smrg_ACEOF 118297e8a2e8Smrg 118397e8a2e8Smrg 118497e8a2e8Smrgcat >>confdefs.h <<_ACEOF 118597e8a2e8Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 118697e8a2e8Smrg_ACEOF 118797e8a2e8Smrg 118897e8a2e8Smrg 118997e8a2e8Smrgcat >>confdefs.h <<_ACEOF 119097e8a2e8Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 119197e8a2e8Smrg_ACEOF 119297e8a2e8Smrg 119397e8a2e8Smrg 119497e8a2e8Smrg# Let the site file select an alternate cache file if it wants to. 119597e8a2e8Smrg# Prefer explicitly selected file to automatically selected ones. 119697e8a2e8Smrgif test -z "$CONFIG_SITE"; then 119797e8a2e8Smrg if test "x$prefix" != xNONE; then 119897e8a2e8Smrg CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 119997e8a2e8Smrg else 120097e8a2e8Smrg CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 120197e8a2e8Smrg fi 120297e8a2e8Smrgfi 120397e8a2e8Smrgfor ac_site_file in $CONFIG_SITE; do 120497e8a2e8Smrg if test -r "$ac_site_file"; then 120597e8a2e8Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 120697e8a2e8Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 120797e8a2e8Smrg sed 's/^/| /' "$ac_site_file" >&5 120897e8a2e8Smrg . "$ac_site_file" 120997e8a2e8Smrg fi 121097e8a2e8Smrgdone 121197e8a2e8Smrg 121297e8a2e8Smrgif test -r "$cache_file"; then 121397e8a2e8Smrg # Some versions of bash will fail to source /dev/null (special 121497e8a2e8Smrg # files actually), so we avoid doing that. 121597e8a2e8Smrg if test -f "$cache_file"; then 121697e8a2e8Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 121797e8a2e8Smrgecho "$as_me: loading cache $cache_file" >&6;} 121897e8a2e8Smrg case $cache_file in 121997e8a2e8Smrg [\\/]* | ?:[\\/]* ) . $cache_file;; 122097e8a2e8Smrg *) . ./$cache_file;; 122197e8a2e8Smrg esac 122297e8a2e8Smrg fi 122397e8a2e8Smrgelse 122497e8a2e8Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 122597e8a2e8Smrgecho "$as_me: creating cache $cache_file" >&6;} 122697e8a2e8Smrg >$cache_file 122797e8a2e8Smrgfi 122897e8a2e8Smrg 122997e8a2e8Smrg# Check that the precious variables saved in the cache have kept the same 123097e8a2e8Smrg# value. 123197e8a2e8Smrgac_cache_corrupted=false 123297e8a2e8Smrgfor ac_var in `(set) 2>&1 | 123397e8a2e8Smrg sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 123497e8a2e8Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 123597e8a2e8Smrg eval ac_new_set=\$ac_env_${ac_var}_set 123697e8a2e8Smrg eval ac_old_val="\$ac_cv_env_${ac_var}_value" 123797e8a2e8Smrg eval ac_new_val="\$ac_env_${ac_var}_value" 123897e8a2e8Smrg case $ac_old_set,$ac_new_set in 123997e8a2e8Smrg set,) 124097e8a2e8Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 124197e8a2e8Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 124297e8a2e8Smrg ac_cache_corrupted=: ;; 124397e8a2e8Smrg ,set) 124497e8a2e8Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 124597e8a2e8Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 124697e8a2e8Smrg ac_cache_corrupted=: ;; 124797e8a2e8Smrg ,);; 124897e8a2e8Smrg *) 124997e8a2e8Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 125097e8a2e8Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 125197e8a2e8Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 125297e8a2e8Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 125397e8a2e8Smrgecho "$as_me: former value: $ac_old_val" >&2;} 125497e8a2e8Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 125597e8a2e8Smrgecho "$as_me: current value: $ac_new_val" >&2;} 125697e8a2e8Smrg ac_cache_corrupted=: 125797e8a2e8Smrg fi;; 125897e8a2e8Smrg esac 125997e8a2e8Smrg # Pass precious variables to config.status. 126097e8a2e8Smrg if test "$ac_new_set" = set; then 126197e8a2e8Smrg case $ac_new_val in 126297e8a2e8Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 126397e8a2e8Smrg ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 126497e8a2e8Smrg *) ac_arg=$ac_var=$ac_new_val ;; 126597e8a2e8Smrg esac 126697e8a2e8Smrg case " $ac_configure_args " in 126797e8a2e8Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 126897e8a2e8Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 126997e8a2e8Smrg esac 127097e8a2e8Smrg fi 127197e8a2e8Smrgdone 127297e8a2e8Smrgif $ac_cache_corrupted; then 127397e8a2e8Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 127497e8a2e8Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 127597e8a2e8Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 127697e8a2e8Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 127797e8a2e8Smrg { (exit 1); exit 1; }; } 127897e8a2e8Smrgfi 127997e8a2e8Smrg 128097e8a2e8Smrgac_ext=c 128197e8a2e8Smrgac_cpp='$CPP $CPPFLAGS' 128297e8a2e8Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 128397e8a2e8Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 128497e8a2e8Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 128597e8a2e8Smrg 128697e8a2e8Smrg 128797e8a2e8Smrg 128897e8a2e8Smrg 128997e8a2e8Smrg 129097e8a2e8Smrg 129197e8a2e8Smrg 129297e8a2e8Smrg 129397e8a2e8Smrg 129497e8a2e8Smrg 129597e8a2e8Smrg 129697e8a2e8Smrg 129797e8a2e8Smrg 129897e8a2e8Smrg 129997e8a2e8Smrg 130097e8a2e8Smrg 130197e8a2e8Smrg 130297e8a2e8Smrg 130397e8a2e8Smrg 130497e8a2e8Smrg 130597e8a2e8Smrg 130697e8a2e8Smrg 130797e8a2e8Smrg 130897e8a2e8Smrg 130997e8a2e8Smrg 131097e8a2e8Smrg 131197e8a2e8Smrg 131297e8a2e8Smrgam__api_version="1.7" 131397e8a2e8Smrgac_aux_dir= 131497e8a2e8Smrgfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 131597e8a2e8Smrg if test -f $ac_dir/install-sh; then 131697e8a2e8Smrg ac_aux_dir=$ac_dir 131797e8a2e8Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 131897e8a2e8Smrg break 131997e8a2e8Smrg elif test -f $ac_dir/install.sh; then 132097e8a2e8Smrg ac_aux_dir=$ac_dir 132197e8a2e8Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 132297e8a2e8Smrg break 132397e8a2e8Smrg elif test -f $ac_dir/shtool; then 132497e8a2e8Smrg ac_aux_dir=$ac_dir 132597e8a2e8Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 132697e8a2e8Smrg break 132797e8a2e8Smrg fi 132897e8a2e8Smrgdone 132997e8a2e8Smrgif test -z "$ac_aux_dir"; then 133097e8a2e8Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 133197e8a2e8Smrgecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 133297e8a2e8Smrg { (exit 1); exit 1; }; } 133397e8a2e8Smrgfi 133497e8a2e8Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" 133597e8a2e8Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" 133697e8a2e8Smrgac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 133797e8a2e8Smrg 133897e8a2e8Smrg# Find a good install program. We prefer a C program (faster), 133997e8a2e8Smrg# so one script is as good as another. But avoid the broken or 134097e8a2e8Smrg# incompatible versions: 134197e8a2e8Smrg# SysV /etc/install, /usr/sbin/install 134297e8a2e8Smrg# SunOS /usr/etc/install 134397e8a2e8Smrg# IRIX /sbin/install 134497e8a2e8Smrg# AIX /bin/install 134597e8a2e8Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 134697e8a2e8Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 134797e8a2e8Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 134897e8a2e8Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 134997e8a2e8Smrg# OS/2's system install, which has a completely different semantic 135097e8a2e8Smrg# ./install, which can be erroneously created by make from ./install.sh. 135197e8a2e8Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 135297e8a2e8Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 135397e8a2e8Smrgif test -z "$INSTALL"; then 135497e8a2e8Smrgif test "${ac_cv_path_install+set}" = set; then 135597e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 135697e8a2e8Smrgelse 135797e8a2e8Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 135897e8a2e8Smrgfor as_dir in $PATH 135997e8a2e8Smrgdo 136097e8a2e8Smrg IFS=$as_save_IFS 136197e8a2e8Smrg test -z "$as_dir" && as_dir=. 136297e8a2e8Smrg # Account for people who put trailing slashes in PATH elements. 136397e8a2e8Smrgcase $as_dir/ in 136497e8a2e8Smrg ./ | .// | /cC/* | \ 136597e8a2e8Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 136697e8a2e8Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 136797e8a2e8Smrg /usr/ucb/* ) ;; 136897e8a2e8Smrg *) 136997e8a2e8Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 137097e8a2e8Smrg # Don't use installbsd from OSF since it installs stuff as root 137197e8a2e8Smrg # by default. 137297e8a2e8Smrg for ac_prog in ginstall scoinst install; do 137397e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 137497e8a2e8Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 137597e8a2e8Smrg if test $ac_prog = install && 137697e8a2e8Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 137797e8a2e8Smrg # AIX install. It has an incompatible calling convention. 137897e8a2e8Smrg : 137997e8a2e8Smrg elif test $ac_prog = install && 138097e8a2e8Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 138197e8a2e8Smrg # program-specific install script used by HP pwplus--don't use. 138297e8a2e8Smrg : 138397e8a2e8Smrg else 138497e8a2e8Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 138597e8a2e8Smrg break 3 138697e8a2e8Smrg fi 138797e8a2e8Smrg fi 138897e8a2e8Smrg done 138997e8a2e8Smrg done 139097e8a2e8Smrg ;; 139197e8a2e8Smrgesac 139297e8a2e8Smrgdone 139397e8a2e8Smrg 139497e8a2e8Smrg 139597e8a2e8Smrgfi 139697e8a2e8Smrg if test "${ac_cv_path_install+set}" = set; then 139797e8a2e8Smrg INSTALL=$ac_cv_path_install 139897e8a2e8Smrg else 139997e8a2e8Smrg # As a last resort, use the slow shell script. We don't cache a 140097e8a2e8Smrg # path for INSTALL within a source directory, because that will 140197e8a2e8Smrg # break other packages using the cache if that directory is 140297e8a2e8Smrg # removed, or if the path is relative. 140397e8a2e8Smrg INSTALL=$ac_install_sh 140497e8a2e8Smrg fi 140597e8a2e8Smrgfi 140697e8a2e8Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 140797e8a2e8Smrgecho "${ECHO_T}$INSTALL" >&6 140897e8a2e8Smrg 140997e8a2e8Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 141097e8a2e8Smrg# It thinks the first close brace ends the variable substitution. 141197e8a2e8Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 141297e8a2e8Smrg 141397e8a2e8Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 141497e8a2e8Smrg 141597e8a2e8Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 141697e8a2e8Smrg 141797e8a2e8Smrgecho "$as_me:$LINENO: checking whether build environment is sane" >&5 141897e8a2e8Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 141997e8a2e8Smrg# Just in case 142097e8a2e8Smrgsleep 1 142197e8a2e8Smrgecho timestamp > conftest.file 142297e8a2e8Smrg# Do `set' in a subshell so we don't clobber the current shell's 142397e8a2e8Smrg# arguments. Must try -L first in case configure is actually a 142497e8a2e8Smrg# symlink; some systems play weird games with the mod time of symlinks 142597e8a2e8Smrg# (eg FreeBSD returns the mod time of the symlink's containing 142697e8a2e8Smrg# directory). 142797e8a2e8Smrgif ( 142897e8a2e8Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 142997e8a2e8Smrg if test "$*" = "X"; then 143097e8a2e8Smrg # -L didn't work. 143197e8a2e8Smrg set X `ls -t $srcdir/configure conftest.file` 143297e8a2e8Smrg fi 143397e8a2e8Smrg rm -f conftest.file 143497e8a2e8Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 143597e8a2e8Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 143697e8a2e8Smrg 143797e8a2e8Smrg # If neither matched, then we have a broken ls. This can happen 143897e8a2e8Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 143997e8a2e8Smrg # broken ls alias from the environment. This has actually 144097e8a2e8Smrg # happened. Such a system could not be considered "sane". 144197e8a2e8Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 144297e8a2e8Smrgalias in your environment" >&5 144397e8a2e8Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 144497e8a2e8Smrgalias in your environment" >&2;} 144597e8a2e8Smrg { (exit 1); exit 1; }; } 144697e8a2e8Smrg fi 144797e8a2e8Smrg 144897e8a2e8Smrg test "$2" = conftest.file 144997e8a2e8Smrg ) 145097e8a2e8Smrgthen 145197e8a2e8Smrg # Ok. 145297e8a2e8Smrg : 145397e8a2e8Smrgelse 145497e8a2e8Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 145597e8a2e8SmrgCheck your system clock" >&5 145697e8a2e8Smrgecho "$as_me: error: newly created file is older than distributed files! 145797e8a2e8SmrgCheck your system clock" >&2;} 145897e8a2e8Smrg { (exit 1); exit 1; }; } 145997e8a2e8Smrgfi 146097e8a2e8Smrgecho "$as_me:$LINENO: result: yes" >&5 146197e8a2e8Smrgecho "${ECHO_T}yes" >&6 146297e8a2e8Smrgtest "$program_prefix" != NONE && 146397e8a2e8Smrg program_transform_name="s,^,$program_prefix,;$program_transform_name" 146497e8a2e8Smrg# Use a double $ so make ignores it. 146597e8a2e8Smrgtest "$program_suffix" != NONE && 146697e8a2e8Smrg program_transform_name="s,\$,$program_suffix,;$program_transform_name" 146797e8a2e8Smrg# Double any \ or $. echo might interpret backslashes. 146897e8a2e8Smrg# By default was `s,x,x', remove it if useless. 146997e8a2e8Smrgcat <<\_ACEOF >conftest.sed 147097e8a2e8Smrgs/[\\$]/&&/g;s/;s,x,x,$// 147197e8a2e8Smrg_ACEOF 147297e8a2e8Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 147397e8a2e8Smrgrm conftest.sed 147497e8a2e8Smrg 147597e8a2e8Smrg 147697e8a2e8Smrg# expand $ac_aux_dir to an absolute path 147797e8a2e8Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 147897e8a2e8Smrg 147997e8a2e8Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 148097e8a2e8Smrg# Use eval to expand $SHELL 148197e8a2e8Smrgif eval "$MISSING --run true"; then 148297e8a2e8Smrg am_missing_run="$MISSING --run " 148397e8a2e8Smrgelse 148497e8a2e8Smrg am_missing_run= 148597e8a2e8Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 148697e8a2e8Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 148797e8a2e8Smrgfi 148897e8a2e8Smrg 148997e8a2e8Smrgfor ac_prog in gawk mawk nawk awk 149097e8a2e8Smrgdo 149197e8a2e8Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 149297e8a2e8Smrgset dummy $ac_prog; ac_word=$2 149397e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 149497e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 149597e8a2e8Smrgif test "${ac_cv_prog_AWK+set}" = set; then 149697e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 149797e8a2e8Smrgelse 149897e8a2e8Smrg if test -n "$AWK"; then 149997e8a2e8Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 150097e8a2e8Smrgelse 150197e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 150297e8a2e8Smrgfor as_dir in $PATH 150397e8a2e8Smrgdo 150497e8a2e8Smrg IFS=$as_save_IFS 150597e8a2e8Smrg test -z "$as_dir" && as_dir=. 150697e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 150797e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 150897e8a2e8Smrg ac_cv_prog_AWK="$ac_prog" 150997e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 151097e8a2e8Smrg break 2 151197e8a2e8Smrg fi 151297e8a2e8Smrgdone 151397e8a2e8Smrgdone 151497e8a2e8Smrg 151597e8a2e8Smrgfi 151697e8a2e8Smrgfi 151797e8a2e8SmrgAWK=$ac_cv_prog_AWK 151897e8a2e8Smrgif test -n "$AWK"; then 151997e8a2e8Smrg echo "$as_me:$LINENO: result: $AWK" >&5 152097e8a2e8Smrgecho "${ECHO_T}$AWK" >&6 152197e8a2e8Smrgelse 152297e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 152397e8a2e8Smrgecho "${ECHO_T}no" >&6 152497e8a2e8Smrgfi 152597e8a2e8Smrg 152697e8a2e8Smrg test -n "$AWK" && break 152797e8a2e8Smrgdone 152897e8a2e8Smrg 152997e8a2e8Smrgecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 153097e8a2e8Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 153197e8a2e8Smrgset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 153297e8a2e8Smrgif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 153397e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 153497e8a2e8Smrgelse 153597e8a2e8Smrg cat >conftest.make <<\_ACEOF 153697e8a2e8Smrgall: 153797e8a2e8Smrg @echo 'ac_maketemp="$(MAKE)"' 153897e8a2e8Smrg_ACEOF 153997e8a2e8Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 154097e8a2e8Smrgeval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 154197e8a2e8Smrgif test -n "$ac_maketemp"; then 154297e8a2e8Smrg eval ac_cv_prog_make_${ac_make}_set=yes 154397e8a2e8Smrgelse 154497e8a2e8Smrg eval ac_cv_prog_make_${ac_make}_set=no 154597e8a2e8Smrgfi 154697e8a2e8Smrgrm -f conftest.make 154797e8a2e8Smrgfi 154897e8a2e8Smrgif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 154997e8a2e8Smrg echo "$as_me:$LINENO: result: yes" >&5 155097e8a2e8Smrgecho "${ECHO_T}yes" >&6 155197e8a2e8Smrg SET_MAKE= 155297e8a2e8Smrgelse 155397e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 155497e8a2e8Smrgecho "${ECHO_T}no" >&6 155597e8a2e8Smrg SET_MAKE="MAKE=${MAKE-make}" 155697e8a2e8Smrgfi 155797e8a2e8Smrg 155897e8a2e8Smrgrm -rf .tst 2>/dev/null 155997e8a2e8Smrgmkdir .tst 2>/dev/null 156097e8a2e8Smrgif test -d .tst; then 156197e8a2e8Smrg am__leading_dot=. 156297e8a2e8Smrgelse 156397e8a2e8Smrg am__leading_dot=_ 156497e8a2e8Smrgfi 156597e8a2e8Smrgrmdir .tst 2>/dev/null 156697e8a2e8Smrg 156797e8a2e8Smrg # test to see if srcdir already configured 156897e8a2e8Smrgif test "`cd $srcdir && pwd`" != "`pwd`" && 156997e8a2e8Smrg test -f $srcdir/config.status; then 157097e8a2e8Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 157197e8a2e8Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 157297e8a2e8Smrg { (exit 1); exit 1; }; } 157397e8a2e8Smrgfi 157497e8a2e8Smrg 157597e8a2e8Smrg# test whether we have cygpath 157697e8a2e8Smrgif test -z "$CYGPATH_W"; then 157797e8a2e8Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 157897e8a2e8Smrg CYGPATH_W='cygpath -w' 157997e8a2e8Smrg else 158097e8a2e8Smrg CYGPATH_W=echo 158197e8a2e8Smrg fi 158297e8a2e8Smrgfi 158397e8a2e8Smrg 158497e8a2e8Smrg 158597e8a2e8Smrg# Define the identity of the package. 158697e8a2e8Smrg PACKAGE='xclipboard' 158797e8a2e8Smrg VERSION='1.0.1' 158897e8a2e8Smrg 158997e8a2e8Smrg 159097e8a2e8Smrgcat >>confdefs.h <<_ACEOF 159197e8a2e8Smrg#define PACKAGE "$PACKAGE" 159297e8a2e8Smrg_ACEOF 159397e8a2e8Smrg 159497e8a2e8Smrg 159597e8a2e8Smrgcat >>confdefs.h <<_ACEOF 159697e8a2e8Smrg#define VERSION "$VERSION" 159797e8a2e8Smrg_ACEOF 159897e8a2e8Smrg 159997e8a2e8Smrg# Some tools Automake needs. 160097e8a2e8Smrg 160197e8a2e8SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 160297e8a2e8Smrg 160397e8a2e8Smrg 160497e8a2e8SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 160597e8a2e8Smrg 160697e8a2e8Smrg 160797e8a2e8SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 160897e8a2e8Smrg 160997e8a2e8Smrg 161097e8a2e8SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 161197e8a2e8Smrg 161297e8a2e8Smrg 161397e8a2e8SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 161497e8a2e8Smrg 161597e8a2e8Smrg 161697e8a2e8SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 161797e8a2e8Smrg 161897e8a2e8Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"} 161997e8a2e8Smrg 162097e8a2e8Smrg# Installed binaries are usually stripped using `strip' when the user 162197e8a2e8Smrg# run `make install-strip'. However `strip' might not be the right 162297e8a2e8Smrg# tool to use in cross-compilation environments, therefore Automake 162397e8a2e8Smrg# will honor the `STRIP' environment variable to overrule this program. 162497e8a2e8Smrgif test "$cross_compiling" != no; then 162597e8a2e8Smrg if test -n "$ac_tool_prefix"; then 162697e8a2e8Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 162797e8a2e8Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 162897e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 162997e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 163097e8a2e8Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 163197e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 163297e8a2e8Smrgelse 163397e8a2e8Smrg if test -n "$STRIP"; then 163497e8a2e8Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 163597e8a2e8Smrgelse 163697e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 163797e8a2e8Smrgfor as_dir in $PATH 163897e8a2e8Smrgdo 163997e8a2e8Smrg IFS=$as_save_IFS 164097e8a2e8Smrg test -z "$as_dir" && as_dir=. 164197e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 164297e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 164397e8a2e8Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 164497e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 164597e8a2e8Smrg break 2 164697e8a2e8Smrg fi 164797e8a2e8Smrgdone 164897e8a2e8Smrgdone 164997e8a2e8Smrg 165097e8a2e8Smrgfi 165197e8a2e8Smrgfi 165297e8a2e8SmrgSTRIP=$ac_cv_prog_STRIP 165397e8a2e8Smrgif test -n "$STRIP"; then 165497e8a2e8Smrg echo "$as_me:$LINENO: result: $STRIP" >&5 165597e8a2e8Smrgecho "${ECHO_T}$STRIP" >&6 165697e8a2e8Smrgelse 165797e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 165897e8a2e8Smrgecho "${ECHO_T}no" >&6 165997e8a2e8Smrgfi 166097e8a2e8Smrg 166197e8a2e8Smrgfi 166297e8a2e8Smrgif test -z "$ac_cv_prog_STRIP"; then 166397e8a2e8Smrg ac_ct_STRIP=$STRIP 166497e8a2e8Smrg # Extract the first word of "strip", so it can be a program name with args. 166597e8a2e8Smrgset dummy strip; ac_word=$2 166697e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 166797e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 166897e8a2e8Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 166997e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 167097e8a2e8Smrgelse 167197e8a2e8Smrg if test -n "$ac_ct_STRIP"; then 167297e8a2e8Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 167397e8a2e8Smrgelse 167497e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 167597e8a2e8Smrgfor as_dir in $PATH 167697e8a2e8Smrgdo 167797e8a2e8Smrg IFS=$as_save_IFS 167897e8a2e8Smrg test -z "$as_dir" && as_dir=. 167997e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 168097e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 168197e8a2e8Smrg ac_cv_prog_ac_ct_STRIP="strip" 168297e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 168397e8a2e8Smrg break 2 168497e8a2e8Smrg fi 168597e8a2e8Smrgdone 168697e8a2e8Smrgdone 168797e8a2e8Smrg 168897e8a2e8Smrg test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 168997e8a2e8Smrgfi 169097e8a2e8Smrgfi 169197e8a2e8Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 169297e8a2e8Smrgif test -n "$ac_ct_STRIP"; then 169397e8a2e8Smrg echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 169497e8a2e8Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6 169597e8a2e8Smrgelse 169697e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 169797e8a2e8Smrgecho "${ECHO_T}no" >&6 169897e8a2e8Smrgfi 169997e8a2e8Smrg 170097e8a2e8Smrg STRIP=$ac_ct_STRIP 170197e8a2e8Smrgelse 170297e8a2e8Smrg STRIP="$ac_cv_prog_STRIP" 170397e8a2e8Smrgfi 170497e8a2e8Smrg 170597e8a2e8Smrgfi 170697e8a2e8SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 170797e8a2e8Smrg 170897e8a2e8Smrg# We need awk for the "check" target. The system "awk" is bad on 170997e8a2e8Smrg# some platforms. 171097e8a2e8Smrg 171197e8a2e8Smrg 171297e8a2e8Smrg 171397e8a2e8Smrgecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 171497e8a2e8Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 171597e8a2e8Smrg # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 171697e8a2e8Smrgif test "${enable_maintainer_mode+set}" = set; then 171797e8a2e8Smrg enableval="$enable_maintainer_mode" 171897e8a2e8Smrg USE_MAINTAINER_MODE=$enableval 171997e8a2e8Smrgelse 172097e8a2e8Smrg USE_MAINTAINER_MODE=no 172197e8a2e8Smrgfi; 172297e8a2e8Smrg echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 172397e8a2e8Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6 172497e8a2e8Smrg 172597e8a2e8Smrg 172697e8a2e8Smrgif test $USE_MAINTAINER_MODE = yes; then 172797e8a2e8Smrg MAINTAINER_MODE_TRUE= 172897e8a2e8Smrg MAINTAINER_MODE_FALSE='#' 172997e8a2e8Smrgelse 173097e8a2e8Smrg MAINTAINER_MODE_TRUE='#' 173197e8a2e8Smrg MAINTAINER_MODE_FALSE= 173297e8a2e8Smrgfi 173397e8a2e8Smrg 173497e8a2e8Smrg MAINT=$MAINTAINER_MODE_TRUE 173597e8a2e8Smrg 173697e8a2e8Smrg 173797e8a2e8Smrg 173897e8a2e8Smrg ac_config_headers="$ac_config_headers config.h" 173997e8a2e8Smrg 174097e8a2e8Smrg 174197e8a2e8Smrgac_ext=c 174297e8a2e8Smrgac_cpp='$CPP $CPPFLAGS' 174397e8a2e8Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 174497e8a2e8Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 174597e8a2e8Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 174697e8a2e8Smrgif test -n "$ac_tool_prefix"; then 174797e8a2e8Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 174897e8a2e8Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 174997e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 175097e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 175197e8a2e8Smrgif test "${ac_cv_prog_CC+set}" = set; then 175297e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 175397e8a2e8Smrgelse 175497e8a2e8Smrg if test -n "$CC"; then 175597e8a2e8Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 175697e8a2e8Smrgelse 175797e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 175897e8a2e8Smrgfor as_dir in $PATH 175997e8a2e8Smrgdo 176097e8a2e8Smrg IFS=$as_save_IFS 176197e8a2e8Smrg test -z "$as_dir" && as_dir=. 176297e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 176397e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 176497e8a2e8Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 176597e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 176697e8a2e8Smrg break 2 176797e8a2e8Smrg fi 176897e8a2e8Smrgdone 176997e8a2e8Smrgdone 177097e8a2e8Smrg 177197e8a2e8Smrgfi 177297e8a2e8Smrgfi 177397e8a2e8SmrgCC=$ac_cv_prog_CC 177497e8a2e8Smrgif test -n "$CC"; then 177597e8a2e8Smrg echo "$as_me:$LINENO: result: $CC" >&5 177697e8a2e8Smrgecho "${ECHO_T}$CC" >&6 177797e8a2e8Smrgelse 177897e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 177997e8a2e8Smrgecho "${ECHO_T}no" >&6 178097e8a2e8Smrgfi 178197e8a2e8Smrg 178297e8a2e8Smrgfi 178397e8a2e8Smrgif test -z "$ac_cv_prog_CC"; then 178497e8a2e8Smrg ac_ct_CC=$CC 178597e8a2e8Smrg # Extract the first word of "gcc", so it can be a program name with args. 178697e8a2e8Smrgset dummy gcc; ac_word=$2 178797e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 178897e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 178997e8a2e8Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 179097e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 179197e8a2e8Smrgelse 179297e8a2e8Smrg if test -n "$ac_ct_CC"; then 179397e8a2e8Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 179497e8a2e8Smrgelse 179597e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 179697e8a2e8Smrgfor as_dir in $PATH 179797e8a2e8Smrgdo 179897e8a2e8Smrg IFS=$as_save_IFS 179997e8a2e8Smrg test -z "$as_dir" && as_dir=. 180097e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 180197e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 180297e8a2e8Smrg ac_cv_prog_ac_ct_CC="gcc" 180397e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 180497e8a2e8Smrg break 2 180597e8a2e8Smrg fi 180697e8a2e8Smrgdone 180797e8a2e8Smrgdone 180897e8a2e8Smrg 180997e8a2e8Smrgfi 181097e8a2e8Smrgfi 181197e8a2e8Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 181297e8a2e8Smrgif test -n "$ac_ct_CC"; then 181397e8a2e8Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 181497e8a2e8Smrgecho "${ECHO_T}$ac_ct_CC" >&6 181597e8a2e8Smrgelse 181697e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 181797e8a2e8Smrgecho "${ECHO_T}no" >&6 181897e8a2e8Smrgfi 181997e8a2e8Smrg 182097e8a2e8Smrg CC=$ac_ct_CC 182197e8a2e8Smrgelse 182297e8a2e8Smrg CC="$ac_cv_prog_CC" 182397e8a2e8Smrgfi 182497e8a2e8Smrg 182597e8a2e8Smrgif test -z "$CC"; then 182697e8a2e8Smrg if test -n "$ac_tool_prefix"; then 182797e8a2e8Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 182897e8a2e8Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 182997e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 183097e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 183197e8a2e8Smrgif test "${ac_cv_prog_CC+set}" = set; then 183297e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 183397e8a2e8Smrgelse 183497e8a2e8Smrg if test -n "$CC"; then 183597e8a2e8Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 183697e8a2e8Smrgelse 183797e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 183897e8a2e8Smrgfor as_dir in $PATH 183997e8a2e8Smrgdo 184097e8a2e8Smrg IFS=$as_save_IFS 184197e8a2e8Smrg test -z "$as_dir" && as_dir=. 184297e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 184397e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 184497e8a2e8Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 184597e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 184697e8a2e8Smrg break 2 184797e8a2e8Smrg fi 184897e8a2e8Smrgdone 184997e8a2e8Smrgdone 185097e8a2e8Smrg 185197e8a2e8Smrgfi 185297e8a2e8Smrgfi 185397e8a2e8SmrgCC=$ac_cv_prog_CC 185497e8a2e8Smrgif test -n "$CC"; then 185597e8a2e8Smrg echo "$as_me:$LINENO: result: $CC" >&5 185697e8a2e8Smrgecho "${ECHO_T}$CC" >&6 185797e8a2e8Smrgelse 185897e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 185997e8a2e8Smrgecho "${ECHO_T}no" >&6 186097e8a2e8Smrgfi 186197e8a2e8Smrg 186297e8a2e8Smrgfi 186397e8a2e8Smrgif test -z "$ac_cv_prog_CC"; then 186497e8a2e8Smrg ac_ct_CC=$CC 186597e8a2e8Smrg # Extract the first word of "cc", so it can be a program name with args. 186697e8a2e8Smrgset dummy cc; ac_word=$2 186797e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 186897e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 186997e8a2e8Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 187097e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 187197e8a2e8Smrgelse 187297e8a2e8Smrg if test -n "$ac_ct_CC"; then 187397e8a2e8Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 187497e8a2e8Smrgelse 187597e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187697e8a2e8Smrgfor as_dir in $PATH 187797e8a2e8Smrgdo 187897e8a2e8Smrg IFS=$as_save_IFS 187997e8a2e8Smrg test -z "$as_dir" && as_dir=. 188097e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 188197e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 188297e8a2e8Smrg ac_cv_prog_ac_ct_CC="cc" 188397e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 188497e8a2e8Smrg break 2 188597e8a2e8Smrg fi 188697e8a2e8Smrgdone 188797e8a2e8Smrgdone 188897e8a2e8Smrg 188997e8a2e8Smrgfi 189097e8a2e8Smrgfi 189197e8a2e8Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 189297e8a2e8Smrgif test -n "$ac_ct_CC"; then 189397e8a2e8Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 189497e8a2e8Smrgecho "${ECHO_T}$ac_ct_CC" >&6 189597e8a2e8Smrgelse 189697e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 189797e8a2e8Smrgecho "${ECHO_T}no" >&6 189897e8a2e8Smrgfi 189997e8a2e8Smrg 190097e8a2e8Smrg CC=$ac_ct_CC 190197e8a2e8Smrgelse 190297e8a2e8Smrg CC="$ac_cv_prog_CC" 190397e8a2e8Smrgfi 190497e8a2e8Smrg 190597e8a2e8Smrgfi 190697e8a2e8Smrgif test -z "$CC"; then 190797e8a2e8Smrg # Extract the first word of "cc", so it can be a program name with args. 190897e8a2e8Smrgset dummy cc; ac_word=$2 190997e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 191097e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 191197e8a2e8Smrgif test "${ac_cv_prog_CC+set}" = set; then 191297e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 191397e8a2e8Smrgelse 191497e8a2e8Smrg if test -n "$CC"; then 191597e8a2e8Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 191697e8a2e8Smrgelse 191797e8a2e8Smrg ac_prog_rejected=no 191897e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 191997e8a2e8Smrgfor as_dir in $PATH 192097e8a2e8Smrgdo 192197e8a2e8Smrg IFS=$as_save_IFS 192297e8a2e8Smrg test -z "$as_dir" && as_dir=. 192397e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 192497e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 192597e8a2e8Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 192697e8a2e8Smrg ac_prog_rejected=yes 192797e8a2e8Smrg continue 192897e8a2e8Smrg fi 192997e8a2e8Smrg ac_cv_prog_CC="cc" 193097e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 193197e8a2e8Smrg break 2 193297e8a2e8Smrg fi 193397e8a2e8Smrgdone 193497e8a2e8Smrgdone 193597e8a2e8Smrg 193697e8a2e8Smrgif test $ac_prog_rejected = yes; then 193797e8a2e8Smrg # We found a bogon in the path, so make sure we never use it. 193897e8a2e8Smrg set dummy $ac_cv_prog_CC 193997e8a2e8Smrg shift 194097e8a2e8Smrg if test $# != 0; then 194197e8a2e8Smrg # We chose a different compiler from the bogus one. 194297e8a2e8Smrg # However, it has the same basename, so the bogon will be chosen 194397e8a2e8Smrg # first if we set CC to just the basename; use the full file name. 194497e8a2e8Smrg shift 194597e8a2e8Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 194697e8a2e8Smrg fi 194797e8a2e8Smrgfi 194897e8a2e8Smrgfi 194997e8a2e8Smrgfi 195097e8a2e8SmrgCC=$ac_cv_prog_CC 195197e8a2e8Smrgif test -n "$CC"; then 195297e8a2e8Smrg echo "$as_me:$LINENO: result: $CC" >&5 195397e8a2e8Smrgecho "${ECHO_T}$CC" >&6 195497e8a2e8Smrgelse 195597e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 195697e8a2e8Smrgecho "${ECHO_T}no" >&6 195797e8a2e8Smrgfi 195897e8a2e8Smrg 195997e8a2e8Smrgfi 196097e8a2e8Smrgif test -z "$CC"; then 196197e8a2e8Smrg if test -n "$ac_tool_prefix"; then 196297e8a2e8Smrg for ac_prog in cl 196397e8a2e8Smrg do 196497e8a2e8Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 196597e8a2e8Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 196697e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 196797e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 196897e8a2e8Smrgif test "${ac_cv_prog_CC+set}" = set; then 196997e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 197097e8a2e8Smrgelse 197197e8a2e8Smrg if test -n "$CC"; then 197297e8a2e8Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 197397e8a2e8Smrgelse 197497e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 197597e8a2e8Smrgfor as_dir in $PATH 197697e8a2e8Smrgdo 197797e8a2e8Smrg IFS=$as_save_IFS 197897e8a2e8Smrg test -z "$as_dir" && as_dir=. 197997e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 198097e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 198197e8a2e8Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 198297e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 198397e8a2e8Smrg break 2 198497e8a2e8Smrg fi 198597e8a2e8Smrgdone 198697e8a2e8Smrgdone 198797e8a2e8Smrg 198897e8a2e8Smrgfi 198997e8a2e8Smrgfi 199097e8a2e8SmrgCC=$ac_cv_prog_CC 199197e8a2e8Smrgif test -n "$CC"; then 199297e8a2e8Smrg echo "$as_me:$LINENO: result: $CC" >&5 199397e8a2e8Smrgecho "${ECHO_T}$CC" >&6 199497e8a2e8Smrgelse 199597e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 199697e8a2e8Smrgecho "${ECHO_T}no" >&6 199797e8a2e8Smrgfi 199897e8a2e8Smrg 199997e8a2e8Smrg test -n "$CC" && break 200097e8a2e8Smrg done 200197e8a2e8Smrgfi 200297e8a2e8Smrgif test -z "$CC"; then 200397e8a2e8Smrg ac_ct_CC=$CC 200497e8a2e8Smrg for ac_prog in cl 200597e8a2e8Smrgdo 200697e8a2e8Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 200797e8a2e8Smrgset dummy $ac_prog; ac_word=$2 200897e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 200997e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 201097e8a2e8Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 201197e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 201297e8a2e8Smrgelse 201397e8a2e8Smrg if test -n "$ac_ct_CC"; then 201497e8a2e8Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 201597e8a2e8Smrgelse 201697e8a2e8Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 201797e8a2e8Smrgfor as_dir in $PATH 201897e8a2e8Smrgdo 201997e8a2e8Smrg IFS=$as_save_IFS 202097e8a2e8Smrg test -z "$as_dir" && as_dir=. 202197e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 202297e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 202397e8a2e8Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 202497e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 202597e8a2e8Smrg break 2 202697e8a2e8Smrg fi 202797e8a2e8Smrgdone 202897e8a2e8Smrgdone 202997e8a2e8Smrg 203097e8a2e8Smrgfi 203197e8a2e8Smrgfi 203297e8a2e8Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 203397e8a2e8Smrgif test -n "$ac_ct_CC"; then 203497e8a2e8Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 203597e8a2e8Smrgecho "${ECHO_T}$ac_ct_CC" >&6 203697e8a2e8Smrgelse 203797e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 203897e8a2e8Smrgecho "${ECHO_T}no" >&6 203997e8a2e8Smrgfi 204097e8a2e8Smrg 204197e8a2e8Smrg test -n "$ac_ct_CC" && break 204297e8a2e8Smrgdone 204397e8a2e8Smrg 204497e8a2e8Smrg CC=$ac_ct_CC 204597e8a2e8Smrgfi 204697e8a2e8Smrg 204797e8a2e8Smrgfi 204897e8a2e8Smrg 204997e8a2e8Smrg 205097e8a2e8Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 205197e8a2e8SmrgSee \`config.log' for more details." >&5 205297e8a2e8Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 205397e8a2e8SmrgSee \`config.log' for more details." >&2;} 205497e8a2e8Smrg { (exit 1); exit 1; }; } 205597e8a2e8Smrg 205697e8a2e8Smrg# Provide some information about the compiler. 205797e8a2e8Smrgecho "$as_me:$LINENO:" \ 205897e8a2e8Smrg "checking for C compiler version" >&5 205997e8a2e8Smrgac_compiler=`set X $ac_compile; echo $2` 206097e8a2e8Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 206197e8a2e8Smrg (eval $ac_compiler --version </dev/null >&5) 2>&5 206297e8a2e8Smrg ac_status=$? 206397e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 206497e8a2e8Smrg (exit $ac_status); } 206597e8a2e8Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 206697e8a2e8Smrg (eval $ac_compiler -v </dev/null >&5) 2>&5 206797e8a2e8Smrg ac_status=$? 206897e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 206997e8a2e8Smrg (exit $ac_status); } 207097e8a2e8Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 207197e8a2e8Smrg (eval $ac_compiler -V </dev/null >&5) 2>&5 207297e8a2e8Smrg ac_status=$? 207397e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 207497e8a2e8Smrg (exit $ac_status); } 207597e8a2e8Smrg 207697e8a2e8Smrgcat >conftest.$ac_ext <<_ACEOF 207797e8a2e8Smrg/* confdefs.h. */ 207897e8a2e8Smrg_ACEOF 207997e8a2e8Smrgcat confdefs.h >>conftest.$ac_ext 208097e8a2e8Smrgcat >>conftest.$ac_ext <<_ACEOF 208197e8a2e8Smrg/* end confdefs.h. */ 208297e8a2e8Smrg 208397e8a2e8Smrgint 208497e8a2e8Smrgmain () 208597e8a2e8Smrg{ 208697e8a2e8Smrg 208797e8a2e8Smrg ; 208897e8a2e8Smrg return 0; 208997e8a2e8Smrg} 209097e8a2e8Smrg_ACEOF 209197e8a2e8Smrgac_clean_files_save=$ac_clean_files 209297e8a2e8Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 209397e8a2e8Smrg# Try to create an executable without -o first, disregard a.out. 209497e8a2e8Smrg# It will help us diagnose broken compilers, and finding out an intuition 209597e8a2e8Smrg# of exeext. 209697e8a2e8Smrgecho "$as_me:$LINENO: checking for C compiler default output file name" >&5 209797e8a2e8Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 209897e8a2e8Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 209997e8a2e8Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 210097e8a2e8Smrg (eval $ac_link_default) 2>&5 210197e8a2e8Smrg ac_status=$? 210297e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 210397e8a2e8Smrg (exit $ac_status); }; then 210497e8a2e8Smrg # Find the output, starting from the most likely. This scheme is 210597e8a2e8Smrg# not robust to junk in `.', hence go to wildcards (a.*) only as a last 210697e8a2e8Smrg# resort. 210797e8a2e8Smrg 210897e8a2e8Smrg# Be careful to initialize this variable, since it used to be cached. 210997e8a2e8Smrg# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 211097e8a2e8Smrgac_cv_exeext= 211197e8a2e8Smrg# b.out is created by i960 compilers. 211297e8a2e8Smrgfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 211397e8a2e8Smrgdo 211497e8a2e8Smrg test -f "$ac_file" || continue 211597e8a2e8Smrg case $ac_file in 211697e8a2e8Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 211797e8a2e8Smrg ;; 211897e8a2e8Smrg conftest.$ac_ext ) 211997e8a2e8Smrg # This is the source file. 212097e8a2e8Smrg ;; 212197e8a2e8Smrg [ab].out ) 212297e8a2e8Smrg # We found the default executable, but exeext='' is most 212397e8a2e8Smrg # certainly right. 212497e8a2e8Smrg break;; 212597e8a2e8Smrg *.* ) 212697e8a2e8Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 212797e8a2e8Smrg # FIXME: I believe we export ac_cv_exeext for Libtool, 212897e8a2e8Smrg # but it would be cool to find out if it's true. Does anybody 212997e8a2e8Smrg # maintain Libtool? --akim. 213097e8a2e8Smrg export ac_cv_exeext 213197e8a2e8Smrg break;; 213297e8a2e8Smrg * ) 213397e8a2e8Smrg break;; 213497e8a2e8Smrg esac 213597e8a2e8Smrgdone 213697e8a2e8Smrgelse 213797e8a2e8Smrg echo "$as_me: failed program was:" >&5 213897e8a2e8Smrgsed 's/^/| /' conftest.$ac_ext >&5 213997e8a2e8Smrg 214097e8a2e8Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 214197e8a2e8SmrgSee \`config.log' for more details." >&5 214297e8a2e8Smrgecho "$as_me: error: C compiler cannot create executables 214397e8a2e8SmrgSee \`config.log' for more details." >&2;} 214497e8a2e8Smrg { (exit 77); exit 77; }; } 214597e8a2e8Smrgfi 214697e8a2e8Smrg 214797e8a2e8Smrgac_exeext=$ac_cv_exeext 214897e8a2e8Smrgecho "$as_me:$LINENO: result: $ac_file" >&5 214997e8a2e8Smrgecho "${ECHO_T}$ac_file" >&6 215097e8a2e8Smrg 215197e8a2e8Smrg# Check the compiler produces executables we can run. If not, either 215297e8a2e8Smrg# the compiler is broken, or we cross compile. 215397e8a2e8Smrgecho "$as_me:$LINENO: checking whether the C compiler works" >&5 215497e8a2e8Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 215597e8a2e8Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 215697e8a2e8Smrg# If not cross compiling, check that we can run a simple program. 215797e8a2e8Smrgif test "$cross_compiling" != yes; then 215897e8a2e8Smrg if { ac_try='./$ac_file' 215997e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 216097e8a2e8Smrg (eval $ac_try) 2>&5 216197e8a2e8Smrg ac_status=$? 216297e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 216397e8a2e8Smrg (exit $ac_status); }; }; then 216497e8a2e8Smrg cross_compiling=no 216597e8a2e8Smrg else 216697e8a2e8Smrg if test "$cross_compiling" = maybe; then 216797e8a2e8Smrg cross_compiling=yes 216897e8a2e8Smrg else 216997e8a2e8Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 217097e8a2e8SmrgIf you meant to cross compile, use \`--host'. 217197e8a2e8SmrgSee \`config.log' for more details." >&5 217297e8a2e8Smrgecho "$as_me: error: cannot run C compiled programs. 217397e8a2e8SmrgIf you meant to cross compile, use \`--host'. 217497e8a2e8SmrgSee \`config.log' for more details." >&2;} 217597e8a2e8Smrg { (exit 1); exit 1; }; } 217697e8a2e8Smrg fi 217797e8a2e8Smrg fi 217897e8a2e8Smrgfi 217997e8a2e8Smrgecho "$as_me:$LINENO: result: yes" >&5 218097e8a2e8Smrgecho "${ECHO_T}yes" >&6 218197e8a2e8Smrg 218297e8a2e8Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 218397e8a2e8Smrgac_clean_files=$ac_clean_files_save 218497e8a2e8Smrg# Check the compiler produces executables we can run. If not, either 218597e8a2e8Smrg# the compiler is broken, or we cross compile. 218697e8a2e8Smrgecho "$as_me:$LINENO: checking whether we are cross compiling" >&5 218797e8a2e8Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 218897e8a2e8Smrgecho "$as_me:$LINENO: result: $cross_compiling" >&5 218997e8a2e8Smrgecho "${ECHO_T}$cross_compiling" >&6 219097e8a2e8Smrg 219197e8a2e8Smrgecho "$as_me:$LINENO: checking for suffix of executables" >&5 219297e8a2e8Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 219397e8a2e8Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 219497e8a2e8Smrg (eval $ac_link) 2>&5 219597e8a2e8Smrg ac_status=$? 219697e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 219797e8a2e8Smrg (exit $ac_status); }; then 219897e8a2e8Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 219997e8a2e8Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 220097e8a2e8Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 220197e8a2e8Smrg# `rm'. 220297e8a2e8Smrgfor ac_file in conftest.exe conftest conftest.*; do 220397e8a2e8Smrg test -f "$ac_file" || continue 220497e8a2e8Smrg case $ac_file in 220597e8a2e8Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 220697e8a2e8Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 220797e8a2e8Smrg export ac_cv_exeext 220897e8a2e8Smrg break;; 220997e8a2e8Smrg * ) break;; 221097e8a2e8Smrg esac 221197e8a2e8Smrgdone 221297e8a2e8Smrgelse 221397e8a2e8Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 221497e8a2e8SmrgSee \`config.log' for more details." >&5 221597e8a2e8Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 221697e8a2e8SmrgSee \`config.log' for more details." >&2;} 221797e8a2e8Smrg { (exit 1); exit 1; }; } 221897e8a2e8Smrgfi 221997e8a2e8Smrg 222097e8a2e8Smrgrm -f conftest$ac_cv_exeext 222197e8a2e8Smrgecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5 222297e8a2e8Smrgecho "${ECHO_T}$ac_cv_exeext" >&6 222397e8a2e8Smrg 222497e8a2e8Smrgrm -f conftest.$ac_ext 222597e8a2e8SmrgEXEEXT=$ac_cv_exeext 222697e8a2e8Smrgac_exeext=$EXEEXT 222797e8a2e8Smrgecho "$as_me:$LINENO: checking for suffix of object files" >&5 222897e8a2e8Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 222997e8a2e8Smrgif test "${ac_cv_objext+set}" = set; then 223097e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 223197e8a2e8Smrgelse 223297e8a2e8Smrg cat >conftest.$ac_ext <<_ACEOF 223397e8a2e8Smrg/* confdefs.h. */ 223497e8a2e8Smrg_ACEOF 223597e8a2e8Smrgcat confdefs.h >>conftest.$ac_ext 223697e8a2e8Smrgcat >>conftest.$ac_ext <<_ACEOF 223797e8a2e8Smrg/* end confdefs.h. */ 223897e8a2e8Smrg 223997e8a2e8Smrgint 224097e8a2e8Smrgmain () 224197e8a2e8Smrg{ 224297e8a2e8Smrg 224397e8a2e8Smrg ; 224497e8a2e8Smrg return 0; 224597e8a2e8Smrg} 224697e8a2e8Smrg_ACEOF 224797e8a2e8Smrgrm -f conftest.o conftest.obj 224897e8a2e8Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 224997e8a2e8Smrg (eval $ac_compile) 2>&5 225097e8a2e8Smrg ac_status=$? 225197e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 225297e8a2e8Smrg (exit $ac_status); }; then 225397e8a2e8Smrg for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 225497e8a2e8Smrg case $ac_file in 225597e8a2e8Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 225697e8a2e8Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 225797e8a2e8Smrg break;; 225897e8a2e8Smrg esac 225997e8a2e8Smrgdone 226097e8a2e8Smrgelse 226197e8a2e8Smrg echo "$as_me: failed program was:" >&5 226297e8a2e8Smrgsed 's/^/| /' conftest.$ac_ext >&5 226397e8a2e8Smrg 226497e8a2e8Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 226597e8a2e8SmrgSee \`config.log' for more details." >&5 226697e8a2e8Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 226797e8a2e8SmrgSee \`config.log' for more details." >&2;} 226897e8a2e8Smrg { (exit 1); exit 1; }; } 226997e8a2e8Smrgfi 227097e8a2e8Smrg 227197e8a2e8Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 227297e8a2e8Smrgfi 227397e8a2e8Smrgecho "$as_me:$LINENO: result: $ac_cv_objext" >&5 227497e8a2e8Smrgecho "${ECHO_T}$ac_cv_objext" >&6 227597e8a2e8SmrgOBJEXT=$ac_cv_objext 227697e8a2e8Smrgac_objext=$OBJEXT 227797e8a2e8Smrgecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 227897e8a2e8Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 227997e8a2e8Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 228097e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 228197e8a2e8Smrgelse 228297e8a2e8Smrg cat >conftest.$ac_ext <<_ACEOF 228397e8a2e8Smrg/* confdefs.h. */ 228497e8a2e8Smrg_ACEOF 228597e8a2e8Smrgcat confdefs.h >>conftest.$ac_ext 228697e8a2e8Smrgcat >>conftest.$ac_ext <<_ACEOF 228797e8a2e8Smrg/* end confdefs.h. */ 228897e8a2e8Smrg 228997e8a2e8Smrgint 229097e8a2e8Smrgmain () 229197e8a2e8Smrg{ 229297e8a2e8Smrg#ifndef __GNUC__ 229397e8a2e8Smrg choke me 229497e8a2e8Smrg#endif 229597e8a2e8Smrg 229697e8a2e8Smrg ; 229797e8a2e8Smrg return 0; 229897e8a2e8Smrg} 229997e8a2e8Smrg_ACEOF 230097e8a2e8Smrgrm -f conftest.$ac_objext 230197e8a2e8Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 230297e8a2e8Smrg (eval $ac_compile) 2>conftest.er1 230397e8a2e8Smrg ac_status=$? 230497e8a2e8Smrg grep -v '^ *+' conftest.er1 >conftest.err 230597e8a2e8Smrg rm -f conftest.er1 230697e8a2e8Smrg cat conftest.err >&5 230797e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 230897e8a2e8Smrg (exit $ac_status); } && 230997e8a2e8Smrg { ac_try='test -z "$ac_c_werror_flag" 231097e8a2e8Smrg || test ! -s conftest.err' 231197e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 231297e8a2e8Smrg (eval $ac_try) 2>&5 231397e8a2e8Smrg ac_status=$? 231497e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 231597e8a2e8Smrg (exit $ac_status); }; } && 231697e8a2e8Smrg { ac_try='test -s conftest.$ac_objext' 231797e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 231897e8a2e8Smrg (eval $ac_try) 2>&5 231997e8a2e8Smrg ac_status=$? 232097e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 232197e8a2e8Smrg (exit $ac_status); }; }; then 232297e8a2e8Smrg ac_compiler_gnu=yes 232397e8a2e8Smrgelse 232497e8a2e8Smrg echo "$as_me: failed program was:" >&5 232597e8a2e8Smrgsed 's/^/| /' conftest.$ac_ext >&5 232697e8a2e8Smrg 232797e8a2e8Smrgac_compiler_gnu=no 232897e8a2e8Smrgfi 232997e8a2e8Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 233097e8a2e8Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 233197e8a2e8Smrg 233297e8a2e8Smrgfi 233397e8a2e8Smrgecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 233497e8a2e8Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 233597e8a2e8SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 233697e8a2e8Smrgac_test_CFLAGS=${CFLAGS+set} 233797e8a2e8Smrgac_save_CFLAGS=$CFLAGS 233897e8a2e8SmrgCFLAGS="-g" 233997e8a2e8Smrgecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5 234097e8a2e8Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 234197e8a2e8Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 234297e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 234397e8a2e8Smrgelse 234497e8a2e8Smrg cat >conftest.$ac_ext <<_ACEOF 234597e8a2e8Smrg/* confdefs.h. */ 234697e8a2e8Smrg_ACEOF 234797e8a2e8Smrgcat confdefs.h >>conftest.$ac_ext 234897e8a2e8Smrgcat >>conftest.$ac_ext <<_ACEOF 234997e8a2e8Smrg/* end confdefs.h. */ 235097e8a2e8Smrg 235197e8a2e8Smrgint 235297e8a2e8Smrgmain () 235397e8a2e8Smrg{ 235497e8a2e8Smrg 235597e8a2e8Smrg ; 235697e8a2e8Smrg return 0; 235797e8a2e8Smrg} 235897e8a2e8Smrg_ACEOF 235997e8a2e8Smrgrm -f conftest.$ac_objext 236097e8a2e8Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 236197e8a2e8Smrg (eval $ac_compile) 2>conftest.er1 236297e8a2e8Smrg ac_status=$? 236397e8a2e8Smrg grep -v '^ *+' conftest.er1 >conftest.err 236497e8a2e8Smrg rm -f conftest.er1 236597e8a2e8Smrg cat conftest.err >&5 236697e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 236797e8a2e8Smrg (exit $ac_status); } && 236897e8a2e8Smrg { ac_try='test -z "$ac_c_werror_flag" 236997e8a2e8Smrg || test ! -s conftest.err' 237097e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 237197e8a2e8Smrg (eval $ac_try) 2>&5 237297e8a2e8Smrg ac_status=$? 237397e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 237497e8a2e8Smrg (exit $ac_status); }; } && 237597e8a2e8Smrg { ac_try='test -s conftest.$ac_objext' 237697e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 237797e8a2e8Smrg (eval $ac_try) 2>&5 237897e8a2e8Smrg ac_status=$? 237997e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 238097e8a2e8Smrg (exit $ac_status); }; }; then 238197e8a2e8Smrg ac_cv_prog_cc_g=yes 238297e8a2e8Smrgelse 238397e8a2e8Smrg echo "$as_me: failed program was:" >&5 238497e8a2e8Smrgsed 's/^/| /' conftest.$ac_ext >&5 238597e8a2e8Smrg 238697e8a2e8Smrgac_cv_prog_cc_g=no 238797e8a2e8Smrgfi 238897e8a2e8Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 238997e8a2e8Smrgfi 239097e8a2e8Smrgecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 239197e8a2e8Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6 239297e8a2e8Smrgif test "$ac_test_CFLAGS" = set; then 239397e8a2e8Smrg CFLAGS=$ac_save_CFLAGS 239497e8a2e8Smrgelif test $ac_cv_prog_cc_g = yes; then 239597e8a2e8Smrg if test "$GCC" = yes; then 239697e8a2e8Smrg CFLAGS="-g -O2" 239797e8a2e8Smrg else 239897e8a2e8Smrg CFLAGS="-g" 239997e8a2e8Smrg fi 240097e8a2e8Smrgelse 240197e8a2e8Smrg if test "$GCC" = yes; then 240297e8a2e8Smrg CFLAGS="-O2" 240397e8a2e8Smrg else 240497e8a2e8Smrg CFLAGS= 240597e8a2e8Smrg fi 240697e8a2e8Smrgfi 240797e8a2e8Smrgecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 240897e8a2e8Smrgecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 240997e8a2e8Smrgif test "${ac_cv_prog_cc_stdc+set}" = set; then 241097e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 241197e8a2e8Smrgelse 241297e8a2e8Smrg ac_cv_prog_cc_stdc=no 241397e8a2e8Smrgac_save_CC=$CC 241497e8a2e8Smrgcat >conftest.$ac_ext <<_ACEOF 241597e8a2e8Smrg/* confdefs.h. */ 241697e8a2e8Smrg_ACEOF 241797e8a2e8Smrgcat confdefs.h >>conftest.$ac_ext 241897e8a2e8Smrgcat >>conftest.$ac_ext <<_ACEOF 241997e8a2e8Smrg/* end confdefs.h. */ 242097e8a2e8Smrg#include <stdarg.h> 242197e8a2e8Smrg#include <stdio.h> 242297e8a2e8Smrg#include <sys/types.h> 242397e8a2e8Smrg#include <sys/stat.h> 242497e8a2e8Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 242597e8a2e8Smrgstruct buf { int x; }; 242697e8a2e8SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 242797e8a2e8Smrgstatic char *e (p, i) 242897e8a2e8Smrg char **p; 242997e8a2e8Smrg int i; 243097e8a2e8Smrg{ 243197e8a2e8Smrg return p[i]; 243297e8a2e8Smrg} 243397e8a2e8Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 243497e8a2e8Smrg{ 243597e8a2e8Smrg char *s; 243697e8a2e8Smrg va_list v; 243797e8a2e8Smrg va_start (v,p); 243897e8a2e8Smrg s = g (p, va_arg (v,int)); 243997e8a2e8Smrg va_end (v); 244097e8a2e8Smrg return s; 244197e8a2e8Smrg} 244297e8a2e8Smrg 244397e8a2e8Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 244497e8a2e8Smrg function prototypes and stuff, but not '\xHH' hex character constants. 244597e8a2e8Smrg These don't provoke an error unfortunately, instead are silently treated 244697e8a2e8Smrg as 'x'. The following induces an error, until -std1 is added to get 244797e8a2e8Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 244897e8a2e8Smrg array size at least. It's necessary to write '\x00'==0 to get something 244997e8a2e8Smrg that's true only with -std1. */ 245097e8a2e8Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 245197e8a2e8Smrg 245297e8a2e8Smrgint test (int i, double x); 245397e8a2e8Smrgstruct s1 {int (*f) (int a);}; 245497e8a2e8Smrgstruct s2 {int (*f) (double a);}; 245597e8a2e8Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 245697e8a2e8Smrgint argc; 245797e8a2e8Smrgchar **argv; 245897e8a2e8Smrgint 245997e8a2e8Smrgmain () 246097e8a2e8Smrg{ 246197e8a2e8Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 246297e8a2e8Smrg ; 246397e8a2e8Smrg return 0; 246497e8a2e8Smrg} 246597e8a2e8Smrg_ACEOF 246697e8a2e8Smrg# Don't try gcc -ansi; that turns off useful extensions and 246797e8a2e8Smrg# breaks some systems' header files. 246897e8a2e8Smrg# AIX -qlanglvl=ansi 246997e8a2e8Smrg# Ultrix and OSF/1 -std1 247097e8a2e8Smrg# HP-UX 10.20 and later -Ae 247197e8a2e8Smrg# HP-UX older versions -Aa -D_HPUX_SOURCE 247297e8a2e8Smrg# SVR4 -Xc -D__EXTENSIONS__ 247397e8a2e8Smrgfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 247497e8a2e8Smrgdo 247597e8a2e8Smrg CC="$ac_save_CC $ac_arg" 247697e8a2e8Smrg rm -f conftest.$ac_objext 247797e8a2e8Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 247897e8a2e8Smrg (eval $ac_compile) 2>conftest.er1 247997e8a2e8Smrg ac_status=$? 248097e8a2e8Smrg grep -v '^ *+' conftest.er1 >conftest.err 248197e8a2e8Smrg rm -f conftest.er1 248297e8a2e8Smrg cat conftest.err >&5 248397e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 248497e8a2e8Smrg (exit $ac_status); } && 248597e8a2e8Smrg { ac_try='test -z "$ac_c_werror_flag" 248697e8a2e8Smrg || test ! -s conftest.err' 248797e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 248897e8a2e8Smrg (eval $ac_try) 2>&5 248997e8a2e8Smrg ac_status=$? 249097e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 249197e8a2e8Smrg (exit $ac_status); }; } && 249297e8a2e8Smrg { ac_try='test -s conftest.$ac_objext' 249397e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 249497e8a2e8Smrg (eval $ac_try) 2>&5 249597e8a2e8Smrg ac_status=$? 249697e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 249797e8a2e8Smrg (exit $ac_status); }; }; then 249897e8a2e8Smrg ac_cv_prog_cc_stdc=$ac_arg 249997e8a2e8Smrgbreak 250097e8a2e8Smrgelse 250197e8a2e8Smrg echo "$as_me: failed program was:" >&5 250297e8a2e8Smrgsed 's/^/| /' conftest.$ac_ext >&5 250397e8a2e8Smrg 250497e8a2e8Smrgfi 250597e8a2e8Smrgrm -f conftest.err conftest.$ac_objext 250697e8a2e8Smrgdone 250797e8a2e8Smrgrm -f conftest.$ac_ext conftest.$ac_objext 250897e8a2e8SmrgCC=$ac_save_CC 250997e8a2e8Smrg 251097e8a2e8Smrgfi 251197e8a2e8Smrg 251297e8a2e8Smrgcase "x$ac_cv_prog_cc_stdc" in 251397e8a2e8Smrg x|xno) 251497e8a2e8Smrg echo "$as_me:$LINENO: result: none needed" >&5 251597e8a2e8Smrgecho "${ECHO_T}none needed" >&6 ;; 251697e8a2e8Smrg *) 251797e8a2e8Smrg echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 251897e8a2e8Smrgecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 251997e8a2e8Smrg CC="$CC $ac_cv_prog_cc_stdc" ;; 252097e8a2e8Smrgesac 252197e8a2e8Smrg 252297e8a2e8Smrg# Some people use a C++ compiler to compile C. Since we use `exit', 252397e8a2e8Smrg# in C++ we need to declare it. In case someone uses the same compiler 252497e8a2e8Smrg# for both compiling C and C++ we need to have the C++ compiler decide 252597e8a2e8Smrg# the declaration of exit, since it's the most demanding environment. 252697e8a2e8Smrgcat >conftest.$ac_ext <<_ACEOF 252797e8a2e8Smrg#ifndef __cplusplus 252897e8a2e8Smrg choke me 252997e8a2e8Smrg#endif 253097e8a2e8Smrg_ACEOF 253197e8a2e8Smrgrm -f conftest.$ac_objext 253297e8a2e8Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 253397e8a2e8Smrg (eval $ac_compile) 2>conftest.er1 253497e8a2e8Smrg ac_status=$? 253597e8a2e8Smrg grep -v '^ *+' conftest.er1 >conftest.err 253697e8a2e8Smrg rm -f conftest.er1 253797e8a2e8Smrg cat conftest.err >&5 253897e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 253997e8a2e8Smrg (exit $ac_status); } && 254097e8a2e8Smrg { ac_try='test -z "$ac_c_werror_flag" 254197e8a2e8Smrg || test ! -s conftest.err' 254297e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 254397e8a2e8Smrg (eval $ac_try) 2>&5 254497e8a2e8Smrg ac_status=$? 254597e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 254697e8a2e8Smrg (exit $ac_status); }; } && 254797e8a2e8Smrg { ac_try='test -s conftest.$ac_objext' 254897e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 254997e8a2e8Smrg (eval $ac_try) 2>&5 255097e8a2e8Smrg ac_status=$? 255197e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 255297e8a2e8Smrg (exit $ac_status); }; }; then 255397e8a2e8Smrg for ac_declaration in \ 255497e8a2e8Smrg '' \ 255597e8a2e8Smrg 'extern "C" void std::exit (int) throw (); using std::exit;' \ 255697e8a2e8Smrg 'extern "C" void std::exit (int); using std::exit;' \ 255797e8a2e8Smrg 'extern "C" void exit (int) throw ();' \ 255897e8a2e8Smrg 'extern "C" void exit (int);' \ 255997e8a2e8Smrg 'void exit (int);' 256097e8a2e8Smrgdo 256197e8a2e8Smrg cat >conftest.$ac_ext <<_ACEOF 256297e8a2e8Smrg/* confdefs.h. */ 256397e8a2e8Smrg_ACEOF 256497e8a2e8Smrgcat confdefs.h >>conftest.$ac_ext 256597e8a2e8Smrgcat >>conftest.$ac_ext <<_ACEOF 256697e8a2e8Smrg/* end confdefs.h. */ 256797e8a2e8Smrg$ac_declaration 256897e8a2e8Smrg#include <stdlib.h> 256997e8a2e8Smrgint 257097e8a2e8Smrgmain () 257197e8a2e8Smrg{ 257297e8a2e8Smrgexit (42); 257397e8a2e8Smrg ; 257497e8a2e8Smrg return 0; 257597e8a2e8Smrg} 257697e8a2e8Smrg_ACEOF 257797e8a2e8Smrgrm -f conftest.$ac_objext 257897e8a2e8Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 257997e8a2e8Smrg (eval $ac_compile) 2>conftest.er1 258097e8a2e8Smrg ac_status=$? 258197e8a2e8Smrg grep -v '^ *+' conftest.er1 >conftest.err 258297e8a2e8Smrg rm -f conftest.er1 258397e8a2e8Smrg cat conftest.err >&5 258497e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 258597e8a2e8Smrg (exit $ac_status); } && 258697e8a2e8Smrg { ac_try='test -z "$ac_c_werror_flag" 258797e8a2e8Smrg || test ! -s conftest.err' 258897e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 258997e8a2e8Smrg (eval $ac_try) 2>&5 259097e8a2e8Smrg ac_status=$? 259197e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 259297e8a2e8Smrg (exit $ac_status); }; } && 259397e8a2e8Smrg { ac_try='test -s conftest.$ac_objext' 259497e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 259597e8a2e8Smrg (eval $ac_try) 2>&5 259697e8a2e8Smrg ac_status=$? 259797e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 259897e8a2e8Smrg (exit $ac_status); }; }; then 259997e8a2e8Smrg : 260097e8a2e8Smrgelse 260197e8a2e8Smrg echo "$as_me: failed program was:" >&5 260297e8a2e8Smrgsed 's/^/| /' conftest.$ac_ext >&5 260397e8a2e8Smrg 260497e8a2e8Smrgcontinue 260597e8a2e8Smrgfi 260697e8a2e8Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 260797e8a2e8Smrg cat >conftest.$ac_ext <<_ACEOF 260897e8a2e8Smrg/* confdefs.h. */ 260997e8a2e8Smrg_ACEOF 261097e8a2e8Smrgcat confdefs.h >>conftest.$ac_ext 261197e8a2e8Smrgcat >>conftest.$ac_ext <<_ACEOF 261297e8a2e8Smrg/* end confdefs.h. */ 261397e8a2e8Smrg$ac_declaration 261497e8a2e8Smrgint 261597e8a2e8Smrgmain () 261697e8a2e8Smrg{ 261797e8a2e8Smrgexit (42); 261897e8a2e8Smrg ; 261997e8a2e8Smrg return 0; 262097e8a2e8Smrg} 262197e8a2e8Smrg_ACEOF 262297e8a2e8Smrgrm -f conftest.$ac_objext 262397e8a2e8Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 262497e8a2e8Smrg (eval $ac_compile) 2>conftest.er1 262597e8a2e8Smrg ac_status=$? 262697e8a2e8Smrg grep -v '^ *+' conftest.er1 >conftest.err 262797e8a2e8Smrg rm -f conftest.er1 262897e8a2e8Smrg cat conftest.err >&5 262997e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 263097e8a2e8Smrg (exit $ac_status); } && 263197e8a2e8Smrg { ac_try='test -z "$ac_c_werror_flag" 263297e8a2e8Smrg || test ! -s conftest.err' 263397e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 263497e8a2e8Smrg (eval $ac_try) 2>&5 263597e8a2e8Smrg ac_status=$? 263697e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 263797e8a2e8Smrg (exit $ac_status); }; } && 263897e8a2e8Smrg { ac_try='test -s conftest.$ac_objext' 263997e8a2e8Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 264097e8a2e8Smrg (eval $ac_try) 2>&5 264197e8a2e8Smrg ac_status=$? 264297e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 264397e8a2e8Smrg (exit $ac_status); }; }; then 264497e8a2e8Smrg break 264597e8a2e8Smrgelse 264697e8a2e8Smrg echo "$as_me: failed program was:" >&5 264797e8a2e8Smrgsed 's/^/| /' conftest.$ac_ext >&5 264897e8a2e8Smrg 264997e8a2e8Smrgfi 265097e8a2e8Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 265197e8a2e8Smrgdone 265297e8a2e8Smrgrm -f conftest* 265397e8a2e8Smrgif test -n "$ac_declaration"; then 265497e8a2e8Smrg echo '#ifdef __cplusplus' >>confdefs.h 265597e8a2e8Smrg echo $ac_declaration >>confdefs.h 265697e8a2e8Smrg echo '#endif' >>confdefs.h 265797e8a2e8Smrgfi 265897e8a2e8Smrg 265997e8a2e8Smrgelse 266097e8a2e8Smrg echo "$as_me: failed program was:" >&5 266197e8a2e8Smrgsed 's/^/| /' conftest.$ac_ext >&5 266297e8a2e8Smrg 266397e8a2e8Smrgfi 266497e8a2e8Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 266597e8a2e8Smrgac_ext=c 266697e8a2e8Smrgac_cpp='$CPP $CPPFLAGS' 266797e8a2e8Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 266897e8a2e8Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 266997e8a2e8Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 267097e8a2e8SmrgDEPDIR="${am__leading_dot}deps" 267197e8a2e8Smrg 267297e8a2e8Smrg ac_config_commands="$ac_config_commands depfiles" 267397e8a2e8Smrg 267497e8a2e8Smrg 267597e8a2e8Smrgam_make=${MAKE-make} 267697e8a2e8Smrgcat > confinc << 'END' 267797e8a2e8Smrgam__doit: 267897e8a2e8Smrg @echo done 267997e8a2e8Smrg.PHONY: am__doit 268097e8a2e8SmrgEND 268197e8a2e8Smrg# If we don't find an include directive, just comment out the code. 268297e8a2e8Smrgecho "$as_me:$LINENO: checking for style of include used by $am_make" >&5 268397e8a2e8Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 268497e8a2e8Smrgam__include="#" 268597e8a2e8Smrgam__quote= 268697e8a2e8Smrg_am_result=none 268797e8a2e8Smrg# First try GNU make style include. 268897e8a2e8Smrgecho "include confinc" > confmf 268997e8a2e8Smrg# We grep out `Entering directory' and `Leaving directory' 269097e8a2e8Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 269197e8a2e8Smrg# In particular we don't look at `^make:' because GNU make might 269297e8a2e8Smrg# be invoked under some other name (usually "gmake"), in which 269397e8a2e8Smrg# case it prints its new name instead of `make'. 269497e8a2e8Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 269597e8a2e8Smrg am__include=include 269697e8a2e8Smrg am__quote= 269797e8a2e8Smrg _am_result=GNU 269897e8a2e8Smrgfi 269997e8a2e8Smrg# Now try BSD make style include. 270097e8a2e8Smrgif test "$am__include" = "#"; then 270197e8a2e8Smrg echo '.include "confinc"' > confmf 270297e8a2e8Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 270397e8a2e8Smrg am__include=.include 270497e8a2e8Smrg am__quote="\"" 270597e8a2e8Smrg _am_result=BSD 270697e8a2e8Smrg fi 270797e8a2e8Smrgfi 270897e8a2e8Smrg 270997e8a2e8Smrg 271097e8a2e8Smrgecho "$as_me:$LINENO: result: $_am_result" >&5 271197e8a2e8Smrgecho "${ECHO_T}$_am_result" >&6 271297e8a2e8Smrgrm -f confinc confmf 271397e8a2e8Smrg 271497e8a2e8Smrg# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 271597e8a2e8Smrgif test "${enable_dependency_tracking+set}" = set; then 271697e8a2e8Smrg enableval="$enable_dependency_tracking" 271797e8a2e8Smrg 271897e8a2e8Smrgfi; 271997e8a2e8Smrgif test "x$enable_dependency_tracking" != xno; then 272097e8a2e8Smrg am_depcomp="$ac_aux_dir/depcomp" 272197e8a2e8Smrg AMDEPBACKSLASH='\' 272297e8a2e8Smrgfi 272397e8a2e8Smrg 272497e8a2e8Smrg 272597e8a2e8Smrgif test "x$enable_dependency_tracking" != xno; then 272697e8a2e8Smrg AMDEP_TRUE= 272797e8a2e8Smrg AMDEP_FALSE='#' 272897e8a2e8Smrgelse 272997e8a2e8Smrg AMDEP_TRUE='#' 273097e8a2e8Smrg AMDEP_FALSE= 273197e8a2e8Smrgfi 273297e8a2e8Smrg 273397e8a2e8Smrg 273497e8a2e8Smrg 273597e8a2e8Smrg 273697e8a2e8Smrgdepcc="$CC" am_compiler_list= 273797e8a2e8Smrg 273897e8a2e8Smrgecho "$as_me:$LINENO: checking dependency style of $depcc" >&5 273997e8a2e8Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 274097e8a2e8Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 274197e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 274297e8a2e8Smrgelse 274397e8a2e8Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 274497e8a2e8Smrg # We make a subdir and do the tests there. Otherwise we can end up 274597e8a2e8Smrg # making bogus files that we don't know about and never remove. For 274697e8a2e8Smrg # instance it was reported that on HP-UX the gcc test will end up 274797e8a2e8Smrg # making a dummy file named `D' -- because `-MD' means `put the output 274897e8a2e8Smrg # in D'. 274997e8a2e8Smrg mkdir conftest.dir 275097e8a2e8Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 275197e8a2e8Smrg # using a relative directory. 275297e8a2e8Smrg cp "$am_depcomp" conftest.dir 275397e8a2e8Smrg cd conftest.dir 275497e8a2e8Smrg # We will build objects and dependencies in a subdirectory because 275597e8a2e8Smrg # it helps to detect inapplicable dependency modes. For instance 275697e8a2e8Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 275797e8a2e8Smrg # side effect of compilation, but ICC will put the dependencies in 275897e8a2e8Smrg # the current directory while Tru64 will put them in the object 275997e8a2e8Smrg # directory. 276097e8a2e8Smrg mkdir sub 276197e8a2e8Smrg 276297e8a2e8Smrg am_cv_CC_dependencies_compiler_type=none 276397e8a2e8Smrg if test "$am_compiler_list" = ""; then 276497e8a2e8Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 276597e8a2e8Smrg fi 276697e8a2e8Smrg for depmode in $am_compiler_list; do 276797e8a2e8Smrg # Setup a source with many dependencies, because some compilers 276897e8a2e8Smrg # like to wrap large dependency lists on column 80 (with \), and 276997e8a2e8Smrg # we should not choose a depcomp mode which is confused by this. 277097e8a2e8Smrg # 277197e8a2e8Smrg # We need to recreate these files for each test, as the compiler may 277297e8a2e8Smrg # overwrite some of them when testing with obscure command lines. 277397e8a2e8Smrg # This happens at least with the AIX C compiler. 277497e8a2e8Smrg : > sub/conftest.c 277597e8a2e8Smrg for i in 1 2 3 4 5 6; do 277697e8a2e8Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 277797e8a2e8Smrg : > sub/conftst$i.h 277897e8a2e8Smrg done 277997e8a2e8Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 278097e8a2e8Smrg 278197e8a2e8Smrg case $depmode in 278297e8a2e8Smrg nosideeffect) 278397e8a2e8Smrg # after this tag, mechanisms are not by side-effect, so they'll 278497e8a2e8Smrg # only be used when explicitly requested 278597e8a2e8Smrg if test "x$enable_dependency_tracking" = xyes; then 278697e8a2e8Smrg continue 278797e8a2e8Smrg else 278897e8a2e8Smrg break 278997e8a2e8Smrg fi 279097e8a2e8Smrg ;; 279197e8a2e8Smrg none) break ;; 279297e8a2e8Smrg esac 279397e8a2e8Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 279497e8a2e8Smrg # mode. It turns out that the SunPro C++ compiler does not properly 279597e8a2e8Smrg # handle `-M -o', and we need to detect this. 279697e8a2e8Smrg if depmode=$depmode \ 279797e8a2e8Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 279897e8a2e8Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 279997e8a2e8Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 280097e8a2e8Smrg >/dev/null 2>conftest.err && 280197e8a2e8Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 280297e8a2e8Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 280397e8a2e8Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 280497e8a2e8Smrg # icc doesn't choke on unknown options, it will just issue warnings 280597e8a2e8Smrg # (even with -Werror). So we grep stderr for any message 280697e8a2e8Smrg # that says an option was ignored. 280797e8a2e8Smrg if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 280897e8a2e8Smrg am_cv_CC_dependencies_compiler_type=$depmode 280997e8a2e8Smrg break 281097e8a2e8Smrg fi 281197e8a2e8Smrg fi 281297e8a2e8Smrg done 281397e8a2e8Smrg 281497e8a2e8Smrg cd .. 281597e8a2e8Smrg rm -rf conftest.dir 281697e8a2e8Smrgelse 281797e8a2e8Smrg am_cv_CC_dependencies_compiler_type=none 281897e8a2e8Smrgfi 281997e8a2e8Smrg 282097e8a2e8Smrgfi 282197e8a2e8Smrgecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 282297e8a2e8Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 282397e8a2e8SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 282497e8a2e8Smrg 282597e8a2e8Smrg 282697e8a2e8Smrg 282797e8a2e8Smrgif 282897e8a2e8Smrg test "x$enable_dependency_tracking" != xno \ 282997e8a2e8Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 283097e8a2e8Smrg am__fastdepCC_TRUE= 283197e8a2e8Smrg am__fastdepCC_FALSE='#' 283297e8a2e8Smrgelse 283397e8a2e8Smrg am__fastdepCC_TRUE='#' 283497e8a2e8Smrg am__fastdepCC_FALSE= 283597e8a2e8Smrgfi 283697e8a2e8Smrg 283797e8a2e8Smrg 283897e8a2e8Smrg# Find a good install program. We prefer a C program (faster), 283997e8a2e8Smrg# so one script is as good as another. But avoid the broken or 284097e8a2e8Smrg# incompatible versions: 284197e8a2e8Smrg# SysV /etc/install, /usr/sbin/install 284297e8a2e8Smrg# SunOS /usr/etc/install 284397e8a2e8Smrg# IRIX /sbin/install 284497e8a2e8Smrg# AIX /bin/install 284597e8a2e8Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 284697e8a2e8Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 284797e8a2e8Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 284897e8a2e8Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 284997e8a2e8Smrg# OS/2's system install, which has a completely different semantic 285097e8a2e8Smrg# ./install, which can be erroneously created by make from ./install.sh. 285197e8a2e8Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 285297e8a2e8Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 285397e8a2e8Smrgif test -z "$INSTALL"; then 285497e8a2e8Smrgif test "${ac_cv_path_install+set}" = set; then 285597e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 285697e8a2e8Smrgelse 285797e8a2e8Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 285897e8a2e8Smrgfor as_dir in $PATH 285997e8a2e8Smrgdo 286097e8a2e8Smrg IFS=$as_save_IFS 286197e8a2e8Smrg test -z "$as_dir" && as_dir=. 286297e8a2e8Smrg # Account for people who put trailing slashes in PATH elements. 286397e8a2e8Smrgcase $as_dir/ in 286497e8a2e8Smrg ./ | .// | /cC/* | \ 286597e8a2e8Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 286697e8a2e8Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 286797e8a2e8Smrg /usr/ucb/* ) ;; 286897e8a2e8Smrg *) 286997e8a2e8Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 287097e8a2e8Smrg # Don't use installbsd from OSF since it installs stuff as root 287197e8a2e8Smrg # by default. 287297e8a2e8Smrg for ac_prog in ginstall scoinst install; do 287397e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 287497e8a2e8Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 287597e8a2e8Smrg if test $ac_prog = install && 287697e8a2e8Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 287797e8a2e8Smrg # AIX install. It has an incompatible calling convention. 287897e8a2e8Smrg : 287997e8a2e8Smrg elif test $ac_prog = install && 288097e8a2e8Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 288197e8a2e8Smrg # program-specific install script used by HP pwplus--don't use. 288297e8a2e8Smrg : 288397e8a2e8Smrg else 288497e8a2e8Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 288597e8a2e8Smrg break 3 288697e8a2e8Smrg fi 288797e8a2e8Smrg fi 288897e8a2e8Smrg done 288997e8a2e8Smrg done 289097e8a2e8Smrg ;; 289197e8a2e8Smrgesac 289297e8a2e8Smrgdone 289397e8a2e8Smrg 289497e8a2e8Smrg 289597e8a2e8Smrgfi 289697e8a2e8Smrg if test "${ac_cv_path_install+set}" = set; then 289797e8a2e8Smrg INSTALL=$ac_cv_path_install 289897e8a2e8Smrg else 289997e8a2e8Smrg # As a last resort, use the slow shell script. We don't cache a 290097e8a2e8Smrg # path for INSTALL within a source directory, because that will 290197e8a2e8Smrg # break other packages using the cache if that directory is 290297e8a2e8Smrg # removed, or if the path is relative. 290397e8a2e8Smrg INSTALL=$ac_install_sh 290497e8a2e8Smrg fi 290597e8a2e8Smrgfi 290697e8a2e8Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 290797e8a2e8Smrgecho "${ECHO_T}$INSTALL" >&6 290897e8a2e8Smrg 290997e8a2e8Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 291097e8a2e8Smrg# It thinks the first close brace ends the variable substitution. 291197e8a2e8Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 291297e8a2e8Smrg 291397e8a2e8Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 291497e8a2e8Smrg 291597e8a2e8Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 291697e8a2e8Smrg 291797e8a2e8Smrg 291897e8a2e8Smrg# Checks for pkg-config packages 291997e8a2e8Smrg 292097e8a2e8Smrg 292197e8a2e8Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 292297e8a2e8Smrg if test -n "$ac_tool_prefix"; then 292397e8a2e8Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 292497e8a2e8Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 292597e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 292697e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 292797e8a2e8Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 292897e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 292997e8a2e8Smrgelse 293097e8a2e8Smrg case $PKG_CONFIG in 293197e8a2e8Smrg [\\/]* | ?:[\\/]*) 293297e8a2e8Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 293397e8a2e8Smrg ;; 293497e8a2e8Smrg *) 293597e8a2e8Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 293697e8a2e8Smrgfor as_dir in $PATH 293797e8a2e8Smrgdo 293897e8a2e8Smrg IFS=$as_save_IFS 293997e8a2e8Smrg test -z "$as_dir" && as_dir=. 294097e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 294197e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 294297e8a2e8Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 294397e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 294497e8a2e8Smrg break 2 294597e8a2e8Smrg fi 294697e8a2e8Smrgdone 294797e8a2e8Smrgdone 294897e8a2e8Smrg 294997e8a2e8Smrg ;; 295097e8a2e8Smrgesac 295197e8a2e8Smrgfi 295297e8a2e8SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 295397e8a2e8Smrg 295497e8a2e8Smrgif test -n "$PKG_CONFIG"; then 295597e8a2e8Smrg echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 295697e8a2e8Smrgecho "${ECHO_T}$PKG_CONFIG" >&6 295797e8a2e8Smrgelse 295897e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 295997e8a2e8Smrgecho "${ECHO_T}no" >&6 296097e8a2e8Smrgfi 296197e8a2e8Smrg 296297e8a2e8Smrgfi 296397e8a2e8Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 296497e8a2e8Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 296597e8a2e8Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 296697e8a2e8Smrgset dummy pkg-config; ac_word=$2 296797e8a2e8Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 296897e8a2e8Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 296997e8a2e8Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 297097e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 297197e8a2e8Smrgelse 297297e8a2e8Smrg case $ac_pt_PKG_CONFIG in 297397e8a2e8Smrg [\\/]* | ?:[\\/]*) 297497e8a2e8Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 297597e8a2e8Smrg ;; 297697e8a2e8Smrg *) 297797e8a2e8Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 297897e8a2e8Smrgfor as_dir in $PATH 297997e8a2e8Smrgdo 298097e8a2e8Smrg IFS=$as_save_IFS 298197e8a2e8Smrg test -z "$as_dir" && as_dir=. 298297e8a2e8Smrg for ac_exec_ext in '' $ac_executable_extensions; do 298397e8a2e8Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 298497e8a2e8Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 298597e8a2e8Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 298697e8a2e8Smrg break 2 298797e8a2e8Smrg fi 298897e8a2e8Smrgdone 298997e8a2e8Smrgdone 299097e8a2e8Smrg 299197e8a2e8Smrg ;; 299297e8a2e8Smrgesac 299397e8a2e8Smrgfi 299497e8a2e8Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 299597e8a2e8Smrg 299697e8a2e8Smrgif test -n "$ac_pt_PKG_CONFIG"; then 299797e8a2e8Smrg echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 299897e8a2e8Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 299997e8a2e8Smrgelse 300097e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 300197e8a2e8Smrgecho "${ECHO_T}no" >&6 300297e8a2e8Smrgfi 300397e8a2e8Smrg 300497e8a2e8Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 300597e8a2e8Smrgelse 300697e8a2e8Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 300797e8a2e8Smrgfi 300897e8a2e8Smrg 300997e8a2e8Smrgfi 301097e8a2e8Smrgif test -n "$PKG_CONFIG"; then 301197e8a2e8Smrg _pkg_min_version=0.9.0 301297e8a2e8Smrg echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 301397e8a2e8Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 301497e8a2e8Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 301597e8a2e8Smrg echo "$as_me:$LINENO: result: yes" >&5 301697e8a2e8Smrgecho "${ECHO_T}yes" >&6 301797e8a2e8Smrg else 301897e8a2e8Smrg echo "$as_me:$LINENO: result: no" >&5 301997e8a2e8Smrgecho "${ECHO_T}no" >&6 302097e8a2e8Smrg PKG_CONFIG="" 302197e8a2e8Smrg fi 302297e8a2e8Smrg 302397e8a2e8Smrgfi 302497e8a2e8Smrg 302597e8a2e8Smrg # Check whether --enable-xprint or --disable-xprint was given. 302697e8a2e8Smrgif test "${enable_xprint+set}" = set; then 302797e8a2e8Smrg enableval="$enable_xprint" 302897e8a2e8Smrg use_xprint=$enableval 302997e8a2e8Smrgelse 303097e8a2e8Smrg use_xprint=auto 303197e8a2e8Smrgfi; 303297e8a2e8Smrg if test "x$use_xprint" = "xyes"; then 303397e8a2e8Smrg TMP_CHECK1=xaw8 303497e8a2e8Smrg TMP_CHECK2= 303597e8a2e8Smrg xaw_use_xprint=yes 303697e8a2e8Smrg elif test "x$use_xprint" = "xno"; then 303797e8a2e8Smrg TMP_CHECK1=xaw7 303897e8a2e8Smrg TMP_CHECK2= 303997e8a2e8Smrg xaw_use_xprint=no 304097e8a2e8Smrg else 304197e8a2e8Smrg TMP_CHECK1=xaw8 304297e8a2e8Smrg TMP_CHECK2=xaw7 304397e8a2e8Smrg xaw_use_xprint=yes 304497e8a2e8Smrg fi 304597e8a2e8Smrg 304697e8a2e8Smrg 304797e8a2e8Smrgpkg_failed=no 304897e8a2e8Smrgecho "$as_me:$LINENO: checking for TMP_XAW" >&5 304997e8a2e8Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6 305097e8a2e8Smrg 305197e8a2e8Smrgif test -n "$PKG_CONFIG"; then 305297e8a2e8Smrg if test -n "$TMP_XAW_CFLAGS"; then 305397e8a2e8Smrg pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS" 305497e8a2e8Smrg else 305597e8a2e8Smrg if test -n "$PKG_CONFIG" && \ 305697e8a2e8Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 305797e8a2e8Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 305897e8a2e8Smrg ac_status=$? 305997e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 306097e8a2e8Smrg (exit $ac_status); }; then 306197e8a2e8Smrg pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null` 306297e8a2e8Smrgelse 306397e8a2e8Smrg pkg_failed=yes 306497e8a2e8Smrgfi 306597e8a2e8Smrg fi 306697e8a2e8Smrgelse 306797e8a2e8Smrg pkg_failed=untried 306897e8a2e8Smrgfi 306997e8a2e8Smrgif test -n "$PKG_CONFIG"; then 307097e8a2e8Smrg if test -n "$TMP_XAW_LIBS"; then 307197e8a2e8Smrg pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS" 307297e8a2e8Smrg else 307397e8a2e8Smrg if test -n "$PKG_CONFIG" && \ 307497e8a2e8Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 307597e8a2e8Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 307697e8a2e8Smrg ac_status=$? 307797e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 307897e8a2e8Smrg (exit $ac_status); }; then 307997e8a2e8Smrg pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null` 308097e8a2e8Smrgelse 308197e8a2e8Smrg pkg_failed=yes 308297e8a2e8Smrgfi 308397e8a2e8Smrg fi 308497e8a2e8Smrgelse 308597e8a2e8Smrg pkg_failed=untried 308697e8a2e8Smrgfi 308797e8a2e8Smrg 308897e8a2e8Smrg 308997e8a2e8Smrg 309097e8a2e8Smrgif test $pkg_failed = yes; then 309197e8a2e8Smrg 309297e8a2e8Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 309397e8a2e8Smrg _pkg_short_errors_supported=yes 309497e8a2e8Smrgelse 309597e8a2e8Smrg _pkg_short_errors_supported=no 309697e8a2e8Smrgfi 309797e8a2e8Smrg if test $_pkg_short_errors_supported = yes; then 309897e8a2e8Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK1"` 309997e8a2e8Smrg else 310097e8a2e8Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"` 310197e8a2e8Smrg fi 310297e8a2e8Smrg # Put the nasty error message in config.log where it belongs 310397e8a2e8Smrg echo "$TMP_XAW_PKG_ERRORS" >&5 310497e8a2e8Smrg 310597e8a2e8Smrg success=no 310697e8a2e8Smrgelif test $pkg_failed = untried; then 310797e8a2e8Smrg success=no 310897e8a2e8Smrgelse 310997e8a2e8Smrg TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 311097e8a2e8Smrg TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 311197e8a2e8Smrg echo "$as_me:$LINENO: result: yes" >&5 311297e8a2e8Smrgecho "${ECHO_T}yes" >&6 311397e8a2e8Smrg success=yes 311497e8a2e8Smrgfi 311597e8a2e8Smrg if [ ! -z $TMP_CHECK2 ] ; then 311697e8a2e8Smrg if test $success = no ; then 311797e8a2e8Smrg 311897e8a2e8Smrgpkg_failed=no 311997e8a2e8Smrgecho "$as_me:$LINENO: checking for TMP_XAW" >&5 312097e8a2e8Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6 312197e8a2e8Smrg 312297e8a2e8Smrgif test -n "$PKG_CONFIG"; then 312397e8a2e8Smrg if test -n "$TMP_XAW_CFLAGS"; then 312497e8a2e8Smrg pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS" 312597e8a2e8Smrg else 312697e8a2e8Smrg if test -n "$PKG_CONFIG" && \ 312797e8a2e8Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 312897e8a2e8Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 312997e8a2e8Smrg ac_status=$? 313097e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 313197e8a2e8Smrg (exit $ac_status); }; then 313297e8a2e8Smrg pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null` 313397e8a2e8Smrgelse 313497e8a2e8Smrg pkg_failed=yes 313597e8a2e8Smrgfi 313697e8a2e8Smrg fi 313797e8a2e8Smrgelse 313897e8a2e8Smrg pkg_failed=untried 313997e8a2e8Smrgfi 314097e8a2e8Smrgif test -n "$PKG_CONFIG"; then 314197e8a2e8Smrg if test -n "$TMP_XAW_LIBS"; then 314297e8a2e8Smrg pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS" 314397e8a2e8Smrg else 314497e8a2e8Smrg if test -n "$PKG_CONFIG" && \ 314597e8a2e8Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 314697e8a2e8Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 314797e8a2e8Smrg ac_status=$? 314897e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 314997e8a2e8Smrg (exit $ac_status); }; then 315097e8a2e8Smrg pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null` 315197e8a2e8Smrgelse 315297e8a2e8Smrg pkg_failed=yes 315397e8a2e8Smrgfi 315497e8a2e8Smrg fi 315597e8a2e8Smrgelse 315697e8a2e8Smrg pkg_failed=untried 315797e8a2e8Smrgfi 315897e8a2e8Smrg 315997e8a2e8Smrg 316097e8a2e8Smrg 316197e8a2e8Smrgif test $pkg_failed = yes; then 316297e8a2e8Smrg 316397e8a2e8Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 316497e8a2e8Smrg _pkg_short_errors_supported=yes 316597e8a2e8Smrgelse 316697e8a2e8Smrg _pkg_short_errors_supported=no 316797e8a2e8Smrgfi 316897e8a2e8Smrg if test $_pkg_short_errors_supported = yes; then 316997e8a2e8Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK2"` 317097e8a2e8Smrg else 317197e8a2e8Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"` 317297e8a2e8Smrg fi 317397e8a2e8Smrg # Put the nasty error message in config.log where it belongs 317497e8a2e8Smrg echo "$TMP_XAW_PKG_ERRORS" >&5 317597e8a2e8Smrg 317697e8a2e8Smrg success=no 317797e8a2e8Smrgelif test $pkg_failed = untried; then 317897e8a2e8Smrg success=no 317997e8a2e8Smrgelse 318097e8a2e8Smrg TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 318197e8a2e8Smrg TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 318297e8a2e8Smrg echo "$as_me:$LINENO: result: yes" >&5 318397e8a2e8Smrgecho "${ECHO_T}yes" >&6 318497e8a2e8Smrg success=yes 318597e8a2e8Smrgfi 318697e8a2e8Smrg xaw_use_xprint=no 318797e8a2e8Smrg fi 318897e8a2e8Smrg fi 318997e8a2e8Smrg 319097e8a2e8Smrg if test "x$success" = "xyes"; then 319197e8a2e8Smrg XCLIPBOARD_CFLAGS=$TMP_XAW_CFLAGS 319297e8a2e8Smrg XCLIPBOARD_LIBS=$TMP_XAW_LIBS 319397e8a2e8Smrg 319497e8a2e8Smrg 319597e8a2e8Smrg 319697e8a2e8Smrgif test "x$xaw_use_xprint" = "xyes"; then 319797e8a2e8Smrg XAW_USE_XPRINT_TRUE= 319897e8a2e8Smrg XAW_USE_XPRINT_FALSE='#' 319997e8a2e8Smrgelse 320097e8a2e8Smrg XAW_USE_XPRINT_TRUE='#' 320197e8a2e8Smrg XAW_USE_XPRINT_FALSE= 320297e8a2e8Smrgfi 320397e8a2e8Smrg 320497e8a2e8Smrg else 320597e8a2e8Smrg { { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5 320697e8a2e8Smrgecho "$as_me: error: No suitable version of Xaw found" >&2;} 320797e8a2e8Smrg { (exit 1); exit 1; }; } 320897e8a2e8Smrg fi 320997e8a2e8Smrg 321097e8a2e8Smrg 321197e8a2e8Smrg 321297e8a2e8Smrg 321397e8a2e8Smrg 321497e8a2e8Smrgpkg_failed=no 321597e8a2e8Smrgecho "$as_me:$LINENO: checking for APPDEFS" >&5 321697e8a2e8Smrgecho $ECHO_N "checking for APPDEFS... $ECHO_C" >&6 321797e8a2e8Smrg 321897e8a2e8Smrgif test -n "$PKG_CONFIG"; then 321997e8a2e8Smrg if test -n "$APPDEFS_CFLAGS"; then 322097e8a2e8Smrg pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS" 322197e8a2e8Smrg else 322297e8a2e8Smrg if test -n "$PKG_CONFIG" && \ 322397e8a2e8Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 322497e8a2e8Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 322597e8a2e8Smrg ac_status=$? 322697e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 322797e8a2e8Smrg (exit $ac_status); }; then 322897e8a2e8Smrg pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null` 322997e8a2e8Smrgelse 323097e8a2e8Smrg pkg_failed=yes 323197e8a2e8Smrgfi 323297e8a2e8Smrg fi 323397e8a2e8Smrgelse 323497e8a2e8Smrg pkg_failed=untried 323597e8a2e8Smrgfi 323697e8a2e8Smrgif test -n "$PKG_CONFIG"; then 323797e8a2e8Smrg if test -n "$APPDEFS_LIBS"; then 323897e8a2e8Smrg pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS" 323997e8a2e8Smrg else 324097e8a2e8Smrg if test -n "$PKG_CONFIG" && \ 324197e8a2e8Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 324297e8a2e8Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 324397e8a2e8Smrg ac_status=$? 324497e8a2e8Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 324597e8a2e8Smrg (exit $ac_status); }; then 324697e8a2e8Smrg pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null` 324797e8a2e8Smrgelse 324897e8a2e8Smrg pkg_failed=yes 324997e8a2e8Smrgfi 325097e8a2e8Smrg fi 325197e8a2e8Smrgelse 325297e8a2e8Smrg pkg_failed=untried 325397e8a2e8Smrgfi 325497e8a2e8Smrg 325597e8a2e8Smrg 325697e8a2e8Smrg 325797e8a2e8Smrgif test $pkg_failed = yes; then 325897e8a2e8Smrg 325997e8a2e8Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 326097e8a2e8Smrg _pkg_short_errors_supported=yes 326197e8a2e8Smrgelse 326297e8a2e8Smrg _pkg_short_errors_supported=no 326397e8a2e8Smrgfi 326497e8a2e8Smrg if test $_pkg_short_errors_supported = yes; then 326597e8a2e8Smrg APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xt"` 326697e8a2e8Smrg else 326797e8a2e8Smrg APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"` 326897e8a2e8Smrg fi 326997e8a2e8Smrg # Put the nasty error message in config.log where it belongs 327097e8a2e8Smrg echo "$APPDEFS_PKG_ERRORS" >&5 327197e8a2e8Smrg 327297e8a2e8Smrg { { echo "$as_me:$LINENO: error: Package requirements (xt) were not met: 327397e8a2e8Smrg 327497e8a2e8Smrg$APPDEFS_PKG_ERRORS 327597e8a2e8Smrg 327697e8a2e8SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 327797e8a2e8Smrginstalled software in a non-standard prefix. 327897e8a2e8Smrg 327997e8a2e8SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 328097e8a2e8Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 328197e8a2e8SmrgSee the pkg-config man page for more details. 328297e8a2e8Smrg" >&5 328397e8a2e8Smrgecho "$as_me: error: Package requirements (xt) were not met: 328497e8a2e8Smrg 328597e8a2e8Smrg$APPDEFS_PKG_ERRORS 328697e8a2e8Smrg 328797e8a2e8SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 328897e8a2e8Smrginstalled software in a non-standard prefix. 328997e8a2e8Smrg 329097e8a2e8SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 329197e8a2e8Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 329297e8a2e8SmrgSee the pkg-config man page for more details. 329397e8a2e8Smrg" >&2;} 329497e8a2e8Smrg { (exit 1); exit 1; }; } 329597e8a2e8Smrgelif test $pkg_failed = untried; then 329697e8a2e8Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 329797e8a2e8Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 329897e8a2e8Smrgpath to pkg-config. 329997e8a2e8Smrg 330097e8a2e8SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 330197e8a2e8Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 330297e8a2e8SmrgSee the pkg-config man page for more details. 330397e8a2e8Smrg 330497e8a2e8SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 330597e8a2e8SmrgSee \`config.log' for more details." >&5 330697e8a2e8Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 330797e8a2e8Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 330897e8a2e8Smrgpath to pkg-config. 330997e8a2e8Smrg 331097e8a2e8SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 331197e8a2e8Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 331297e8a2e8SmrgSee the pkg-config man page for more details. 331397e8a2e8Smrg 331497e8a2e8SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 331597e8a2e8SmrgSee \`config.log' for more details." >&2;} 331697e8a2e8Smrg { (exit 1); exit 1; }; } 331797e8a2e8Smrgelse 331897e8a2e8Smrg APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS 331997e8a2e8Smrg APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS 332097e8a2e8Smrg echo "$as_me:$LINENO: result: yes" >&5 332197e8a2e8Smrgecho "${ECHO_T}yes" >&6 332297e8a2e8Smrg : 332397e8a2e8Smrgfi 332497e8a2e8Smrgappdefaultdir=$(pkg-config --variable=appdefaultdir xt) 332597e8a2e8Smrg 332697e8a2e8Smrg 332797e8a2e8Smrg# Make sure we can run config.sub. 332897e8a2e8Smrg$ac_config_sub sun4 >/dev/null 2>&1 || 332997e8a2e8Smrg { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 333097e8a2e8Smrgecho "$as_me: error: cannot run $ac_config_sub" >&2;} 333197e8a2e8Smrg { (exit 1); exit 1; }; } 333297e8a2e8Smrg 333397e8a2e8Smrgecho "$as_me:$LINENO: checking build system type" >&5 333497e8a2e8Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6 333597e8a2e8Smrgif test "${ac_cv_build+set}" = set; then 333697e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 333797e8a2e8Smrgelse 333897e8a2e8Smrg ac_cv_build_alias=$build_alias 333997e8a2e8Smrgtest -z "$ac_cv_build_alias" && 334097e8a2e8Smrg ac_cv_build_alias=`$ac_config_guess` 334197e8a2e8Smrgtest -z "$ac_cv_build_alias" && 334297e8a2e8Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 334397e8a2e8Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 334497e8a2e8Smrg { (exit 1); exit 1; }; } 334597e8a2e8Smrgac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 334697e8a2e8Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 334797e8a2e8Smrgecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 334897e8a2e8Smrg { (exit 1); exit 1; }; } 334997e8a2e8Smrg 335097e8a2e8Smrgfi 335197e8a2e8Smrgecho "$as_me:$LINENO: result: $ac_cv_build" >&5 335297e8a2e8Smrgecho "${ECHO_T}$ac_cv_build" >&6 335397e8a2e8Smrgbuild=$ac_cv_build 335497e8a2e8Smrgbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 335597e8a2e8Smrgbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 335697e8a2e8Smrgbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 335797e8a2e8Smrg 335897e8a2e8Smrg 335997e8a2e8Smrgecho "$as_me:$LINENO: checking host system type" >&5 336097e8a2e8Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6 336197e8a2e8Smrgif test "${ac_cv_host+set}" = set; then 336297e8a2e8Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 336397e8a2e8Smrgelse 336497e8a2e8Smrg ac_cv_host_alias=$host_alias 336597e8a2e8Smrgtest -z "$ac_cv_host_alias" && 336697e8a2e8Smrg ac_cv_host_alias=$ac_cv_build_alias 336797e8a2e8Smrgac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 336897e8a2e8Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 336997e8a2e8Smrgecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 337097e8a2e8Smrg { (exit 1); exit 1; }; } 337197e8a2e8Smrg 337297e8a2e8Smrgfi 337397e8a2e8Smrgecho "$as_me:$LINENO: result: $ac_cv_host" >&5 337497e8a2e8Smrgecho "${ECHO_T}$ac_cv_host" >&6 337597e8a2e8Smrghost=$ac_cv_host 337697e8a2e8Smrghost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 337797e8a2e8Smrghost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 337897e8a2e8Smrghost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 337997e8a2e8Smrg 338097e8a2e8Smrg 338197e8a2e8Smrg 338297e8a2e8Smrg 338397e8a2e8Smrg 338497e8a2e8Smrgif test x$APP_MAN_SUFFIX = x ; then 338597e8a2e8Smrg case $host_os in 338697e8a2e8Smrg linux*) APP_MAN_SUFFIX=1x ;; 338797e8a2e8Smrg *) APP_MAN_SUFFIX=1 ;; 338897e8a2e8Smrg esac 338997e8a2e8Smrgfi 339097e8a2e8Smrgif test x$APP_MAN_DIR = x ; then 339197e8a2e8Smrg case $host_os in 339297e8a2e8Smrg linux*) APP_MAN_DIR='$(mandir)/man1' ;; 339397e8a2e8Smrg *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;; 339497e8a2e8Smrg esac 339597e8a2e8Smrgfi 339697e8a2e8Smrg 339797e8a2e8Smrgif test x$LIB_MAN_SUFFIX = x ; then 339897e8a2e8Smrg case $host_os in 339997e8a2e8Smrg linux*) LIB_MAN_SUFFIX=3x ;; 340097e8a2e8Smrg *) LIB_MAN_SUFFIX=3 ;; 340197e8a2e8Smrg esac 340297e8a2e8Smrgfi 340397e8a2e8Smrgif test x$LIB_MAN_DIR = x ; then 340497e8a2e8Smrg case $host_os in 340597e8a2e8Smrg linux*) LIB_MAN_DIR='$(mandir)/man3' ;; 340697e8a2e8Smrg *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;; 340797e8a2e8Smrg esac 340897e8a2e8Smrgfi 340997e8a2e8Smrg 341097e8a2e8Smrgif test x$FILE_MAN_SUFFIX = x ; then 341197e8a2e8Smrg case $host_os in 341297e8a2e8Smrg linux*) FILE_MAN_SUFFIX=5x ;; 341397e8a2e8Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 341497e8a2e8Smrg *) FILE_MAN_SUFFIX=5 ;; 341597e8a2e8Smrg esac 341697e8a2e8Smrgfi 341797e8a2e8Smrgif test x$FILE_MAN_DIR = x ; then 341897e8a2e8Smrg case $host_os in 341997e8a2e8Smrg linux*) FILE_MAN_DIR='$(mandir)/man5' ;; 342097e8a2e8Smrg *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;; 342197e8a2e8Smrg esac 342297e8a2e8Smrgfi 342397e8a2e8Smrg 342497e8a2e8Smrg# In Imake's linux.cf, the misc man suffix & dir was only changed for 342597e8a2e8Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 342697e8a2e8Smrgif test x$MISC_MAN_SUFFIX = x ; then 342797e8a2e8Smrg case $host_os in 342897e8a2e8Smrg# linux*) MISC_MAN_SUFFIX=7x ;; 342997e8a2e8Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 343097e8a2e8Smrg *) MISC_MAN_SUFFIX=7 ;; 343197e8a2e8Smrg esac 343297e8a2e8Smrgfi 343397e8a2e8Smrgif test x$MISC_MAN_DIR = x ; then 343497e8a2e8Smrg case $host_os in 343597e8a2e8Smrg# linux*) MISC_MAN_DIR='$(mandir)/man7' ;; 343697e8a2e8Smrg *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;; 343797e8a2e8Smrg esac 343897e8a2e8Smrgfi 343997e8a2e8Smrg 344097e8a2e8Smrg# In Imake's linux.cf, the driver man suffix & dir was only changed for 344197e8a2e8Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 344297e8a2e8Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 344397e8a2e8Smrg case $host_os in 344497e8a2e8Smrg# linux*) DRIVER_MAN_SUFFIX=4x ;; 344597e8a2e8Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 344697e8a2e8Smrg *) DRIVER_MAN_SUFFIX=4 ;; 344797e8a2e8Smrg esac 344897e8a2e8Smrgfi 344997e8a2e8Smrgif test x$DRIVER_MAN_DIR = x ; then 345097e8a2e8Smrg case $host_os in 345197e8a2e8Smrg# linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;; 345297e8a2e8Smrg *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;; 345397e8a2e8Smrg esac 345497e8a2e8Smrgfi 345597e8a2e8Smrg 345697e8a2e8Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 345797e8a2e8Smrg case $host_os in 345897e8a2e8Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 345997e8a2e8Smrg *) ADMIN_MAN_SUFFIX=8 ;; 346097e8a2e8Smrg esac 346197e8a2e8Smrgfi 346297e8a2e8Smrgif test x$ADMIN_MAN_DIR = x ; then 346397e8a2e8Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 346497e8a2e8Smrgfi 346597e8a2e8Smrg 346697e8a2e8Smrg 346797e8a2e8Smrg 346897e8a2e8Smrg 346997e8a2e8Smrg 347097e8a2e8Smrg 347197e8a2e8Smrg 347297e8a2e8Smrg 347397e8a2e8Smrg 347497e8a2e8Smrg 347597e8a2e8Smrg 347697e8a2e8Smrg 347797e8a2e8Smrg 347897e8a2e8Smrg 347997e8a2e8Smrg 348097e8a2e8Smrg 348197e8a2e8Smrg 348297e8a2e8Smrg# Check whether --with-release-version or --without-release-version was given. 348397e8a2e8Smrgif test "${with_release_version+set}" = set; then 348497e8a2e8Smrg withval="$with_release_version" 348597e8a2e8Smrg RELEASE_VERSION="$withval" 348697e8a2e8Smrgelse 348797e8a2e8Smrg RELEASE_VERSION="" 348897e8a2e8Smrgfi; 348997e8a2e8Smrg if test "x$RELEASE_VERSION" != "x"; then 349097e8a2e8Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 349197e8a2e8Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 349297e8a2e8Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 349397e8a2e8Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 349497e8a2e8Smrg fi 349597e8a2e8Smrg 349697e8a2e8Smrg 349797e8a2e8Smrg ac_config_files="$ac_config_files Makefile" 349897e8a2e8Smrgcat >confcache <<\_ACEOF 349997e8a2e8Smrg# This file is a shell script that caches the results of configure 350097e8a2e8Smrg# tests run on this system so they can be shared between configure 350197e8a2e8Smrg# scripts and configure runs, see configure's option --config-cache. 350297e8a2e8Smrg# It is not useful on other systems. If it contains results you don't 350397e8a2e8Smrg# want to keep, you may remove or edit it. 350497e8a2e8Smrg# 350597e8a2e8Smrg# config.status only pays attention to the cache file if you give it 350697e8a2e8Smrg# the --recheck option to rerun configure. 350797e8a2e8Smrg# 350897e8a2e8Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 350997e8a2e8Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 351097e8a2e8Smrg# following values. 351197e8a2e8Smrg 351297e8a2e8Smrg_ACEOF 351397e8a2e8Smrg 351497e8a2e8Smrg# The following way of writing the cache mishandles newlines in values, 351597e8a2e8Smrg# but we know of no workaround that is simple, portable, and efficient. 351697e8a2e8Smrg# So, don't put newlines in cache variables' values. 351797e8a2e8Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 351897e8a2e8Smrg# and sets the high bit in the cache file unless we assign to the vars. 351997e8a2e8Smrg{ 352097e8a2e8Smrg (set) 2>&1 | 352197e8a2e8Smrg case `(ac_space=' '; set | grep ac_space) 2>&1` in 352297e8a2e8Smrg *ac_space=\ *) 352397e8a2e8Smrg # `set' does not quote correctly, so add quotes (double-quote 352497e8a2e8Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 352597e8a2e8Smrg sed -n \ 352697e8a2e8Smrg "s/'/'\\\\''/g; 352797e8a2e8Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 352897e8a2e8Smrg ;; 352997e8a2e8Smrg *) 353097e8a2e8Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 353197e8a2e8Smrg sed -n \ 353297e8a2e8Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 353397e8a2e8Smrg ;; 353497e8a2e8Smrg esac; 353597e8a2e8Smrg} | 353697e8a2e8Smrg sed ' 353797e8a2e8Smrg t clear 353897e8a2e8Smrg : clear 353997e8a2e8Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 354097e8a2e8Smrg t end 354197e8a2e8Smrg /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 354297e8a2e8Smrg : end' >>confcache 354397e8a2e8Smrgif diff $cache_file confcache >/dev/null 2>&1; then :; else 354497e8a2e8Smrg if test -w $cache_file; then 354597e8a2e8Smrg test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 354697e8a2e8Smrg cat confcache >$cache_file 354797e8a2e8Smrg else 354897e8a2e8Smrg echo "not updating unwritable cache $cache_file" 354997e8a2e8Smrg fi 355097e8a2e8Smrgfi 355197e8a2e8Smrgrm -f confcache 355297e8a2e8Smrg 355397e8a2e8Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 355497e8a2e8Smrg# Let make expand exec_prefix. 355597e8a2e8Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 355697e8a2e8Smrg 355797e8a2e8Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 355897e8a2e8Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 355997e8a2e8Smrg# trailing colons and then remove the whole line if VPATH becomes empty 356097e8a2e8Smrg# (actually we leave an empty line to preserve line numbers). 356197e8a2e8Smrgif test "x$srcdir" = x.; then 356297e8a2e8Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 356397e8a2e8Smrgs/:*\$(srcdir):*/:/; 356497e8a2e8Smrgs/:*\${srcdir}:*/:/; 356597e8a2e8Smrgs/:*@srcdir@:*/:/; 356697e8a2e8Smrgs/^\([^=]*=[ ]*\):*/\1/; 356797e8a2e8Smrgs/:*$//; 356897e8a2e8Smrgs/^[^=]*=[ ]*$//; 356997e8a2e8Smrg}' 357097e8a2e8Smrgfi 357197e8a2e8Smrg 357297e8a2e8SmrgDEFS=-DHAVE_CONFIG_H 357397e8a2e8Smrg 357497e8a2e8Smrgac_libobjs= 357597e8a2e8Smrgac_ltlibobjs= 357697e8a2e8Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 357797e8a2e8Smrg # 1. Remove the extension, and $U if already installed. 357897e8a2e8Smrg ac_i=`echo "$ac_i" | 357997e8a2e8Smrg sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 358097e8a2e8Smrg # 2. Add them. 358197e8a2e8Smrg ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 358297e8a2e8Smrg ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 358397e8a2e8Smrgdone 358497e8a2e8SmrgLIBOBJS=$ac_libobjs 358597e8a2e8Smrg 358697e8a2e8SmrgLTLIBOBJS=$ac_ltlibobjs 358797e8a2e8Smrg 358897e8a2e8Smrg 358997e8a2e8Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 359097e8a2e8Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 359197e8a2e8SmrgUsually this means the macro was only invoked conditionally." >&5 359297e8a2e8Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 359397e8a2e8SmrgUsually this means the macro was only invoked conditionally." >&2;} 359497e8a2e8Smrg { (exit 1); exit 1; }; } 359597e8a2e8Smrgfi 359697e8a2e8Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 359797e8a2e8Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 359897e8a2e8SmrgUsually this means the macro was only invoked conditionally." >&5 359997e8a2e8Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 360097e8a2e8SmrgUsually this means the macro was only invoked conditionally." >&2;} 360197e8a2e8Smrg { (exit 1); exit 1; }; } 360297e8a2e8Smrgfi 360397e8a2e8Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 360497e8a2e8Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 360597e8a2e8SmrgUsually this means the macro was only invoked conditionally." >&5 360697e8a2e8Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 360797e8a2e8SmrgUsually this means the macro was only invoked conditionally." >&2;} 360897e8a2e8Smrg { (exit 1); exit 1; }; } 360997e8a2e8Smrgfi 361097e8a2e8Smrgif test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then 361197e8a2e8Smrg { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined. 361297e8a2e8SmrgUsually this means the macro was only invoked conditionally." >&5 361397e8a2e8Smrgecho "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined. 361497e8a2e8SmrgUsually this means the macro was only invoked conditionally." >&2;} 361597e8a2e8Smrg { (exit 1); exit 1; }; } 361697e8a2e8Smrgfi 361797e8a2e8Smrg 361897e8a2e8Smrg: ${CONFIG_STATUS=./config.status} 361997e8a2e8Smrgac_clean_files_save=$ac_clean_files 362097e8a2e8Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 362197e8a2e8Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 362297e8a2e8Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 362397e8a2e8Smrgcat >$CONFIG_STATUS <<_ACEOF 362497e8a2e8Smrg#! $SHELL 362597e8a2e8Smrg# Generated by $as_me. 362697e8a2e8Smrg# Run this file to recreate the current configuration. 362797e8a2e8Smrg# Compiler output produced by configure, useful for debugging 362897e8a2e8Smrg# configure, is in config.log if it exists. 362997e8a2e8Smrg 363097e8a2e8Smrgdebug=false 363197e8a2e8Smrgac_cs_recheck=false 363297e8a2e8Smrgac_cs_silent=false 363397e8a2e8SmrgSHELL=\${CONFIG_SHELL-$SHELL} 363497e8a2e8Smrg_ACEOF 363597e8a2e8Smrg 363697e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 363797e8a2e8Smrg## --------------------- ## 363897e8a2e8Smrg## M4sh Initialization. ## 363997e8a2e8Smrg## --------------------- ## 364097e8a2e8Smrg 364197e8a2e8Smrg# Be Bourne compatible 364297e8a2e8Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 364397e8a2e8Smrg emulate sh 364497e8a2e8Smrg NULLCMD=: 364597e8a2e8Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 364697e8a2e8Smrg # is contrary to our usage. Disable this feature. 364797e8a2e8Smrg alias -g '${1+"$@"}'='"$@"' 364897e8a2e8Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 364997e8a2e8Smrg set -o posix 365097e8a2e8Smrgfi 365197e8a2e8SmrgDUALCASE=1; export DUALCASE # for MKS sh 365297e8a2e8Smrg 365397e8a2e8Smrg# Support unset when possible. 365497e8a2e8Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 365597e8a2e8Smrg as_unset=unset 365697e8a2e8Smrgelse 365797e8a2e8Smrg as_unset=false 365897e8a2e8Smrgfi 365997e8a2e8Smrg 366097e8a2e8Smrg 366197e8a2e8Smrg# Work around bugs in pre-3.0 UWIN ksh. 366297e8a2e8Smrg$as_unset ENV MAIL MAILPATH 366397e8a2e8SmrgPS1='$ ' 366497e8a2e8SmrgPS2='> ' 366597e8a2e8SmrgPS4='+ ' 366697e8a2e8Smrg 366797e8a2e8Smrg# NLS nuisances. 366897e8a2e8Smrgfor as_var in \ 366997e8a2e8Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 367097e8a2e8Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 367197e8a2e8Smrg LC_TELEPHONE LC_TIME 367297e8a2e8Smrgdo 367397e8a2e8Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 367497e8a2e8Smrg eval $as_var=C; export $as_var 367597e8a2e8Smrg else 367697e8a2e8Smrg $as_unset $as_var 367797e8a2e8Smrg fi 367897e8a2e8Smrgdone 367997e8a2e8Smrg 368097e8a2e8Smrg# Required to use basename. 368197e8a2e8Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 368297e8a2e8Smrg as_expr=expr 368397e8a2e8Smrgelse 368497e8a2e8Smrg as_expr=false 368597e8a2e8Smrgfi 368697e8a2e8Smrg 368797e8a2e8Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 368897e8a2e8Smrg as_basename=basename 368997e8a2e8Smrgelse 369097e8a2e8Smrg as_basename=false 369197e8a2e8Smrgfi 369297e8a2e8Smrg 369397e8a2e8Smrg 369497e8a2e8Smrg# Name of the executable. 369597e8a2e8Smrgas_me=`$as_basename "$0" || 369697e8a2e8Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 369797e8a2e8Smrg X"$0" : 'X\(//\)$' \| \ 369897e8a2e8Smrg X"$0" : 'X\(/\)$' \| \ 369997e8a2e8Smrg . : '\(.\)' 2>/dev/null || 370097e8a2e8Smrgecho X/"$0" | 370197e8a2e8Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 370297e8a2e8Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 370397e8a2e8Smrg /^X\/\(\/\).*/{ s//\1/; q; } 370497e8a2e8Smrg s/.*/./; q'` 370597e8a2e8Smrg 370697e8a2e8Smrg 370797e8a2e8Smrg# PATH needs CR, and LINENO needs CR and PATH. 370897e8a2e8Smrg# Avoid depending upon Character Ranges. 370997e8a2e8Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 371097e8a2e8Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 371197e8a2e8Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 371297e8a2e8Smrgas_cr_digits='0123456789' 371397e8a2e8Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 371497e8a2e8Smrg 371597e8a2e8Smrg# The user is always right. 371697e8a2e8Smrgif test "${PATH_SEPARATOR+set}" != set; then 371797e8a2e8Smrg echo "#! /bin/sh" >conf$$.sh 371897e8a2e8Smrg echo "exit 0" >>conf$$.sh 371997e8a2e8Smrg chmod +x conf$$.sh 372097e8a2e8Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 372197e8a2e8Smrg PATH_SEPARATOR=';' 372297e8a2e8Smrg else 372397e8a2e8Smrg PATH_SEPARATOR=: 372497e8a2e8Smrg fi 372597e8a2e8Smrg rm -f conf$$.sh 372697e8a2e8Smrgfi 372797e8a2e8Smrg 372897e8a2e8Smrg 372997e8a2e8Smrg as_lineno_1=$LINENO 373097e8a2e8Smrg as_lineno_2=$LINENO 373197e8a2e8Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 373297e8a2e8Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 373397e8a2e8Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 373497e8a2e8Smrg # Find who we are. Look in the path if we contain no path at all 373597e8a2e8Smrg # relative or not. 373697e8a2e8Smrg case $0 in 373797e8a2e8Smrg *[\\/]* ) as_myself=$0 ;; 373897e8a2e8Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 373997e8a2e8Smrgfor as_dir in $PATH 374097e8a2e8Smrgdo 374197e8a2e8Smrg IFS=$as_save_IFS 374297e8a2e8Smrg test -z "$as_dir" && as_dir=. 374397e8a2e8Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 374497e8a2e8Smrgdone 374597e8a2e8Smrg 374697e8a2e8Smrg ;; 374797e8a2e8Smrg esac 374897e8a2e8Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 374997e8a2e8Smrg # in which case we are not to be found in the path. 375097e8a2e8Smrg if test "x$as_myself" = x; then 375197e8a2e8Smrg as_myself=$0 375297e8a2e8Smrg fi 375397e8a2e8Smrg if test ! -f "$as_myself"; then 375497e8a2e8Smrg { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 375597e8a2e8Smrgecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 375697e8a2e8Smrg { (exit 1); exit 1; }; } 375797e8a2e8Smrg fi 375897e8a2e8Smrg case $CONFIG_SHELL in 375997e8a2e8Smrg '') 376097e8a2e8Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 376197e8a2e8Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 376297e8a2e8Smrgdo 376397e8a2e8Smrg IFS=$as_save_IFS 376497e8a2e8Smrg test -z "$as_dir" && as_dir=. 376597e8a2e8Smrg for as_base in sh bash ksh sh5; do 376697e8a2e8Smrg case $as_dir in 376797e8a2e8Smrg /*) 376897e8a2e8Smrg if ("$as_dir/$as_base" -c ' 376997e8a2e8Smrg as_lineno_1=$LINENO 377097e8a2e8Smrg as_lineno_2=$LINENO 377197e8a2e8Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 377297e8a2e8Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 377397e8a2e8Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 377497e8a2e8Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 377597e8a2e8Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 377697e8a2e8Smrg CONFIG_SHELL=$as_dir/$as_base 377797e8a2e8Smrg export CONFIG_SHELL 377897e8a2e8Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 377997e8a2e8Smrg fi;; 378097e8a2e8Smrg esac 378197e8a2e8Smrg done 378297e8a2e8Smrgdone 378397e8a2e8Smrg;; 378497e8a2e8Smrg esac 378597e8a2e8Smrg 378697e8a2e8Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 378797e8a2e8Smrg # uniformly replaced by the line number. The first 'sed' inserts a 378897e8a2e8Smrg # line-number line before each line; the second 'sed' does the real 378997e8a2e8Smrg # work. The second script uses 'N' to pair each line-number line 379097e8a2e8Smrg # with the numbered line, and appends trailing '-' during 379197e8a2e8Smrg # substitution so that $LINENO is not a special case at line end. 379297e8a2e8Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 379397e8a2e8Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 379497e8a2e8Smrg sed '=' <$as_myself | 379597e8a2e8Smrg sed ' 379697e8a2e8Smrg N 379797e8a2e8Smrg s,$,-, 379897e8a2e8Smrg : loop 379997e8a2e8Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 380097e8a2e8Smrg t loop 380197e8a2e8Smrg s,-$,, 380297e8a2e8Smrg s,^['$as_cr_digits']*\n,, 380397e8a2e8Smrg ' >$as_me.lineno && 380497e8a2e8Smrg chmod +x $as_me.lineno || 380597e8a2e8Smrg { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 380697e8a2e8Smrgecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 380797e8a2e8Smrg { (exit 1); exit 1; }; } 380897e8a2e8Smrg 380997e8a2e8Smrg # Don't try to exec as it changes $[0], causing all sort of problems 381097e8a2e8Smrg # (the dirname of $[0] is not the place where we might find the 381197e8a2e8Smrg # original and so on. Autoconf is especially sensible to this). 381297e8a2e8Smrg . ./$as_me.lineno 381397e8a2e8Smrg # Exit status is that of the last command. 381497e8a2e8Smrg exit 381597e8a2e8Smrg} 381697e8a2e8Smrg 381797e8a2e8Smrg 381897e8a2e8Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 381997e8a2e8Smrg *c*,-n*) ECHO_N= ECHO_C=' 382097e8a2e8Smrg' ECHO_T=' ' ;; 382197e8a2e8Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 382297e8a2e8Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 382397e8a2e8Smrgesac 382497e8a2e8Smrg 382597e8a2e8Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 382697e8a2e8Smrg as_expr=expr 382797e8a2e8Smrgelse 382897e8a2e8Smrg as_expr=false 382997e8a2e8Smrgfi 383097e8a2e8Smrg 383197e8a2e8Smrgrm -f conf$$ conf$$.exe conf$$.file 383297e8a2e8Smrgecho >conf$$.file 383397e8a2e8Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 383497e8a2e8Smrg # We could just check for DJGPP; but this test a) works b) is more generic 383597e8a2e8Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 383697e8a2e8Smrg if test -f conf$$.exe; then 383797e8a2e8Smrg # Don't use ln at all; we don't have any links 383897e8a2e8Smrg as_ln_s='cp -p' 383997e8a2e8Smrg else 384097e8a2e8Smrg as_ln_s='ln -s' 384197e8a2e8Smrg fi 384297e8a2e8Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 384397e8a2e8Smrg as_ln_s=ln 384497e8a2e8Smrgelse 384597e8a2e8Smrg as_ln_s='cp -p' 384697e8a2e8Smrgfi 384797e8a2e8Smrgrm -f conf$$ conf$$.exe conf$$.file 384897e8a2e8Smrg 384997e8a2e8Smrgif mkdir -p . 2>/dev/null; then 385097e8a2e8Smrg as_mkdir_p=: 385197e8a2e8Smrgelse 385297e8a2e8Smrg test -d ./-p && rmdir ./-p 385397e8a2e8Smrg as_mkdir_p=false 385497e8a2e8Smrgfi 385597e8a2e8Smrg 385697e8a2e8Smrgas_executable_p="test -f" 385797e8a2e8Smrg 385897e8a2e8Smrg# Sed expression to map a string onto a valid CPP name. 385997e8a2e8Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 386097e8a2e8Smrg 386197e8a2e8Smrg# Sed expression to map a string onto a valid variable name. 386297e8a2e8Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 386397e8a2e8Smrg 386497e8a2e8Smrg 386597e8a2e8Smrg# IFS 386697e8a2e8Smrg# We need space, tab and new line, in precisely that order. 386797e8a2e8Smrgas_nl=' 386897e8a2e8Smrg' 386997e8a2e8SmrgIFS=" $as_nl" 387097e8a2e8Smrg 387197e8a2e8Smrg# CDPATH. 387297e8a2e8Smrg$as_unset CDPATH 387397e8a2e8Smrg 387497e8a2e8Smrgexec 6>&1 387597e8a2e8Smrg 387697e8a2e8Smrg# Open the log real soon, to keep \$[0] and so on meaningful, and to 387797e8a2e8Smrg# report actual input values of CONFIG_FILES etc. instead of their 387897e8a2e8Smrg# values after options handling. Logging --version etc. is OK. 387997e8a2e8Smrgexec 5>>config.log 388097e8a2e8Smrg{ 388197e8a2e8Smrg echo 388297e8a2e8Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 388397e8a2e8Smrg## Running $as_me. ## 388497e8a2e8Smrg_ASBOX 388597e8a2e8Smrg} >&5 388697e8a2e8Smrgcat >&5 <<_CSEOF 388797e8a2e8Smrg 388897e8a2e8SmrgThis file was extended by xclipboard $as_me 1.0.1, which was 388997e8a2e8Smrggenerated by GNU Autoconf 2.59. Invocation command line was 389097e8a2e8Smrg 389197e8a2e8Smrg CONFIG_FILES = $CONFIG_FILES 389297e8a2e8Smrg CONFIG_HEADERS = $CONFIG_HEADERS 389397e8a2e8Smrg CONFIG_LINKS = $CONFIG_LINKS 389497e8a2e8Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 389597e8a2e8Smrg $ $0 $@ 389697e8a2e8Smrg 389797e8a2e8Smrg_CSEOF 389897e8a2e8Smrgecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 389997e8a2e8Smrgecho >&5 390097e8a2e8Smrg_ACEOF 390197e8a2e8Smrg 390297e8a2e8Smrg# Files that config.status was made for. 390397e8a2e8Smrgif test -n "$ac_config_files"; then 390497e8a2e8Smrg echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 390597e8a2e8Smrgfi 390697e8a2e8Smrg 390797e8a2e8Smrgif test -n "$ac_config_headers"; then 390897e8a2e8Smrg echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 390997e8a2e8Smrgfi 391097e8a2e8Smrg 391197e8a2e8Smrgif test -n "$ac_config_links"; then 391297e8a2e8Smrg echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 391397e8a2e8Smrgfi 391497e8a2e8Smrg 391597e8a2e8Smrgif test -n "$ac_config_commands"; then 391697e8a2e8Smrg echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 391797e8a2e8Smrgfi 391897e8a2e8Smrg 391997e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 392097e8a2e8Smrg 392197e8a2e8Smrgac_cs_usage="\ 392297e8a2e8Smrg\`$as_me' instantiates files from templates according to the 392397e8a2e8Smrgcurrent configuration. 392497e8a2e8Smrg 392597e8a2e8SmrgUsage: $0 [OPTIONS] [FILE]... 392697e8a2e8Smrg 392797e8a2e8Smrg -h, --help print this help, then exit 392897e8a2e8Smrg -V, --version print version number, then exit 392997e8a2e8Smrg -q, --quiet do not print progress messages 393097e8a2e8Smrg -d, --debug don't remove temporary files 393197e8a2e8Smrg --recheck update $as_me by reconfiguring in the same conditions 393297e8a2e8Smrg --file=FILE[:TEMPLATE] 393397e8a2e8Smrg instantiate the configuration file FILE 393497e8a2e8Smrg --header=FILE[:TEMPLATE] 393597e8a2e8Smrg instantiate the configuration header FILE 393697e8a2e8Smrg 393797e8a2e8SmrgConfiguration files: 393897e8a2e8Smrg$config_files 393997e8a2e8Smrg 394097e8a2e8SmrgConfiguration headers: 394197e8a2e8Smrg$config_headers 394297e8a2e8Smrg 394397e8a2e8SmrgConfiguration commands: 394497e8a2e8Smrg$config_commands 394597e8a2e8Smrg 394697e8a2e8SmrgReport bugs to <bug-autoconf@gnu.org>." 394797e8a2e8Smrg_ACEOF 394897e8a2e8Smrg 394997e8a2e8Smrgcat >>$CONFIG_STATUS <<_ACEOF 395097e8a2e8Smrgac_cs_version="\\ 395197e8a2e8Smrgxclipboard config.status 1.0.1 395297e8a2e8Smrgconfigured by $0, generated by GNU Autoconf 2.59, 395397e8a2e8Smrg with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 395497e8a2e8Smrg 395597e8a2e8SmrgCopyright (C) 2003 Free Software Foundation, Inc. 395697e8a2e8SmrgThis config.status script is free software; the Free Software Foundation 395797e8a2e8Smrggives unlimited permission to copy, distribute and modify it." 395897e8a2e8Smrgsrcdir=$srcdir 395997e8a2e8SmrgINSTALL="$INSTALL" 396097e8a2e8Smrg_ACEOF 396197e8a2e8Smrg 396297e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 396397e8a2e8Smrg# If no file are specified by the user, then we need to provide default 396497e8a2e8Smrg# value. By we need to know if files were specified by the user. 396597e8a2e8Smrgac_need_defaults=: 396697e8a2e8Smrgwhile test $# != 0 396797e8a2e8Smrgdo 396897e8a2e8Smrg case $1 in 396997e8a2e8Smrg --*=*) 397097e8a2e8Smrg ac_option=`expr "x$1" : 'x\([^=]*\)='` 397197e8a2e8Smrg ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 397297e8a2e8Smrg ac_shift=: 397397e8a2e8Smrg ;; 397497e8a2e8Smrg -*) 397597e8a2e8Smrg ac_option=$1 397697e8a2e8Smrg ac_optarg=$2 397797e8a2e8Smrg ac_shift=shift 397897e8a2e8Smrg ;; 397997e8a2e8Smrg *) # This is not an option, so the user has probably given explicit 398097e8a2e8Smrg # arguments. 398197e8a2e8Smrg ac_option=$1 398297e8a2e8Smrg ac_need_defaults=false;; 398397e8a2e8Smrg esac 398497e8a2e8Smrg 398597e8a2e8Smrg case $ac_option in 398697e8a2e8Smrg # Handling of the options. 398797e8a2e8Smrg_ACEOF 398897e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 398997e8a2e8Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 399097e8a2e8Smrg ac_cs_recheck=: ;; 399197e8a2e8Smrg --version | --vers* | -V ) 399297e8a2e8Smrg echo "$ac_cs_version"; exit 0 ;; 399397e8a2e8Smrg --he | --h) 399497e8a2e8Smrg # Conflict between --help and --header 399597e8a2e8Smrg { { echo "$as_me:$LINENO: error: ambiguous option: $1 399697e8a2e8SmrgTry \`$0 --help' for more information." >&5 399797e8a2e8Smrgecho "$as_me: error: ambiguous option: $1 399897e8a2e8SmrgTry \`$0 --help' for more information." >&2;} 399997e8a2e8Smrg { (exit 1); exit 1; }; };; 400097e8a2e8Smrg --help | --hel | -h ) 400197e8a2e8Smrg echo "$ac_cs_usage"; exit 0 ;; 400297e8a2e8Smrg --debug | --d* | -d ) 400397e8a2e8Smrg debug=: ;; 400497e8a2e8Smrg --file | --fil | --fi | --f ) 400597e8a2e8Smrg $ac_shift 400697e8a2e8Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 400797e8a2e8Smrg ac_need_defaults=false;; 400897e8a2e8Smrg --header | --heade | --head | --hea ) 400997e8a2e8Smrg $ac_shift 401097e8a2e8Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 401197e8a2e8Smrg ac_need_defaults=false;; 401297e8a2e8Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 401397e8a2e8Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 401497e8a2e8Smrg ac_cs_silent=: ;; 401597e8a2e8Smrg 401697e8a2e8Smrg # This is an error. 401797e8a2e8Smrg -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 401897e8a2e8SmrgTry \`$0 --help' for more information." >&5 401997e8a2e8Smrgecho "$as_me: error: unrecognized option: $1 402097e8a2e8SmrgTry \`$0 --help' for more information." >&2;} 402197e8a2e8Smrg { (exit 1); exit 1; }; } ;; 402297e8a2e8Smrg 402397e8a2e8Smrg *) ac_config_targets="$ac_config_targets $1" ;; 402497e8a2e8Smrg 402597e8a2e8Smrg esac 402697e8a2e8Smrg shift 402797e8a2e8Smrgdone 402897e8a2e8Smrg 402997e8a2e8Smrgac_configure_extra_args= 403097e8a2e8Smrg 403197e8a2e8Smrgif $ac_cs_silent; then 403297e8a2e8Smrg exec 6>/dev/null 403397e8a2e8Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 403497e8a2e8Smrgfi 403597e8a2e8Smrg 403697e8a2e8Smrg_ACEOF 403797e8a2e8Smrgcat >>$CONFIG_STATUS <<_ACEOF 403897e8a2e8Smrgif \$ac_cs_recheck; then 403997e8a2e8Smrg echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 404097e8a2e8Smrg exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 404197e8a2e8Smrgfi 404297e8a2e8Smrg 404397e8a2e8Smrg_ACEOF 404497e8a2e8Smrg 404597e8a2e8Smrgcat >>$CONFIG_STATUS <<_ACEOF 404697e8a2e8Smrg# 404797e8a2e8Smrg# INIT-COMMANDS section. 404897e8a2e8Smrg# 404997e8a2e8Smrg 405097e8a2e8SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 405197e8a2e8Smrg 405297e8a2e8Smrg_ACEOF 405397e8a2e8Smrg 405497e8a2e8Smrg 405597e8a2e8Smrg 405697e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 405797e8a2e8Smrgfor ac_config_target in $ac_config_targets 405897e8a2e8Smrgdo 405997e8a2e8Smrg case "$ac_config_target" in 406097e8a2e8Smrg # Handling of arguments. 406197e8a2e8Smrg "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 406297e8a2e8Smrg "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 406397e8a2e8Smrg "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 406497e8a2e8Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 406597e8a2e8Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 406697e8a2e8Smrg { (exit 1); exit 1; }; };; 406797e8a2e8Smrg esac 406897e8a2e8Smrgdone 406997e8a2e8Smrg 407097e8a2e8Smrg# If the user did not use the arguments to specify the items to instantiate, 407197e8a2e8Smrg# then the envvar interface is used. Set only those that are not. 407297e8a2e8Smrg# We use the long form for the default assignment because of an extremely 407397e8a2e8Smrg# bizarre bug on SunOS 4.1.3. 407497e8a2e8Smrgif $ac_need_defaults; then 407597e8a2e8Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 407697e8a2e8Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 407797e8a2e8Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 407897e8a2e8Smrgfi 407997e8a2e8Smrg 408097e8a2e8Smrg# Have a temporary directory for convenience. Make it in the build tree 408197e8a2e8Smrg# simply because there is no reason to put it here, and in addition, 408297e8a2e8Smrg# creating and moving files from /tmp can sometimes cause problems. 408397e8a2e8Smrg# Create a temporary directory, and hook for its removal unless debugging. 408497e8a2e8Smrg$debug || 408597e8a2e8Smrg{ 408697e8a2e8Smrg trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 408797e8a2e8Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 408897e8a2e8Smrg} 408997e8a2e8Smrg 409097e8a2e8Smrg# Create a (secure) tmp directory for tmp files. 409197e8a2e8Smrg 409297e8a2e8Smrg{ 409397e8a2e8Smrg tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 409497e8a2e8Smrg test -n "$tmp" && test -d "$tmp" 409597e8a2e8Smrg} || 409697e8a2e8Smrg{ 409797e8a2e8Smrg tmp=./confstat$$-$RANDOM 409897e8a2e8Smrg (umask 077 && mkdir $tmp) 409997e8a2e8Smrg} || 410097e8a2e8Smrg{ 410197e8a2e8Smrg echo "$me: cannot create a temporary directory in ." >&2 410297e8a2e8Smrg { (exit 1); exit 1; } 410397e8a2e8Smrg} 410497e8a2e8Smrg 410597e8a2e8Smrg_ACEOF 410697e8a2e8Smrg 410797e8a2e8Smrgcat >>$CONFIG_STATUS <<_ACEOF 410897e8a2e8Smrg 410997e8a2e8Smrg# 411097e8a2e8Smrg# CONFIG_FILES section. 411197e8a2e8Smrg# 411297e8a2e8Smrg 411397e8a2e8Smrg# No need to generate the scripts if there are no CONFIG_FILES. 411497e8a2e8Smrg# This happens for instance when ./config.status config.h 411597e8a2e8Smrgif test -n "\$CONFIG_FILES"; then 411697e8a2e8Smrg # Protect against being on the right side of a sed subst in config.status. 411797e8a2e8Smrg sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 411897e8a2e8Smrg s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 411997e8a2e8Smrgs,@SHELL@,$SHELL,;t t 412097e8a2e8Smrgs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 412197e8a2e8Smrgs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 412297e8a2e8Smrgs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 412397e8a2e8Smrgs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 412497e8a2e8Smrgs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 412597e8a2e8Smrgs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 412697e8a2e8Smrgs,@exec_prefix@,$exec_prefix,;t t 412797e8a2e8Smrgs,@prefix@,$prefix,;t t 412897e8a2e8Smrgs,@program_transform_name@,$program_transform_name,;t t 412997e8a2e8Smrgs,@bindir@,$bindir,;t t 413097e8a2e8Smrgs,@sbindir@,$sbindir,;t t 413197e8a2e8Smrgs,@libexecdir@,$libexecdir,;t t 413297e8a2e8Smrgs,@datadir@,$datadir,;t t 413397e8a2e8Smrgs,@sysconfdir@,$sysconfdir,;t t 413497e8a2e8Smrgs,@sharedstatedir@,$sharedstatedir,;t t 413597e8a2e8Smrgs,@localstatedir@,$localstatedir,;t t 413697e8a2e8Smrgs,@libdir@,$libdir,;t t 413797e8a2e8Smrgs,@includedir@,$includedir,;t t 413897e8a2e8Smrgs,@oldincludedir@,$oldincludedir,;t t 413997e8a2e8Smrgs,@infodir@,$infodir,;t t 414097e8a2e8Smrgs,@mandir@,$mandir,;t t 414197e8a2e8Smrgs,@build_alias@,$build_alias,;t t 414297e8a2e8Smrgs,@host_alias@,$host_alias,;t t 414397e8a2e8Smrgs,@target_alias@,$target_alias,;t t 414497e8a2e8Smrgs,@DEFS@,$DEFS,;t t 414597e8a2e8Smrgs,@ECHO_C@,$ECHO_C,;t t 414697e8a2e8Smrgs,@ECHO_N@,$ECHO_N,;t t 414797e8a2e8Smrgs,@ECHO_T@,$ECHO_T,;t t 414897e8a2e8Smrgs,@LIBS@,$LIBS,;t t 414997e8a2e8Smrgs,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 415097e8a2e8Smrgs,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 415197e8a2e8Smrgs,@INSTALL_DATA@,$INSTALL_DATA,;t t 415297e8a2e8Smrgs,@CYGPATH_W@,$CYGPATH_W,;t t 415397e8a2e8Smrgs,@PACKAGE@,$PACKAGE,;t t 415497e8a2e8Smrgs,@VERSION@,$VERSION,;t t 415597e8a2e8Smrgs,@ACLOCAL@,$ACLOCAL,;t t 415697e8a2e8Smrgs,@AUTOCONF@,$AUTOCONF,;t t 415797e8a2e8Smrgs,@AUTOMAKE@,$AUTOMAKE,;t t 415897e8a2e8Smrgs,@AUTOHEADER@,$AUTOHEADER,;t t 415997e8a2e8Smrgs,@MAKEINFO@,$MAKEINFO,;t t 416097e8a2e8Smrgs,@AMTAR@,$AMTAR,;t t 416197e8a2e8Smrgs,@install_sh@,$install_sh,;t t 416297e8a2e8Smrgs,@STRIP@,$STRIP,;t t 416397e8a2e8Smrgs,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 416497e8a2e8Smrgs,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 416597e8a2e8Smrgs,@AWK@,$AWK,;t t 416697e8a2e8Smrgs,@SET_MAKE@,$SET_MAKE,;t t 416797e8a2e8Smrgs,@am__leading_dot@,$am__leading_dot,;t t 416897e8a2e8Smrgs,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 416997e8a2e8Smrgs,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 417097e8a2e8Smrgs,@MAINT@,$MAINT,;t t 417197e8a2e8Smrgs,@CC@,$CC,;t t 417297e8a2e8Smrgs,@CFLAGS@,$CFLAGS,;t t 417397e8a2e8Smrgs,@LDFLAGS@,$LDFLAGS,;t t 417497e8a2e8Smrgs,@CPPFLAGS@,$CPPFLAGS,;t t 417597e8a2e8Smrgs,@ac_ct_CC@,$ac_ct_CC,;t t 417697e8a2e8Smrgs,@EXEEXT@,$EXEEXT,;t t 417797e8a2e8Smrgs,@OBJEXT@,$OBJEXT,;t t 417897e8a2e8Smrgs,@DEPDIR@,$DEPDIR,;t t 417997e8a2e8Smrgs,@am__include@,$am__include,;t t 418097e8a2e8Smrgs,@am__quote@,$am__quote,;t t 418197e8a2e8Smrgs,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 418297e8a2e8Smrgs,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 418397e8a2e8Smrgs,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 418497e8a2e8Smrgs,@CCDEPMODE@,$CCDEPMODE,;t t 418597e8a2e8Smrgs,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 418697e8a2e8Smrgs,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 418797e8a2e8Smrgs,@PKG_CONFIG@,$PKG_CONFIG,;t t 418897e8a2e8Smrgs,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 418997e8a2e8Smrgs,@TMP_XAW_CFLAGS@,$TMP_XAW_CFLAGS,;t t 419097e8a2e8Smrgs,@TMP_XAW_LIBS@,$TMP_XAW_LIBS,;t t 419197e8a2e8Smrgs,@XAW_USE_XPRINT_TRUE@,$XAW_USE_XPRINT_TRUE,;t t 419297e8a2e8Smrgs,@XAW_USE_XPRINT_FALSE@,$XAW_USE_XPRINT_FALSE,;t t 419397e8a2e8Smrgs,@XCLIPBOARD_CFLAGS@,$XCLIPBOARD_CFLAGS,;t t 419497e8a2e8Smrgs,@XCLIPBOARD_LIBS@,$XCLIPBOARD_LIBS,;t t 419597e8a2e8Smrgs,@APPDEFS_CFLAGS@,$APPDEFS_CFLAGS,;t t 419697e8a2e8Smrgs,@APPDEFS_LIBS@,$APPDEFS_LIBS,;t t 419797e8a2e8Smrgs,@appdefaultdir@,$appdefaultdir,;t t 419897e8a2e8Smrgs,@build@,$build,;t t 419997e8a2e8Smrgs,@build_cpu@,$build_cpu,;t t 420097e8a2e8Smrgs,@build_vendor@,$build_vendor,;t t 420197e8a2e8Smrgs,@build_os@,$build_os,;t t 420297e8a2e8Smrgs,@host@,$host,;t t 420397e8a2e8Smrgs,@host_cpu@,$host_cpu,;t t 420497e8a2e8Smrgs,@host_vendor@,$host_vendor,;t t 420597e8a2e8Smrgs,@host_os@,$host_os,;t t 420697e8a2e8Smrgs,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t 420797e8a2e8Smrgs,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t 420897e8a2e8Smrgs,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t 420997e8a2e8Smrgs,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t 421097e8a2e8Smrgs,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t 421197e8a2e8Smrgs,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t 421297e8a2e8Smrgs,@APP_MAN_DIR@,$APP_MAN_DIR,;t t 421397e8a2e8Smrgs,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t 421497e8a2e8Smrgs,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t 421597e8a2e8Smrgs,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t 421697e8a2e8Smrgs,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t 421797e8a2e8Smrgs,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t 421897e8a2e8Smrgs,@LIBOBJS@,$LIBOBJS,;t t 421997e8a2e8Smrgs,@LTLIBOBJS@,$LTLIBOBJS,;t t 422097e8a2e8SmrgCEOF 422197e8a2e8Smrg 422297e8a2e8Smrg_ACEOF 422397e8a2e8Smrg 422497e8a2e8Smrg cat >>$CONFIG_STATUS <<\_ACEOF 422597e8a2e8Smrg # Split the substitutions into bite-sized pieces for seds with 422697e8a2e8Smrg # small command number limits, like on Digital OSF/1 and HP-UX. 422797e8a2e8Smrg ac_max_sed_lines=48 422897e8a2e8Smrg ac_sed_frag=1 # Number of current file. 422997e8a2e8Smrg ac_beg=1 # First line for current file. 423097e8a2e8Smrg ac_end=$ac_max_sed_lines # Line after last line for current file. 423197e8a2e8Smrg ac_more_lines=: 423297e8a2e8Smrg ac_sed_cmds= 423397e8a2e8Smrg while $ac_more_lines; do 423497e8a2e8Smrg if test $ac_beg -gt 1; then 423597e8a2e8Smrg sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 423697e8a2e8Smrg else 423797e8a2e8Smrg sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 423897e8a2e8Smrg fi 423997e8a2e8Smrg if test ! -s $tmp/subs.frag; then 424097e8a2e8Smrg ac_more_lines=false 424197e8a2e8Smrg else 424297e8a2e8Smrg # The purpose of the label and of the branching condition is to 424397e8a2e8Smrg # speed up the sed processing (if there are no `@' at all, there 424497e8a2e8Smrg # is no need to browse any of the substitutions). 424597e8a2e8Smrg # These are the two extra sed commands mentioned above. 424697e8a2e8Smrg (echo ':t 424797e8a2e8Smrg /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 424897e8a2e8Smrg if test -z "$ac_sed_cmds"; then 424997e8a2e8Smrg ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 425097e8a2e8Smrg else 425197e8a2e8Smrg ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 425297e8a2e8Smrg fi 425397e8a2e8Smrg ac_sed_frag=`expr $ac_sed_frag + 1` 425497e8a2e8Smrg ac_beg=$ac_end 425597e8a2e8Smrg ac_end=`expr $ac_end + $ac_max_sed_lines` 425697e8a2e8Smrg fi 425797e8a2e8Smrg done 425897e8a2e8Smrg if test -z "$ac_sed_cmds"; then 425997e8a2e8Smrg ac_sed_cmds=cat 426097e8a2e8Smrg fi 426197e8a2e8Smrgfi # test -n "$CONFIG_FILES" 426297e8a2e8Smrg 426397e8a2e8Smrg_ACEOF 426497e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 426597e8a2e8Smrgfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 426697e8a2e8Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 426797e8a2e8Smrg case $ac_file in 426897e8a2e8Smrg - | *:- | *:-:* ) # input from stdin 426997e8a2e8Smrg cat >$tmp/stdin 427097e8a2e8Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 427197e8a2e8Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 427297e8a2e8Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 427397e8a2e8Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 427497e8a2e8Smrg * ) ac_file_in=$ac_file.in ;; 427597e8a2e8Smrg esac 427697e8a2e8Smrg 427797e8a2e8Smrg # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 427897e8a2e8Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 427997e8a2e8Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 428097e8a2e8Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 428197e8a2e8Smrg X"$ac_file" : 'X\(//\)$' \| \ 428297e8a2e8Smrg X"$ac_file" : 'X\(/\)' \| \ 428397e8a2e8Smrg . : '\(.\)' 2>/dev/null || 428497e8a2e8Smrgecho X"$ac_file" | 428597e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 428697e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 428797e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 428897e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 428997e8a2e8Smrg s/.*/./; q'` 429097e8a2e8Smrg { if $as_mkdir_p; then 429197e8a2e8Smrg mkdir -p "$ac_dir" 429297e8a2e8Smrg else 429397e8a2e8Smrg as_dir="$ac_dir" 429497e8a2e8Smrg as_dirs= 429597e8a2e8Smrg while test ! -d "$as_dir"; do 429697e8a2e8Smrg as_dirs="$as_dir $as_dirs" 429797e8a2e8Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 429897e8a2e8Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 429997e8a2e8Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 430097e8a2e8Smrg X"$as_dir" : 'X\(//\)$' \| \ 430197e8a2e8Smrg X"$as_dir" : 'X\(/\)' \| \ 430297e8a2e8Smrg . : '\(.\)' 2>/dev/null || 430397e8a2e8Smrgecho X"$as_dir" | 430497e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 430597e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 430697e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 430797e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 430897e8a2e8Smrg s/.*/./; q'` 430997e8a2e8Smrg done 431097e8a2e8Smrg test ! -n "$as_dirs" || mkdir $as_dirs 431197e8a2e8Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 431297e8a2e8Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 431397e8a2e8Smrg { (exit 1); exit 1; }; }; } 431497e8a2e8Smrg 431597e8a2e8Smrg ac_builddir=. 431697e8a2e8Smrg 431797e8a2e8Smrgif test "$ac_dir" != .; then 431897e8a2e8Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 431997e8a2e8Smrg # A "../" for each directory in $ac_dir_suffix. 432097e8a2e8Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 432197e8a2e8Smrgelse 432297e8a2e8Smrg ac_dir_suffix= ac_top_builddir= 432397e8a2e8Smrgfi 432497e8a2e8Smrg 432597e8a2e8Smrgcase $srcdir in 432697e8a2e8Smrg .) # No --srcdir option. We are building in place. 432797e8a2e8Smrg ac_srcdir=. 432897e8a2e8Smrg if test -z "$ac_top_builddir"; then 432997e8a2e8Smrg ac_top_srcdir=. 433097e8a2e8Smrg else 433197e8a2e8Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 433297e8a2e8Smrg fi ;; 433397e8a2e8Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 433497e8a2e8Smrg ac_srcdir=$srcdir$ac_dir_suffix; 433597e8a2e8Smrg ac_top_srcdir=$srcdir ;; 433697e8a2e8Smrg *) # Relative path. 433797e8a2e8Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 433897e8a2e8Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 433997e8a2e8Smrgesac 434097e8a2e8Smrg 434197e8a2e8Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 434297e8a2e8Smrg# the directories may not exist. 434397e8a2e8Smrgcase `pwd` in 434497e8a2e8Smrg.) ac_abs_builddir="$ac_dir";; 434597e8a2e8Smrg*) 434697e8a2e8Smrg case "$ac_dir" in 434797e8a2e8Smrg .) ac_abs_builddir=`pwd`;; 434897e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 434997e8a2e8Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 435097e8a2e8Smrg esac;; 435197e8a2e8Smrgesac 435297e8a2e8Smrgcase $ac_abs_builddir in 435397e8a2e8Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 435497e8a2e8Smrg*) 435597e8a2e8Smrg case ${ac_top_builddir}. in 435697e8a2e8Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 435797e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 435897e8a2e8Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 435997e8a2e8Smrg esac;; 436097e8a2e8Smrgesac 436197e8a2e8Smrgcase $ac_abs_builddir in 436297e8a2e8Smrg.) ac_abs_srcdir=$ac_srcdir;; 436397e8a2e8Smrg*) 436497e8a2e8Smrg case $ac_srcdir in 436597e8a2e8Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 436697e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 436797e8a2e8Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 436897e8a2e8Smrg esac;; 436997e8a2e8Smrgesac 437097e8a2e8Smrgcase $ac_abs_builddir in 437197e8a2e8Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 437297e8a2e8Smrg*) 437397e8a2e8Smrg case $ac_top_srcdir in 437497e8a2e8Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 437597e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 437697e8a2e8Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 437797e8a2e8Smrg esac;; 437897e8a2e8Smrgesac 437997e8a2e8Smrg 438097e8a2e8Smrg 438197e8a2e8Smrg case $INSTALL in 438297e8a2e8Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 438397e8a2e8Smrg *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 438497e8a2e8Smrg esac 438597e8a2e8Smrg 438697e8a2e8Smrg if test x"$ac_file" != x-; then 438797e8a2e8Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 438897e8a2e8Smrgecho "$as_me: creating $ac_file" >&6;} 438997e8a2e8Smrg rm -f "$ac_file" 439097e8a2e8Smrg fi 439197e8a2e8Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 439297e8a2e8Smrg # use $as_me), people would be surprised to read: 439397e8a2e8Smrg # /* config.h. Generated by config.status. */ 439497e8a2e8Smrg if test x"$ac_file" = x-; then 439597e8a2e8Smrg configure_input= 439697e8a2e8Smrg else 439797e8a2e8Smrg configure_input="$ac_file. " 439897e8a2e8Smrg fi 439997e8a2e8Smrg configure_input=$configure_input"Generated from `echo $ac_file_in | 440097e8a2e8Smrg sed 's,.*/,,'` by configure." 440197e8a2e8Smrg 440297e8a2e8Smrg # First look for the input files in the build tree, otherwise in the 440397e8a2e8Smrg # src tree. 440497e8a2e8Smrg ac_file_inputs=`IFS=: 440597e8a2e8Smrg for f in $ac_file_in; do 440697e8a2e8Smrg case $f in 440797e8a2e8Smrg -) echo $tmp/stdin ;; 440897e8a2e8Smrg [\\/$]*) 440997e8a2e8Smrg # Absolute (can't be DOS-style, as IFS=:) 441097e8a2e8Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 441197e8a2e8Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 441297e8a2e8Smrg { (exit 1); exit 1; }; } 441397e8a2e8Smrg echo "$f";; 441497e8a2e8Smrg *) # Relative 441597e8a2e8Smrg if test -f "$f"; then 441697e8a2e8Smrg # Build tree 441797e8a2e8Smrg echo "$f" 441897e8a2e8Smrg elif test -f "$srcdir/$f"; then 441997e8a2e8Smrg # Source tree 442097e8a2e8Smrg echo "$srcdir/$f" 442197e8a2e8Smrg else 442297e8a2e8Smrg # /dev/null tree 442397e8a2e8Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 442497e8a2e8Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 442597e8a2e8Smrg { (exit 1); exit 1; }; } 442697e8a2e8Smrg fi;; 442797e8a2e8Smrg esac 442897e8a2e8Smrg done` || { (exit 1); exit 1; } 442997e8a2e8Smrg_ACEOF 443097e8a2e8Smrgcat >>$CONFIG_STATUS <<_ACEOF 443197e8a2e8Smrg sed "$ac_vpsub 443297e8a2e8Smrg$extrasub 443397e8a2e8Smrg_ACEOF 443497e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 443597e8a2e8Smrg:t 443697e8a2e8Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 443797e8a2e8Smrgs,@configure_input@,$configure_input,;t t 443897e8a2e8Smrgs,@srcdir@,$ac_srcdir,;t t 443997e8a2e8Smrgs,@abs_srcdir@,$ac_abs_srcdir,;t t 444097e8a2e8Smrgs,@top_srcdir@,$ac_top_srcdir,;t t 444197e8a2e8Smrgs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 444297e8a2e8Smrgs,@builddir@,$ac_builddir,;t t 444397e8a2e8Smrgs,@abs_builddir@,$ac_abs_builddir,;t t 444497e8a2e8Smrgs,@top_builddir@,$ac_top_builddir,;t t 444597e8a2e8Smrgs,@abs_top_builddir@,$ac_abs_top_builddir,;t t 444697e8a2e8Smrgs,@INSTALL@,$ac_INSTALL,;t t 444797e8a2e8Smrg" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 444897e8a2e8Smrg rm -f $tmp/stdin 444997e8a2e8Smrg if test x"$ac_file" != x-; then 445097e8a2e8Smrg mv $tmp/out $ac_file 445197e8a2e8Smrg else 445297e8a2e8Smrg cat $tmp/out 445397e8a2e8Smrg rm -f $tmp/out 445497e8a2e8Smrg fi 445597e8a2e8Smrg 445697e8a2e8Smrgdone 445797e8a2e8Smrg_ACEOF 445897e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 445997e8a2e8Smrg 446097e8a2e8Smrg# 446197e8a2e8Smrg# CONFIG_HEADER section. 446297e8a2e8Smrg# 446397e8a2e8Smrg 446497e8a2e8Smrg# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 446597e8a2e8Smrg# NAME is the cpp macro being defined and VALUE is the value it is being given. 446697e8a2e8Smrg# 446797e8a2e8Smrg# ac_d sets the value in "#define NAME VALUE" lines. 446897e8a2e8Smrgac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 446997e8a2e8Smrgac_dB='[ ].*$,\1#\2' 447097e8a2e8Smrgac_dC=' ' 447197e8a2e8Smrgac_dD=',;t' 447297e8a2e8Smrg# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 447397e8a2e8Smrgac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 447497e8a2e8Smrgac_uB='$,\1#\2define\3' 447597e8a2e8Smrgac_uC=' ' 447697e8a2e8Smrgac_uD=',;t' 447797e8a2e8Smrg 447897e8a2e8Smrgfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 447997e8a2e8Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 448097e8a2e8Smrg case $ac_file in 448197e8a2e8Smrg - | *:- | *:-:* ) # input from stdin 448297e8a2e8Smrg cat >$tmp/stdin 448397e8a2e8Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 448497e8a2e8Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 448597e8a2e8Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 448697e8a2e8Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 448797e8a2e8Smrg * ) ac_file_in=$ac_file.in ;; 448897e8a2e8Smrg esac 448997e8a2e8Smrg 449097e8a2e8Smrg test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 449197e8a2e8Smrgecho "$as_me: creating $ac_file" >&6;} 449297e8a2e8Smrg 449397e8a2e8Smrg # First look for the input files in the build tree, otherwise in the 449497e8a2e8Smrg # src tree. 449597e8a2e8Smrg ac_file_inputs=`IFS=: 449697e8a2e8Smrg for f in $ac_file_in; do 449797e8a2e8Smrg case $f in 449897e8a2e8Smrg -) echo $tmp/stdin ;; 449997e8a2e8Smrg [\\/$]*) 450097e8a2e8Smrg # Absolute (can't be DOS-style, as IFS=:) 450197e8a2e8Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 450297e8a2e8Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 450397e8a2e8Smrg { (exit 1); exit 1; }; } 450497e8a2e8Smrg # Do quote $f, to prevent DOS paths from being IFS'd. 450597e8a2e8Smrg echo "$f";; 450697e8a2e8Smrg *) # Relative 450797e8a2e8Smrg if test -f "$f"; then 450897e8a2e8Smrg # Build tree 450997e8a2e8Smrg echo "$f" 451097e8a2e8Smrg elif test -f "$srcdir/$f"; then 451197e8a2e8Smrg # Source tree 451297e8a2e8Smrg echo "$srcdir/$f" 451397e8a2e8Smrg else 451497e8a2e8Smrg # /dev/null tree 451597e8a2e8Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 451697e8a2e8Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 451797e8a2e8Smrg { (exit 1); exit 1; }; } 451897e8a2e8Smrg fi;; 451997e8a2e8Smrg esac 452097e8a2e8Smrg done` || { (exit 1); exit 1; } 452197e8a2e8Smrg # Remove the trailing spaces. 452297e8a2e8Smrg sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 452397e8a2e8Smrg 452497e8a2e8Smrg_ACEOF 452597e8a2e8Smrg 452697e8a2e8Smrg# Transform confdefs.h into two sed scripts, `conftest.defines' and 452797e8a2e8Smrg# `conftest.undefs', that substitutes the proper values into 452897e8a2e8Smrg# config.h.in to produce config.h. The first handles `#define' 452997e8a2e8Smrg# templates, and the second `#undef' templates. 453097e8a2e8Smrg# And first: Protect against being on the right side of a sed subst in 453197e8a2e8Smrg# config.status. Protect against being in an unquoted here document 453297e8a2e8Smrg# in config.status. 453397e8a2e8Smrgrm -f conftest.defines conftest.undefs 453497e8a2e8Smrg# Using a here document instead of a string reduces the quoting nightmare. 453597e8a2e8Smrg# Putting comments in sed scripts is not portable. 453697e8a2e8Smrg# 453797e8a2e8Smrg# `end' is used to avoid that the second main sed command (meant for 453897e8a2e8Smrg# 0-ary CPP macros) applies to n-ary macro definitions. 453997e8a2e8Smrg# See the Autoconf documentation for `clear'. 454097e8a2e8Smrgcat >confdef2sed.sed <<\_ACEOF 454197e8a2e8Smrgs/[\\&,]/\\&/g 454297e8a2e8Smrgs,[\\$`],\\&,g 454397e8a2e8Smrgt clear 454497e8a2e8Smrg: clear 454597e8a2e8Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 454697e8a2e8Smrgt end 454797e8a2e8Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 454897e8a2e8Smrg: end 454997e8a2e8Smrg_ACEOF 455097e8a2e8Smrg# If some macros were called several times there might be several times 455197e8a2e8Smrg# the same #defines, which is useless. Nevertheless, we may not want to 455297e8a2e8Smrg# sort them, since we want the *last* AC-DEFINE to be honored. 455397e8a2e8Smrguniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 455497e8a2e8Smrgsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 455597e8a2e8Smrgrm -f confdef2sed.sed 455697e8a2e8Smrg 455797e8a2e8Smrg# This sed command replaces #undef with comments. This is necessary, for 455897e8a2e8Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 455997e8a2e8Smrg# on some systems where configure will not decide to define it. 456097e8a2e8Smrgcat >>conftest.undefs <<\_ACEOF 456197e8a2e8Smrgs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 456297e8a2e8Smrg_ACEOF 456397e8a2e8Smrg 456497e8a2e8Smrg# Break up conftest.defines because some shells have a limit on the size 456597e8a2e8Smrg# of here documents, and old seds have small limits too (100 cmds). 456697e8a2e8Smrgecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 456797e8a2e8Smrgecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 456897e8a2e8Smrgecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 456997e8a2e8Smrgecho ' :' >>$CONFIG_STATUS 457097e8a2e8Smrgrm -f conftest.tail 457197e8a2e8Smrgwhile grep . conftest.defines >/dev/null 457297e8a2e8Smrgdo 457397e8a2e8Smrg # Write a limited-size here document to $tmp/defines.sed. 457497e8a2e8Smrg echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 457597e8a2e8Smrg # Speed up: don't consider the non `#define' lines. 457697e8a2e8Smrg echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 457797e8a2e8Smrg # Work around the forget-to-reset-the-flag bug. 457897e8a2e8Smrg echo 't clr' >>$CONFIG_STATUS 457997e8a2e8Smrg echo ': clr' >>$CONFIG_STATUS 458097e8a2e8Smrg sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 458197e8a2e8Smrg echo 'CEOF 458297e8a2e8Smrg sed -f $tmp/defines.sed $tmp/in >$tmp/out 458397e8a2e8Smrg rm -f $tmp/in 458497e8a2e8Smrg mv $tmp/out $tmp/in 458597e8a2e8Smrg' >>$CONFIG_STATUS 458697e8a2e8Smrg sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 458797e8a2e8Smrg rm -f conftest.defines 458897e8a2e8Smrg mv conftest.tail conftest.defines 458997e8a2e8Smrgdone 459097e8a2e8Smrgrm -f conftest.defines 459197e8a2e8Smrgecho ' fi # grep' >>$CONFIG_STATUS 459297e8a2e8Smrgecho >>$CONFIG_STATUS 459397e8a2e8Smrg 459497e8a2e8Smrg# Break up conftest.undefs because some shells have a limit on the size 459597e8a2e8Smrg# of here documents, and old seds have small limits too (100 cmds). 459697e8a2e8Smrgecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 459797e8a2e8Smrgrm -f conftest.tail 459897e8a2e8Smrgwhile grep . conftest.undefs >/dev/null 459997e8a2e8Smrgdo 460097e8a2e8Smrg # Write a limited-size here document to $tmp/undefs.sed. 460197e8a2e8Smrg echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 460297e8a2e8Smrg # Speed up: don't consider the non `#undef' 460397e8a2e8Smrg echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 460497e8a2e8Smrg # Work around the forget-to-reset-the-flag bug. 460597e8a2e8Smrg echo 't clr' >>$CONFIG_STATUS 460697e8a2e8Smrg echo ': clr' >>$CONFIG_STATUS 460797e8a2e8Smrg sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 460897e8a2e8Smrg echo 'CEOF 460997e8a2e8Smrg sed -f $tmp/undefs.sed $tmp/in >$tmp/out 461097e8a2e8Smrg rm -f $tmp/in 461197e8a2e8Smrg mv $tmp/out $tmp/in 461297e8a2e8Smrg' >>$CONFIG_STATUS 461397e8a2e8Smrg sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 461497e8a2e8Smrg rm -f conftest.undefs 461597e8a2e8Smrg mv conftest.tail conftest.undefs 461697e8a2e8Smrgdone 461797e8a2e8Smrgrm -f conftest.undefs 461897e8a2e8Smrg 461997e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 462097e8a2e8Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 462197e8a2e8Smrg # use $as_me), people would be surprised to read: 462297e8a2e8Smrg # /* config.h. Generated by config.status. */ 462397e8a2e8Smrg if test x"$ac_file" = x-; then 462497e8a2e8Smrg echo "/* Generated by configure. */" >$tmp/config.h 462597e8a2e8Smrg else 462697e8a2e8Smrg echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 462797e8a2e8Smrg fi 462897e8a2e8Smrg cat $tmp/in >>$tmp/config.h 462997e8a2e8Smrg rm -f $tmp/in 463097e8a2e8Smrg if test x"$ac_file" != x-; then 463197e8a2e8Smrg if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 463297e8a2e8Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 463397e8a2e8Smrgecho "$as_me: $ac_file is unchanged" >&6;} 463497e8a2e8Smrg else 463597e8a2e8Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 463697e8a2e8Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 463797e8a2e8Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 463897e8a2e8Smrg X"$ac_file" : 'X\(//\)$' \| \ 463997e8a2e8Smrg X"$ac_file" : 'X\(/\)' \| \ 464097e8a2e8Smrg . : '\(.\)' 2>/dev/null || 464197e8a2e8Smrgecho X"$ac_file" | 464297e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 464397e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 464497e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 464597e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 464697e8a2e8Smrg s/.*/./; q'` 464797e8a2e8Smrg { if $as_mkdir_p; then 464897e8a2e8Smrg mkdir -p "$ac_dir" 464997e8a2e8Smrg else 465097e8a2e8Smrg as_dir="$ac_dir" 465197e8a2e8Smrg as_dirs= 465297e8a2e8Smrg while test ! -d "$as_dir"; do 465397e8a2e8Smrg as_dirs="$as_dir $as_dirs" 465497e8a2e8Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 465597e8a2e8Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 465697e8a2e8Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 465797e8a2e8Smrg X"$as_dir" : 'X\(//\)$' \| \ 465897e8a2e8Smrg X"$as_dir" : 'X\(/\)' \| \ 465997e8a2e8Smrg . : '\(.\)' 2>/dev/null || 466097e8a2e8Smrgecho X"$as_dir" | 466197e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 466297e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 466397e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 466497e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 466597e8a2e8Smrg s/.*/./; q'` 466697e8a2e8Smrg done 466797e8a2e8Smrg test ! -n "$as_dirs" || mkdir $as_dirs 466897e8a2e8Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 466997e8a2e8Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 467097e8a2e8Smrg { (exit 1); exit 1; }; }; } 467197e8a2e8Smrg 467297e8a2e8Smrg rm -f $ac_file 467397e8a2e8Smrg mv $tmp/config.h $ac_file 467497e8a2e8Smrg fi 467597e8a2e8Smrg else 467697e8a2e8Smrg cat $tmp/config.h 467797e8a2e8Smrg rm -f $tmp/config.h 467897e8a2e8Smrg fi 467997e8a2e8Smrg# Compute $ac_file's index in $config_headers. 468097e8a2e8Smrg_am_stamp_count=1 468197e8a2e8Smrgfor _am_header in $config_headers :; do 468297e8a2e8Smrg case $_am_header in 468397e8a2e8Smrg $ac_file | $ac_file:* ) 468497e8a2e8Smrg break ;; 468597e8a2e8Smrg * ) 468697e8a2e8Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 468797e8a2e8Smrg esac 468897e8a2e8Smrgdone 468997e8a2e8Smrgecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 469097e8a2e8Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 469197e8a2e8Smrg X$ac_file : 'X\(//\)[^/]' \| \ 469297e8a2e8Smrg X$ac_file : 'X\(//\)$' \| \ 469397e8a2e8Smrg X$ac_file : 'X\(/\)' \| \ 469497e8a2e8Smrg . : '\(.\)' 2>/dev/null || 469597e8a2e8Smrgecho X$ac_file | 469697e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 469797e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 469897e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 469997e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 470097e8a2e8Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 470197e8a2e8Smrgdone 470297e8a2e8Smrg_ACEOF 470397e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 470497e8a2e8Smrg 470597e8a2e8Smrg# 470697e8a2e8Smrg# CONFIG_COMMANDS section. 470797e8a2e8Smrg# 470897e8a2e8Smrgfor ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 470997e8a2e8Smrg ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 471097e8a2e8Smrg ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 471197e8a2e8Smrg ac_dir=`(dirname "$ac_dest") 2>/dev/null || 471297e8a2e8Smrg$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 471397e8a2e8Smrg X"$ac_dest" : 'X\(//\)[^/]' \| \ 471497e8a2e8Smrg X"$ac_dest" : 'X\(//\)$' \| \ 471597e8a2e8Smrg X"$ac_dest" : 'X\(/\)' \| \ 471697e8a2e8Smrg . : '\(.\)' 2>/dev/null || 471797e8a2e8Smrgecho X"$ac_dest" | 471897e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 471997e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 472097e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 472197e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 472297e8a2e8Smrg s/.*/./; q'` 472397e8a2e8Smrg { if $as_mkdir_p; then 472497e8a2e8Smrg mkdir -p "$ac_dir" 472597e8a2e8Smrg else 472697e8a2e8Smrg as_dir="$ac_dir" 472797e8a2e8Smrg as_dirs= 472897e8a2e8Smrg while test ! -d "$as_dir"; do 472997e8a2e8Smrg as_dirs="$as_dir $as_dirs" 473097e8a2e8Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 473197e8a2e8Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 473297e8a2e8Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 473397e8a2e8Smrg X"$as_dir" : 'X\(//\)$' \| \ 473497e8a2e8Smrg X"$as_dir" : 'X\(/\)' \| \ 473597e8a2e8Smrg . : '\(.\)' 2>/dev/null || 473697e8a2e8Smrgecho X"$as_dir" | 473797e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 473897e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 473997e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 474097e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 474197e8a2e8Smrg s/.*/./; q'` 474297e8a2e8Smrg done 474397e8a2e8Smrg test ! -n "$as_dirs" || mkdir $as_dirs 474497e8a2e8Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 474597e8a2e8Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 474697e8a2e8Smrg { (exit 1); exit 1; }; }; } 474797e8a2e8Smrg 474897e8a2e8Smrg ac_builddir=. 474997e8a2e8Smrg 475097e8a2e8Smrgif test "$ac_dir" != .; then 475197e8a2e8Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 475297e8a2e8Smrg # A "../" for each directory in $ac_dir_suffix. 475397e8a2e8Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 475497e8a2e8Smrgelse 475597e8a2e8Smrg ac_dir_suffix= ac_top_builddir= 475697e8a2e8Smrgfi 475797e8a2e8Smrg 475897e8a2e8Smrgcase $srcdir in 475997e8a2e8Smrg .) # No --srcdir option. We are building in place. 476097e8a2e8Smrg ac_srcdir=. 476197e8a2e8Smrg if test -z "$ac_top_builddir"; then 476297e8a2e8Smrg ac_top_srcdir=. 476397e8a2e8Smrg else 476497e8a2e8Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 476597e8a2e8Smrg fi ;; 476697e8a2e8Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 476797e8a2e8Smrg ac_srcdir=$srcdir$ac_dir_suffix; 476897e8a2e8Smrg ac_top_srcdir=$srcdir ;; 476997e8a2e8Smrg *) # Relative path. 477097e8a2e8Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 477197e8a2e8Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 477297e8a2e8Smrgesac 477397e8a2e8Smrg 477497e8a2e8Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 477597e8a2e8Smrg# the directories may not exist. 477697e8a2e8Smrgcase `pwd` in 477797e8a2e8Smrg.) ac_abs_builddir="$ac_dir";; 477897e8a2e8Smrg*) 477997e8a2e8Smrg case "$ac_dir" in 478097e8a2e8Smrg .) ac_abs_builddir=`pwd`;; 478197e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 478297e8a2e8Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 478397e8a2e8Smrg esac;; 478497e8a2e8Smrgesac 478597e8a2e8Smrgcase $ac_abs_builddir in 478697e8a2e8Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 478797e8a2e8Smrg*) 478897e8a2e8Smrg case ${ac_top_builddir}. in 478997e8a2e8Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 479097e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 479197e8a2e8Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 479297e8a2e8Smrg esac;; 479397e8a2e8Smrgesac 479497e8a2e8Smrgcase $ac_abs_builddir in 479597e8a2e8Smrg.) ac_abs_srcdir=$ac_srcdir;; 479697e8a2e8Smrg*) 479797e8a2e8Smrg case $ac_srcdir in 479897e8a2e8Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 479997e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 480097e8a2e8Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 480197e8a2e8Smrg esac;; 480297e8a2e8Smrgesac 480397e8a2e8Smrgcase $ac_abs_builddir in 480497e8a2e8Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 480597e8a2e8Smrg*) 480697e8a2e8Smrg case $ac_top_srcdir in 480797e8a2e8Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 480897e8a2e8Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 480997e8a2e8Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 481097e8a2e8Smrg esac;; 481197e8a2e8Smrgesac 481297e8a2e8Smrg 481397e8a2e8Smrg 481497e8a2e8Smrg { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 481597e8a2e8Smrgecho "$as_me: executing $ac_dest commands" >&6;} 481697e8a2e8Smrg case $ac_dest in 481797e8a2e8Smrg depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 481897e8a2e8Smrg # Strip MF so we end up with the name of the file. 481997e8a2e8Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 482097e8a2e8Smrg # Check whether this is an Automake generated Makefile or not. 482197e8a2e8Smrg # We used to match only the files named `Makefile.in', but 482297e8a2e8Smrg # some people rename them; so instead we look at the file content. 482397e8a2e8Smrg # Grep'ing the first line is not enough: some people post-process 482497e8a2e8Smrg # each Makefile.in and add a new line on top of each file to say so. 482597e8a2e8Smrg # So let's grep whole file. 482697e8a2e8Smrg if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 482797e8a2e8Smrg dirpart=`(dirname "$mf") 2>/dev/null || 482897e8a2e8Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 482997e8a2e8Smrg X"$mf" : 'X\(//\)[^/]' \| \ 483097e8a2e8Smrg X"$mf" : 'X\(//\)$' \| \ 483197e8a2e8Smrg X"$mf" : 'X\(/\)' \| \ 483297e8a2e8Smrg . : '\(.\)' 2>/dev/null || 483397e8a2e8Smrgecho X"$mf" | 483497e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 483597e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 483697e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 483797e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 483897e8a2e8Smrg s/.*/./; q'` 483997e8a2e8Smrg else 484097e8a2e8Smrg continue 484197e8a2e8Smrg fi 484297e8a2e8Smrg grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 484397e8a2e8Smrg # Extract the definition of DEP_FILES from the Makefile without 484497e8a2e8Smrg # running `make'. 484597e8a2e8Smrg DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 484697e8a2e8Smrg test -z "$DEPDIR" && continue 484797e8a2e8Smrg # When using ansi2knr, U may be empty or an underscore; expand it 484897e8a2e8Smrg U=`sed -n -e '/^U = / s///p' < "$mf"` 484997e8a2e8Smrg test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 485097e8a2e8Smrg # We invoke sed twice because it is the simplest approach to 485197e8a2e8Smrg # changing $(DEPDIR) to its actual value in the expansion. 485297e8a2e8Smrg for file in `sed -n -e ' 485397e8a2e8Smrg /^DEP_FILES = .*\\\\$/ { 485497e8a2e8Smrg s/^DEP_FILES = // 485597e8a2e8Smrg :loop 485697e8a2e8Smrg s/\\\\$// 485797e8a2e8Smrg p 485897e8a2e8Smrg n 485997e8a2e8Smrg /\\\\$/ b loop 486097e8a2e8Smrg p 486197e8a2e8Smrg } 486297e8a2e8Smrg /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 486397e8a2e8Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 486497e8a2e8Smrg # Make sure the directory exists. 486597e8a2e8Smrg test -f "$dirpart/$file" && continue 486697e8a2e8Smrg fdir=`(dirname "$file") 2>/dev/null || 486797e8a2e8Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 486897e8a2e8Smrg X"$file" : 'X\(//\)[^/]' \| \ 486997e8a2e8Smrg X"$file" : 'X\(//\)$' \| \ 487097e8a2e8Smrg X"$file" : 'X\(/\)' \| \ 487197e8a2e8Smrg . : '\(.\)' 2>/dev/null || 487297e8a2e8Smrgecho X"$file" | 487397e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 487497e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 487597e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 487697e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 487797e8a2e8Smrg s/.*/./; q'` 487897e8a2e8Smrg { if $as_mkdir_p; then 487997e8a2e8Smrg mkdir -p $dirpart/$fdir 488097e8a2e8Smrg else 488197e8a2e8Smrg as_dir=$dirpart/$fdir 488297e8a2e8Smrg as_dirs= 488397e8a2e8Smrg while test ! -d "$as_dir"; do 488497e8a2e8Smrg as_dirs="$as_dir $as_dirs" 488597e8a2e8Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 488697e8a2e8Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 488797e8a2e8Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 488897e8a2e8Smrg X"$as_dir" : 'X\(//\)$' \| \ 488997e8a2e8Smrg X"$as_dir" : 'X\(/\)' \| \ 489097e8a2e8Smrg . : '\(.\)' 2>/dev/null || 489197e8a2e8Smrgecho X"$as_dir" | 489297e8a2e8Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 489397e8a2e8Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 489497e8a2e8Smrg /^X\(\/\/\)$/{ s//\1/; q; } 489597e8a2e8Smrg /^X\(\/\).*/{ s//\1/; q; } 489697e8a2e8Smrg s/.*/./; q'` 489797e8a2e8Smrg done 489897e8a2e8Smrg test ! -n "$as_dirs" || mkdir $as_dirs 489997e8a2e8Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 490097e8a2e8Smrgecho "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 490197e8a2e8Smrg { (exit 1); exit 1; }; }; } 490297e8a2e8Smrg 490397e8a2e8Smrg # echo "creating $dirpart/$file" 490497e8a2e8Smrg echo '# dummy' > "$dirpart/$file" 490597e8a2e8Smrg done 490697e8a2e8Smrgdone 490797e8a2e8Smrg ;; 490897e8a2e8Smrg esac 490997e8a2e8Smrgdone 491097e8a2e8Smrg_ACEOF 491197e8a2e8Smrg 491297e8a2e8Smrgcat >>$CONFIG_STATUS <<\_ACEOF 491397e8a2e8Smrg 491497e8a2e8Smrg{ (exit 0); exit 0; } 491597e8a2e8Smrg_ACEOF 491697e8a2e8Smrgchmod +x $CONFIG_STATUS 491797e8a2e8Smrgac_clean_files=$ac_clean_files_save 491897e8a2e8Smrg 491997e8a2e8Smrg 492097e8a2e8Smrg# configure is writing to config.log, and then calls config.status. 492197e8a2e8Smrg# config.status does its own redirection, appending to config.log. 492297e8a2e8Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 492397e8a2e8Smrg# by configure, so config.status won't be able to write to it; its 492497e8a2e8Smrg# output is simply discarded. So we exec the FD to /dev/null, 492597e8a2e8Smrg# effectively closing config.log, so it can be properly (re)opened and 492697e8a2e8Smrg# appended to by config.status. When coming back to configure, we 492797e8a2e8Smrg# need to make the FD available again. 492897e8a2e8Smrgif test "$no_create" != yes; then 492997e8a2e8Smrg ac_cs_success=: 493097e8a2e8Smrg ac_config_status_args= 493197e8a2e8Smrg test "$silent" = yes && 493297e8a2e8Smrg ac_config_status_args="$ac_config_status_args --quiet" 493397e8a2e8Smrg exec 5>/dev/null 493497e8a2e8Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 493597e8a2e8Smrg exec 5>>config.log 493697e8a2e8Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 493797e8a2e8Smrg # would make configure fail if this is the last instruction. 493897e8a2e8Smrg $ac_cs_success || { (exit 1); exit 1; } 493997e8a2e8Smrgfi 494097e8a2e8Smrg 4941