configure revision 16910e25
116910e25Smrg#! /bin/sh 216910e25Smrg# Guess values for system-dependent variables and create Makefiles. 316910e25Smrg# Generated by GNU Autoconf 2.59 for xmore 1.0.1. 416910e25Smrg# 516910e25Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 616910e25Smrg# 716910e25Smrg# Copyright (C) 2003 Free Software Foundation, Inc. 816910e25Smrg# This configure script is free software; the Free Software Foundation 916910e25Smrg# gives unlimited permission to copy, distribute and modify it. 1016910e25Smrg## --------------------- ## 1116910e25Smrg## M4sh Initialization. ## 1216910e25Smrg## --------------------- ## 1316910e25Smrg 1416910e25Smrg# Be Bourne compatible 1516910e25Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1616910e25Smrg emulate sh 1716910e25Smrg NULLCMD=: 1816910e25Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 1916910e25Smrg # is contrary to our usage. Disable this feature. 2016910e25Smrg alias -g '${1+"$@"}'='"$@"' 2116910e25Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 2216910e25Smrg set -o posix 2316910e25Smrgfi 2416910e25SmrgDUALCASE=1; export DUALCASE # for MKS sh 2516910e25Smrg 2616910e25Smrg# Support unset when possible. 2716910e25Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 2816910e25Smrg as_unset=unset 2916910e25Smrgelse 3016910e25Smrg as_unset=false 3116910e25Smrgfi 3216910e25Smrg 3316910e25Smrg 3416910e25Smrg# Work around bugs in pre-3.0 UWIN ksh. 3516910e25Smrg$as_unset ENV MAIL MAILPATH 3616910e25SmrgPS1='$ ' 3716910e25SmrgPS2='> ' 3816910e25SmrgPS4='+ ' 3916910e25Smrg 4016910e25Smrg# NLS nuisances. 4116910e25Smrgfor as_var in \ 4216910e25Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4316910e25Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4416910e25Smrg LC_TELEPHONE LC_TIME 4516910e25Smrgdo 4616910e25Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4716910e25Smrg eval $as_var=C; export $as_var 4816910e25Smrg else 4916910e25Smrg $as_unset $as_var 5016910e25Smrg fi 5116910e25Smrgdone 5216910e25Smrg 5316910e25Smrg# Required to use basename. 5416910e25Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 5516910e25Smrg as_expr=expr 5616910e25Smrgelse 5716910e25Smrg as_expr=false 5816910e25Smrgfi 5916910e25Smrg 6016910e25Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 6116910e25Smrg as_basename=basename 6216910e25Smrgelse 6316910e25Smrg as_basename=false 6416910e25Smrgfi 6516910e25Smrg 6616910e25Smrg 6716910e25Smrg# Name of the executable. 6816910e25Smrgas_me=`$as_basename "$0" || 6916910e25Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7016910e25Smrg X"$0" : 'X\(//\)$' \| \ 7116910e25Smrg X"$0" : 'X\(/\)$' \| \ 7216910e25Smrg . : '\(.\)' 2>/dev/null || 7316910e25Smrgecho X/"$0" | 7416910e25Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7516910e25Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 7616910e25Smrg /^X\/\(\/\).*/{ s//\1/; q; } 7716910e25Smrg s/.*/./; q'` 7816910e25Smrg 7916910e25Smrg 8016910e25Smrg# PATH needs CR, and LINENO needs CR and PATH. 8116910e25Smrg# Avoid depending upon Character Ranges. 8216910e25Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 8316910e25Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8416910e25Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 8516910e25Smrgas_cr_digits='0123456789' 8616910e25Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 8716910e25Smrg 8816910e25Smrg# The user is always right. 8916910e25Smrgif test "${PATH_SEPARATOR+set}" != set; then 9016910e25Smrg echo "#! /bin/sh" >conf$$.sh 9116910e25Smrg echo "exit 0" >>conf$$.sh 9216910e25Smrg chmod +x conf$$.sh 9316910e25Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 9416910e25Smrg PATH_SEPARATOR=';' 9516910e25Smrg else 9616910e25Smrg PATH_SEPARATOR=: 9716910e25Smrg fi 9816910e25Smrg rm -f conf$$.sh 9916910e25Smrgfi 10016910e25Smrg 10116910e25Smrg 10216910e25Smrg as_lineno_1=$LINENO 10316910e25Smrg as_lineno_2=$LINENO 10416910e25Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 10516910e25Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 10616910e25Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 10716910e25Smrg # Find who we are. Look in the path if we contain no path at all 10816910e25Smrg # relative or not. 10916910e25Smrg case $0 in 11016910e25Smrg *[\\/]* ) as_myself=$0 ;; 11116910e25Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11216910e25Smrgfor as_dir in $PATH 11316910e25Smrgdo 11416910e25Smrg IFS=$as_save_IFS 11516910e25Smrg test -z "$as_dir" && as_dir=. 11616910e25Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11716910e25Smrgdone 11816910e25Smrg 11916910e25Smrg ;; 12016910e25Smrg esac 12116910e25Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 12216910e25Smrg # in which case we are not to be found in the path. 12316910e25Smrg if test "x$as_myself" = x; then 12416910e25Smrg as_myself=$0 12516910e25Smrg fi 12616910e25Smrg if test ! -f "$as_myself"; then 12716910e25Smrg { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 12816910e25Smrg { (exit 1); exit 1; }; } 12916910e25Smrg fi 13016910e25Smrg case $CONFIG_SHELL in 13116910e25Smrg '') 13216910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13316910e25Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 13416910e25Smrgdo 13516910e25Smrg IFS=$as_save_IFS 13616910e25Smrg test -z "$as_dir" && as_dir=. 13716910e25Smrg for as_base in sh bash ksh sh5; do 13816910e25Smrg case $as_dir in 13916910e25Smrg /*) 14016910e25Smrg if ("$as_dir/$as_base" -c ' 14116910e25Smrg as_lineno_1=$LINENO 14216910e25Smrg as_lineno_2=$LINENO 14316910e25Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 14416910e25Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 14516910e25Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 14616910e25Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 14716910e25Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 14816910e25Smrg CONFIG_SHELL=$as_dir/$as_base 14916910e25Smrg export CONFIG_SHELL 15016910e25Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 15116910e25Smrg fi;; 15216910e25Smrg esac 15316910e25Smrg done 15416910e25Smrgdone 15516910e25Smrg;; 15616910e25Smrg esac 15716910e25Smrg 15816910e25Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 15916910e25Smrg # uniformly replaced by the line number. The first 'sed' inserts a 16016910e25Smrg # line-number line before each line; the second 'sed' does the real 16116910e25Smrg # work. The second script uses 'N' to pair each line-number line 16216910e25Smrg # with the numbered line, and appends trailing '-' during 16316910e25Smrg # substitution so that $LINENO is not a special case at line end. 16416910e25Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16516910e25Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 16616910e25Smrg sed '=' <$as_myself | 16716910e25Smrg sed ' 16816910e25Smrg N 16916910e25Smrg s,$,-, 17016910e25Smrg : loop 17116910e25Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 17216910e25Smrg t loop 17316910e25Smrg s,-$,, 17416910e25Smrg s,^['$as_cr_digits']*\n,, 17516910e25Smrg ' >$as_me.lineno && 17616910e25Smrg chmod +x $as_me.lineno || 17716910e25Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 17816910e25Smrg { (exit 1); exit 1; }; } 17916910e25Smrg 18016910e25Smrg # Don't try to exec as it changes $[0], causing all sort of problems 18116910e25Smrg # (the dirname of $[0] is not the place where we might find the 18216910e25Smrg # original and so on. Autoconf is especially sensible to this). 18316910e25Smrg . ./$as_me.lineno 18416910e25Smrg # Exit status is that of the last command. 18516910e25Smrg exit 18616910e25Smrg} 18716910e25Smrg 18816910e25Smrg 18916910e25Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 19016910e25Smrg *c*,-n*) ECHO_N= ECHO_C=' 19116910e25Smrg' ECHO_T=' ' ;; 19216910e25Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 19316910e25Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 19416910e25Smrgesac 19516910e25Smrg 19616910e25Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 19716910e25Smrg as_expr=expr 19816910e25Smrgelse 19916910e25Smrg as_expr=false 20016910e25Smrgfi 20116910e25Smrg 20216910e25Smrgrm -f conf$$ conf$$.exe conf$$.file 20316910e25Smrgecho >conf$$.file 20416910e25Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 20516910e25Smrg # We could just check for DJGPP; but this test a) works b) is more generic 20616910e25Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 20716910e25Smrg if test -f conf$$.exe; then 20816910e25Smrg # Don't use ln at all; we don't have any links 20916910e25Smrg as_ln_s='cp -p' 21016910e25Smrg else 21116910e25Smrg as_ln_s='ln -s' 21216910e25Smrg fi 21316910e25Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 21416910e25Smrg as_ln_s=ln 21516910e25Smrgelse 21616910e25Smrg as_ln_s='cp -p' 21716910e25Smrgfi 21816910e25Smrgrm -f conf$$ conf$$.exe conf$$.file 21916910e25Smrg 22016910e25Smrgif mkdir -p . 2>/dev/null; then 22116910e25Smrg as_mkdir_p=: 22216910e25Smrgelse 22316910e25Smrg test -d ./-p && rmdir ./-p 22416910e25Smrg as_mkdir_p=false 22516910e25Smrgfi 22616910e25Smrg 22716910e25Smrgas_executable_p="test -f" 22816910e25Smrg 22916910e25Smrg# Sed expression to map a string onto a valid CPP name. 23016910e25Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 23116910e25Smrg 23216910e25Smrg# Sed expression to map a string onto a valid variable name. 23316910e25Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 23416910e25Smrg 23516910e25Smrg 23616910e25Smrg# IFS 23716910e25Smrg# We need space, tab and new line, in precisely that order. 23816910e25Smrgas_nl=' 23916910e25Smrg' 24016910e25SmrgIFS=" $as_nl" 24116910e25Smrg 24216910e25Smrg# CDPATH. 24316910e25Smrg$as_unset CDPATH 24416910e25Smrg 24516910e25Smrg 24616910e25Smrg# Name of the host. 24716910e25Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 24816910e25Smrg# so uname gets run too. 24916910e25Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 25016910e25Smrg 25116910e25Smrgexec 6>&1 25216910e25Smrg 25316910e25Smrg# 25416910e25Smrg# Initializations. 25516910e25Smrg# 25616910e25Smrgac_default_prefix=/usr/local 25716910e25Smrgac_config_libobj_dir=. 25816910e25Smrgcross_compiling=no 25916910e25Smrgsubdirs= 26016910e25SmrgMFLAGS= 26116910e25SmrgMAKEFLAGS= 26216910e25SmrgSHELL=${CONFIG_SHELL-/bin/sh} 26316910e25Smrg 26416910e25Smrg# Maximum number of lines to put in a shell here document. 26516910e25Smrg# This variable seems obsolete. It should probably be removed, and 26616910e25Smrg# only ac_max_sed_lines should be used. 26716910e25Smrg: ${ac_max_here_lines=38} 26816910e25Smrg 26916910e25Smrg# Identity of this package. 27016910e25SmrgPACKAGE_NAME='xmore' 27116910e25SmrgPACKAGE_TARNAME='xmore' 27216910e25SmrgPACKAGE_VERSION='1.0.1' 27316910e25SmrgPACKAGE_STRING='xmore 1.0.1' 27416910e25SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 27516910e25Smrg 27616910e25Smrgac_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 XPRINT_UTIL_CFLAGS XPRINT_UTIL_LIBS XMORE_CFLAGS XMORE_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' 27716910e25Smrgac_subst_files='' 27816910e25Smrg 27916910e25Smrg# Initialize some variables set by options. 28016910e25Smrgac_init_help= 28116910e25Smrgac_init_version=false 28216910e25Smrg# The variables have the same names as the options, with 28316910e25Smrg# dashes changed to underlines. 28416910e25Smrgcache_file=/dev/null 28516910e25Smrgexec_prefix=NONE 28616910e25Smrgno_create= 28716910e25Smrgno_recursion= 28816910e25Smrgprefix=NONE 28916910e25Smrgprogram_prefix=NONE 29016910e25Smrgprogram_suffix=NONE 29116910e25Smrgprogram_transform_name=s,x,x, 29216910e25Smrgsilent= 29316910e25Smrgsite= 29416910e25Smrgsrcdir= 29516910e25Smrgverbose= 29616910e25Smrgx_includes=NONE 29716910e25Smrgx_libraries=NONE 29816910e25Smrg 29916910e25Smrg# Installation directory options. 30016910e25Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 30116910e25Smrg# and all the variables that are supposed to be based on exec_prefix 30216910e25Smrg# by default will actually change. 30316910e25Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 30416910e25Smrgbindir='${exec_prefix}/bin' 30516910e25Smrgsbindir='${exec_prefix}/sbin' 30616910e25Smrglibexecdir='${exec_prefix}/libexec' 30716910e25Smrgdatadir='${prefix}/share' 30816910e25Smrgsysconfdir='${prefix}/etc' 30916910e25Smrgsharedstatedir='${prefix}/com' 31016910e25Smrglocalstatedir='${prefix}/var' 31116910e25Smrglibdir='${exec_prefix}/lib' 31216910e25Smrgincludedir='${prefix}/include' 31316910e25Smrgoldincludedir='/usr/include' 31416910e25Smrginfodir='${prefix}/info' 31516910e25Smrgmandir='${prefix}/man' 31616910e25Smrg 31716910e25Smrgac_prev= 31816910e25Smrgfor ac_option 31916910e25Smrgdo 32016910e25Smrg # If the previous option needs an argument, assign it. 32116910e25Smrg if test -n "$ac_prev"; then 32216910e25Smrg eval "$ac_prev=\$ac_option" 32316910e25Smrg ac_prev= 32416910e25Smrg continue 32516910e25Smrg fi 32616910e25Smrg 32716910e25Smrg ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 32816910e25Smrg 32916910e25Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 33016910e25Smrg 33116910e25Smrg case $ac_option in 33216910e25Smrg 33316910e25Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 33416910e25Smrg ac_prev=bindir ;; 33516910e25Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 33616910e25Smrg bindir=$ac_optarg ;; 33716910e25Smrg 33816910e25Smrg -build | --build | --buil | --bui | --bu) 33916910e25Smrg ac_prev=build_alias ;; 34016910e25Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 34116910e25Smrg build_alias=$ac_optarg ;; 34216910e25Smrg 34316910e25Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 34416910e25Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 34516910e25Smrg ac_prev=cache_file ;; 34616910e25Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 34716910e25Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 34816910e25Smrg cache_file=$ac_optarg ;; 34916910e25Smrg 35016910e25Smrg --config-cache | -C) 35116910e25Smrg cache_file=config.cache ;; 35216910e25Smrg 35316910e25Smrg -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 35416910e25Smrg ac_prev=datadir ;; 35516910e25Smrg -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 35616910e25Smrg | --da=*) 35716910e25Smrg datadir=$ac_optarg ;; 35816910e25Smrg 35916910e25Smrg -disable-* | --disable-*) 36016910e25Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 36116910e25Smrg # Reject names that are not valid shell variable names. 36216910e25Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 36316910e25Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 36416910e25Smrg { (exit 1); exit 1; }; } 36516910e25Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 36616910e25Smrg eval "enable_$ac_feature=no" ;; 36716910e25Smrg 36816910e25Smrg -enable-* | --enable-*) 36916910e25Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 37016910e25Smrg # Reject names that are not valid shell variable names. 37116910e25Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 37216910e25Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 37316910e25Smrg { (exit 1); exit 1; }; } 37416910e25Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 37516910e25Smrg case $ac_option in 37616910e25Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 37716910e25Smrg *) ac_optarg=yes ;; 37816910e25Smrg esac 37916910e25Smrg eval "enable_$ac_feature='$ac_optarg'" ;; 38016910e25Smrg 38116910e25Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 38216910e25Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 38316910e25Smrg | --exec | --exe | --ex) 38416910e25Smrg ac_prev=exec_prefix ;; 38516910e25Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 38616910e25Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 38716910e25Smrg | --exec=* | --exe=* | --ex=*) 38816910e25Smrg exec_prefix=$ac_optarg ;; 38916910e25Smrg 39016910e25Smrg -gas | --gas | --ga | --g) 39116910e25Smrg # Obsolete; use --with-gas. 39216910e25Smrg with_gas=yes ;; 39316910e25Smrg 39416910e25Smrg -help | --help | --hel | --he | -h) 39516910e25Smrg ac_init_help=long ;; 39616910e25Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 39716910e25Smrg ac_init_help=recursive ;; 39816910e25Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 39916910e25Smrg ac_init_help=short ;; 40016910e25Smrg 40116910e25Smrg -host | --host | --hos | --ho) 40216910e25Smrg ac_prev=host_alias ;; 40316910e25Smrg -host=* | --host=* | --hos=* | --ho=*) 40416910e25Smrg host_alias=$ac_optarg ;; 40516910e25Smrg 40616910e25Smrg -includedir | --includedir | --includedi | --included | --include \ 40716910e25Smrg | --includ | --inclu | --incl | --inc) 40816910e25Smrg ac_prev=includedir ;; 40916910e25Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 41016910e25Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 41116910e25Smrg includedir=$ac_optarg ;; 41216910e25Smrg 41316910e25Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 41416910e25Smrg ac_prev=infodir ;; 41516910e25Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 41616910e25Smrg infodir=$ac_optarg ;; 41716910e25Smrg 41816910e25Smrg -libdir | --libdir | --libdi | --libd) 41916910e25Smrg ac_prev=libdir ;; 42016910e25Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 42116910e25Smrg libdir=$ac_optarg ;; 42216910e25Smrg 42316910e25Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 42416910e25Smrg | --libexe | --libex | --libe) 42516910e25Smrg ac_prev=libexecdir ;; 42616910e25Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 42716910e25Smrg | --libexe=* | --libex=* | --libe=*) 42816910e25Smrg libexecdir=$ac_optarg ;; 42916910e25Smrg 43016910e25Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 43116910e25Smrg | --localstate | --localstat | --localsta | --localst \ 43216910e25Smrg | --locals | --local | --loca | --loc | --lo) 43316910e25Smrg ac_prev=localstatedir ;; 43416910e25Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 43516910e25Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 43616910e25Smrg | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 43716910e25Smrg localstatedir=$ac_optarg ;; 43816910e25Smrg 43916910e25Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 44016910e25Smrg ac_prev=mandir ;; 44116910e25Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 44216910e25Smrg mandir=$ac_optarg ;; 44316910e25Smrg 44416910e25Smrg -nfp | --nfp | --nf) 44516910e25Smrg # Obsolete; use --without-fp. 44616910e25Smrg with_fp=no ;; 44716910e25Smrg 44816910e25Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 44916910e25Smrg | --no-cr | --no-c | -n) 45016910e25Smrg no_create=yes ;; 45116910e25Smrg 45216910e25Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 45316910e25Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 45416910e25Smrg no_recursion=yes ;; 45516910e25Smrg 45616910e25Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 45716910e25Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 45816910e25Smrg | --oldin | --oldi | --old | --ol | --o) 45916910e25Smrg ac_prev=oldincludedir ;; 46016910e25Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 46116910e25Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 46216910e25Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 46316910e25Smrg oldincludedir=$ac_optarg ;; 46416910e25Smrg 46516910e25Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 46616910e25Smrg ac_prev=prefix ;; 46716910e25Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 46816910e25Smrg prefix=$ac_optarg ;; 46916910e25Smrg 47016910e25Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 47116910e25Smrg | --program-pre | --program-pr | --program-p) 47216910e25Smrg ac_prev=program_prefix ;; 47316910e25Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 47416910e25Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 47516910e25Smrg program_prefix=$ac_optarg ;; 47616910e25Smrg 47716910e25Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 47816910e25Smrg | --program-suf | --program-su | --program-s) 47916910e25Smrg ac_prev=program_suffix ;; 48016910e25Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 48116910e25Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 48216910e25Smrg program_suffix=$ac_optarg ;; 48316910e25Smrg 48416910e25Smrg -program-transform-name | --program-transform-name \ 48516910e25Smrg | --program-transform-nam | --program-transform-na \ 48616910e25Smrg | --program-transform-n | --program-transform- \ 48716910e25Smrg | --program-transform | --program-transfor \ 48816910e25Smrg | --program-transfo | --program-transf \ 48916910e25Smrg | --program-trans | --program-tran \ 49016910e25Smrg | --progr-tra | --program-tr | --program-t) 49116910e25Smrg ac_prev=program_transform_name ;; 49216910e25Smrg -program-transform-name=* | --program-transform-name=* \ 49316910e25Smrg | --program-transform-nam=* | --program-transform-na=* \ 49416910e25Smrg | --program-transform-n=* | --program-transform-=* \ 49516910e25Smrg | --program-transform=* | --program-transfor=* \ 49616910e25Smrg | --program-transfo=* | --program-transf=* \ 49716910e25Smrg | --program-trans=* | --program-tran=* \ 49816910e25Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 49916910e25Smrg program_transform_name=$ac_optarg ;; 50016910e25Smrg 50116910e25Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 50216910e25Smrg | -silent | --silent | --silen | --sile | --sil) 50316910e25Smrg silent=yes ;; 50416910e25Smrg 50516910e25Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 50616910e25Smrg ac_prev=sbindir ;; 50716910e25Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 50816910e25Smrg | --sbi=* | --sb=*) 50916910e25Smrg sbindir=$ac_optarg ;; 51016910e25Smrg 51116910e25Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 51216910e25Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 51316910e25Smrg | --sharedst | --shareds | --shared | --share | --shar \ 51416910e25Smrg | --sha | --sh) 51516910e25Smrg ac_prev=sharedstatedir ;; 51616910e25Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 51716910e25Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 51816910e25Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 51916910e25Smrg | --sha=* | --sh=*) 52016910e25Smrg sharedstatedir=$ac_optarg ;; 52116910e25Smrg 52216910e25Smrg -site | --site | --sit) 52316910e25Smrg ac_prev=site ;; 52416910e25Smrg -site=* | --site=* | --sit=*) 52516910e25Smrg site=$ac_optarg ;; 52616910e25Smrg 52716910e25Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 52816910e25Smrg ac_prev=srcdir ;; 52916910e25Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 53016910e25Smrg srcdir=$ac_optarg ;; 53116910e25Smrg 53216910e25Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 53316910e25Smrg | --syscon | --sysco | --sysc | --sys | --sy) 53416910e25Smrg ac_prev=sysconfdir ;; 53516910e25Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 53616910e25Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 53716910e25Smrg sysconfdir=$ac_optarg ;; 53816910e25Smrg 53916910e25Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 54016910e25Smrg ac_prev=target_alias ;; 54116910e25Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 54216910e25Smrg target_alias=$ac_optarg ;; 54316910e25Smrg 54416910e25Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 54516910e25Smrg verbose=yes ;; 54616910e25Smrg 54716910e25Smrg -version | --version | --versio | --versi | --vers | -V) 54816910e25Smrg ac_init_version=: ;; 54916910e25Smrg 55016910e25Smrg -with-* | --with-*) 55116910e25Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 55216910e25Smrg # Reject names that are not valid shell variable names. 55316910e25Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 55416910e25Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 55516910e25Smrg { (exit 1); exit 1; }; } 55616910e25Smrg ac_package=`echo $ac_package| sed 's/-/_/g'` 55716910e25Smrg case $ac_option in 55816910e25Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 55916910e25Smrg *) ac_optarg=yes ;; 56016910e25Smrg esac 56116910e25Smrg eval "with_$ac_package='$ac_optarg'" ;; 56216910e25Smrg 56316910e25Smrg -without-* | --without-*) 56416910e25Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 56516910e25Smrg # Reject names that are not valid shell variable names. 56616910e25Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 56716910e25Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 56816910e25Smrg { (exit 1); exit 1; }; } 56916910e25Smrg ac_package=`echo $ac_package | sed 's/-/_/g'` 57016910e25Smrg eval "with_$ac_package=no" ;; 57116910e25Smrg 57216910e25Smrg --x) 57316910e25Smrg # Obsolete; use --with-x. 57416910e25Smrg with_x=yes ;; 57516910e25Smrg 57616910e25Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 57716910e25Smrg | --x-incl | --x-inc | --x-in | --x-i) 57816910e25Smrg ac_prev=x_includes ;; 57916910e25Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 58016910e25Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 58116910e25Smrg x_includes=$ac_optarg ;; 58216910e25Smrg 58316910e25Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 58416910e25Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 58516910e25Smrg ac_prev=x_libraries ;; 58616910e25Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 58716910e25Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 58816910e25Smrg x_libraries=$ac_optarg ;; 58916910e25Smrg 59016910e25Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 59116910e25SmrgTry \`$0 --help' for more information." >&2 59216910e25Smrg { (exit 1); exit 1; }; } 59316910e25Smrg ;; 59416910e25Smrg 59516910e25Smrg *=*) 59616910e25Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 59716910e25Smrg # Reject names that are not valid shell variable names. 59816910e25Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 59916910e25Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 60016910e25Smrg { (exit 1); exit 1; }; } 60116910e25Smrg ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 60216910e25Smrg eval "$ac_envvar='$ac_optarg'" 60316910e25Smrg export $ac_envvar ;; 60416910e25Smrg 60516910e25Smrg *) 60616910e25Smrg # FIXME: should be removed in autoconf 3.0. 60716910e25Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 60816910e25Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 60916910e25Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 61016910e25Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 61116910e25Smrg ;; 61216910e25Smrg 61316910e25Smrg esac 61416910e25Smrgdone 61516910e25Smrg 61616910e25Smrgif test -n "$ac_prev"; then 61716910e25Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 61816910e25Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 61916910e25Smrg { (exit 1); exit 1; }; } 62016910e25Smrgfi 62116910e25Smrg 62216910e25Smrg# Be sure to have absolute paths. 62316910e25Smrgfor ac_var in exec_prefix prefix 62416910e25Smrgdo 62516910e25Smrg eval ac_val=$`echo $ac_var` 62616910e25Smrg case $ac_val in 62716910e25Smrg [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 62816910e25Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 62916910e25Smrg { (exit 1); exit 1; }; };; 63016910e25Smrg esac 63116910e25Smrgdone 63216910e25Smrg 63316910e25Smrg# Be sure to have absolute paths. 63416910e25Smrgfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 63516910e25Smrg localstatedir libdir includedir oldincludedir infodir mandir 63616910e25Smrgdo 63716910e25Smrg eval ac_val=$`echo $ac_var` 63816910e25Smrg case $ac_val in 63916910e25Smrg [\\/$]* | ?:[\\/]* ) ;; 64016910e25Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 64116910e25Smrg { (exit 1); exit 1; }; };; 64216910e25Smrg esac 64316910e25Smrgdone 64416910e25Smrg 64516910e25Smrg# There might be people who depend on the old broken behavior: `$host' 64616910e25Smrg# used to hold the argument of --host etc. 64716910e25Smrg# FIXME: To remove some day. 64816910e25Smrgbuild=$build_alias 64916910e25Smrghost=$host_alias 65016910e25Smrgtarget=$target_alias 65116910e25Smrg 65216910e25Smrg# FIXME: To remove some day. 65316910e25Smrgif test "x$host_alias" != x; then 65416910e25Smrg if test "x$build_alias" = x; then 65516910e25Smrg cross_compiling=maybe 65616910e25Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 65716910e25Smrg If a cross compiler is detected then cross compile mode will be used." >&2 65816910e25Smrg elif test "x$build_alias" != "x$host_alias"; then 65916910e25Smrg cross_compiling=yes 66016910e25Smrg fi 66116910e25Smrgfi 66216910e25Smrg 66316910e25Smrgac_tool_prefix= 66416910e25Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 66516910e25Smrg 66616910e25Smrgtest "$silent" = yes && exec 6>/dev/null 66716910e25Smrg 66816910e25Smrg 66916910e25Smrg# Find the source files, if location was not specified. 67016910e25Smrgif test -z "$srcdir"; then 67116910e25Smrg ac_srcdir_defaulted=yes 67216910e25Smrg # Try the directory containing this script, then its parent. 67316910e25Smrg ac_confdir=`(dirname "$0") 2>/dev/null || 67416910e25Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 67516910e25Smrg X"$0" : 'X\(//\)[^/]' \| \ 67616910e25Smrg X"$0" : 'X\(//\)$' \| \ 67716910e25Smrg X"$0" : 'X\(/\)' \| \ 67816910e25Smrg . : '\(.\)' 2>/dev/null || 67916910e25Smrgecho X"$0" | 68016910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 68116910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 68216910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 68316910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 68416910e25Smrg s/.*/./; q'` 68516910e25Smrg srcdir=$ac_confdir 68616910e25Smrg if test ! -r $srcdir/$ac_unique_file; then 68716910e25Smrg srcdir=.. 68816910e25Smrg fi 68916910e25Smrgelse 69016910e25Smrg ac_srcdir_defaulted=no 69116910e25Smrgfi 69216910e25Smrgif test ! -r $srcdir/$ac_unique_file; then 69316910e25Smrg if test "$ac_srcdir_defaulted" = yes; then 69416910e25Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 69516910e25Smrg { (exit 1); exit 1; }; } 69616910e25Smrg else 69716910e25Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 69816910e25Smrg { (exit 1); exit 1; }; } 69916910e25Smrg fi 70016910e25Smrgfi 70116910e25Smrg(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 70216910e25Smrg { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 70316910e25Smrg { (exit 1); exit 1; }; } 70416910e25Smrgsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 70516910e25Smrgac_env_build_alias_set=${build_alias+set} 70616910e25Smrgac_env_build_alias_value=$build_alias 70716910e25Smrgac_cv_env_build_alias_set=${build_alias+set} 70816910e25Smrgac_cv_env_build_alias_value=$build_alias 70916910e25Smrgac_env_host_alias_set=${host_alias+set} 71016910e25Smrgac_env_host_alias_value=$host_alias 71116910e25Smrgac_cv_env_host_alias_set=${host_alias+set} 71216910e25Smrgac_cv_env_host_alias_value=$host_alias 71316910e25Smrgac_env_target_alias_set=${target_alias+set} 71416910e25Smrgac_env_target_alias_value=$target_alias 71516910e25Smrgac_cv_env_target_alias_set=${target_alias+set} 71616910e25Smrgac_cv_env_target_alias_value=$target_alias 71716910e25Smrgac_env_CC_set=${CC+set} 71816910e25Smrgac_env_CC_value=$CC 71916910e25Smrgac_cv_env_CC_set=${CC+set} 72016910e25Smrgac_cv_env_CC_value=$CC 72116910e25Smrgac_env_CFLAGS_set=${CFLAGS+set} 72216910e25Smrgac_env_CFLAGS_value=$CFLAGS 72316910e25Smrgac_cv_env_CFLAGS_set=${CFLAGS+set} 72416910e25Smrgac_cv_env_CFLAGS_value=$CFLAGS 72516910e25Smrgac_env_LDFLAGS_set=${LDFLAGS+set} 72616910e25Smrgac_env_LDFLAGS_value=$LDFLAGS 72716910e25Smrgac_cv_env_LDFLAGS_set=${LDFLAGS+set} 72816910e25Smrgac_cv_env_LDFLAGS_value=$LDFLAGS 72916910e25Smrgac_env_CPPFLAGS_set=${CPPFLAGS+set} 73016910e25Smrgac_env_CPPFLAGS_value=$CPPFLAGS 73116910e25Smrgac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 73216910e25Smrgac_cv_env_CPPFLAGS_value=$CPPFLAGS 73316910e25Smrgac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 73416910e25Smrgac_env_PKG_CONFIG_value=$PKG_CONFIG 73516910e25Smrgac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 73616910e25Smrgac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 73716910e25Smrgac_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set} 73816910e25Smrgac_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS 73916910e25Smrgac_cv_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set} 74016910e25Smrgac_cv_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS 74116910e25Smrgac_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set} 74216910e25Smrgac_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS 74316910e25Smrgac_cv_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set} 74416910e25Smrgac_cv_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS 74516910e25Smrgac_env_XPRINT_UTIL_CFLAGS_set=${XPRINT_UTIL_CFLAGS+set} 74616910e25Smrgac_env_XPRINT_UTIL_CFLAGS_value=$XPRINT_UTIL_CFLAGS 74716910e25Smrgac_cv_env_XPRINT_UTIL_CFLAGS_set=${XPRINT_UTIL_CFLAGS+set} 74816910e25Smrgac_cv_env_XPRINT_UTIL_CFLAGS_value=$XPRINT_UTIL_CFLAGS 74916910e25Smrgac_env_XPRINT_UTIL_LIBS_set=${XPRINT_UTIL_LIBS+set} 75016910e25Smrgac_env_XPRINT_UTIL_LIBS_value=$XPRINT_UTIL_LIBS 75116910e25Smrgac_cv_env_XPRINT_UTIL_LIBS_set=${XPRINT_UTIL_LIBS+set} 75216910e25Smrgac_cv_env_XPRINT_UTIL_LIBS_value=$XPRINT_UTIL_LIBS 75316910e25Smrgac_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set} 75416910e25Smrgac_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS 75516910e25Smrgac_cv_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set} 75616910e25Smrgac_cv_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS 75716910e25Smrgac_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set} 75816910e25Smrgac_env_APPDEFS_LIBS_value=$APPDEFS_LIBS 75916910e25Smrgac_cv_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set} 76016910e25Smrgac_cv_env_APPDEFS_LIBS_value=$APPDEFS_LIBS 76116910e25Smrg 76216910e25Smrg# 76316910e25Smrg# Report the --help message. 76416910e25Smrg# 76516910e25Smrgif test "$ac_init_help" = "long"; then 76616910e25Smrg # Omit some internal or obsolete options to make the list less imposing. 76716910e25Smrg # This message is too long to be a string in the A/UX 3.1 sh. 76816910e25Smrg cat <<_ACEOF 76916910e25Smrg\`configure' configures xmore 1.0.1 to adapt to many kinds of systems. 77016910e25Smrg 77116910e25SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 77216910e25Smrg 77316910e25SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 77416910e25SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 77516910e25Smrg 77616910e25SmrgDefaults for the options are specified in brackets. 77716910e25Smrg 77816910e25SmrgConfiguration: 77916910e25Smrg -h, --help display this help and exit 78016910e25Smrg --help=short display options specific to this package 78116910e25Smrg --help=recursive display the short help of all the included packages 78216910e25Smrg -V, --version display version information and exit 78316910e25Smrg -q, --quiet, --silent do not print \`checking...' messages 78416910e25Smrg --cache-file=FILE cache test results in FILE [disabled] 78516910e25Smrg -C, --config-cache alias for \`--cache-file=config.cache' 78616910e25Smrg -n, --no-create do not create output files 78716910e25Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 78816910e25Smrg 78916910e25Smrg_ACEOF 79016910e25Smrg 79116910e25Smrg cat <<_ACEOF 79216910e25SmrgInstallation directories: 79316910e25Smrg --prefix=PREFIX install architecture-independent files in PREFIX 79416910e25Smrg [$ac_default_prefix] 79516910e25Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 79616910e25Smrg [PREFIX] 79716910e25Smrg 79816910e25SmrgBy default, \`make install' will install all the files in 79916910e25Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 80016910e25Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 80116910e25Smrgfor instance \`--prefix=\$HOME'. 80216910e25Smrg 80316910e25SmrgFor better control, use the options below. 80416910e25Smrg 80516910e25SmrgFine tuning of the installation directories: 80616910e25Smrg --bindir=DIR user executables [EPREFIX/bin] 80716910e25Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 80816910e25Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 80916910e25Smrg --datadir=DIR read-only architecture-independent data [PREFIX/share] 81016910e25Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 81116910e25Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 81216910e25Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 81316910e25Smrg --libdir=DIR object code libraries [EPREFIX/lib] 81416910e25Smrg --includedir=DIR C header files [PREFIX/include] 81516910e25Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 81616910e25Smrg --infodir=DIR info documentation [PREFIX/info] 81716910e25Smrg --mandir=DIR man documentation [PREFIX/man] 81816910e25Smrg_ACEOF 81916910e25Smrg 82016910e25Smrg cat <<\_ACEOF 82116910e25Smrg 82216910e25SmrgProgram names: 82316910e25Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 82416910e25Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 82516910e25Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 82616910e25Smrg 82716910e25SmrgSystem types: 82816910e25Smrg --build=BUILD configure for building on BUILD [guessed] 82916910e25Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 83016910e25Smrg_ACEOF 83116910e25Smrgfi 83216910e25Smrg 83316910e25Smrgif test -n "$ac_init_help"; then 83416910e25Smrg case $ac_init_help in 83516910e25Smrg short | recursive ) echo "Configuration of xmore 1.0.1:";; 83616910e25Smrg esac 83716910e25Smrg cat <<\_ACEOF 83816910e25Smrg 83916910e25SmrgOptional Features: 84016910e25Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 84116910e25Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 84216910e25Smrg --enable-maintainer-mode enable make rules and dependencies not useful 84316910e25Smrg (and sometimes confusing) to the casual installer 84416910e25Smrg --disable-dependency-tracking Speeds up one-time builds 84516910e25Smrg --enable-dependency-tracking Do not reject slow dependency extractors 84616910e25Smrg --enable-xprint Enable XPrint support 84716910e25Smrg 84816910e25SmrgOptional Packages: 84916910e25Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 85016910e25Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 85116910e25Smrg --with-release-version=STRING 85216910e25Smrg Use release version string in package name 85316910e25Smrg 85416910e25SmrgSome influential environment variables: 85516910e25Smrg CC C compiler command 85616910e25Smrg CFLAGS C compiler flags 85716910e25Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 85816910e25Smrg nonstandard directory <lib dir> 85916910e25Smrg CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 86016910e25Smrg headers in a nonstandard directory <include dir> 86116910e25Smrg PKG_CONFIG path to pkg-config utility 86216910e25Smrg TMP_XAW_CFLAGS 86316910e25Smrg C compiler flags for TMP_XAW, overriding pkg-config 86416910e25Smrg TMP_XAW_LIBS 86516910e25Smrg linker flags for TMP_XAW, overriding pkg-config 86616910e25Smrg XPRINT_UTIL_CFLAGS 86716910e25Smrg C compiler flags for XPRINT_UTIL, overriding pkg-config 86816910e25Smrg XPRINT_UTIL_LIBS 86916910e25Smrg linker flags for XPRINT_UTIL, overriding pkg-config 87016910e25Smrg APPDEFS_CFLAGS 87116910e25Smrg C compiler flags for APPDEFS, overriding pkg-config 87216910e25Smrg APPDEFS_LIBS 87316910e25Smrg linker flags for APPDEFS, overriding pkg-config 87416910e25Smrg 87516910e25SmrgUse these variables to override the choices made by `configure' or to help 87616910e25Smrgit to find libraries and programs with nonstandard names/locations. 87716910e25Smrg 87816910e25SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 87916910e25Smrg_ACEOF 88016910e25Smrgfi 88116910e25Smrg 88216910e25Smrgif test "$ac_init_help" = "recursive"; then 88316910e25Smrg # If there are subdirs, report their specific --help. 88416910e25Smrg ac_popdir=`pwd` 88516910e25Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 88616910e25Smrg test -d $ac_dir || continue 88716910e25Smrg ac_builddir=. 88816910e25Smrg 88916910e25Smrgif test "$ac_dir" != .; then 89016910e25Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 89116910e25Smrg # A "../" for each directory in $ac_dir_suffix. 89216910e25Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 89316910e25Smrgelse 89416910e25Smrg ac_dir_suffix= ac_top_builddir= 89516910e25Smrgfi 89616910e25Smrg 89716910e25Smrgcase $srcdir in 89816910e25Smrg .) # No --srcdir option. We are building in place. 89916910e25Smrg ac_srcdir=. 90016910e25Smrg if test -z "$ac_top_builddir"; then 90116910e25Smrg ac_top_srcdir=. 90216910e25Smrg else 90316910e25Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 90416910e25Smrg fi ;; 90516910e25Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 90616910e25Smrg ac_srcdir=$srcdir$ac_dir_suffix; 90716910e25Smrg ac_top_srcdir=$srcdir ;; 90816910e25Smrg *) # Relative path. 90916910e25Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 91016910e25Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 91116910e25Smrgesac 91216910e25Smrg 91316910e25Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 91416910e25Smrg# the directories may not exist. 91516910e25Smrgcase `pwd` in 91616910e25Smrg.) ac_abs_builddir="$ac_dir";; 91716910e25Smrg*) 91816910e25Smrg case "$ac_dir" in 91916910e25Smrg .) ac_abs_builddir=`pwd`;; 92016910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 92116910e25Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 92216910e25Smrg esac;; 92316910e25Smrgesac 92416910e25Smrgcase $ac_abs_builddir in 92516910e25Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 92616910e25Smrg*) 92716910e25Smrg case ${ac_top_builddir}. in 92816910e25Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 92916910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 93016910e25Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 93116910e25Smrg esac;; 93216910e25Smrgesac 93316910e25Smrgcase $ac_abs_builddir in 93416910e25Smrg.) ac_abs_srcdir=$ac_srcdir;; 93516910e25Smrg*) 93616910e25Smrg case $ac_srcdir in 93716910e25Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 93816910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 93916910e25Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 94016910e25Smrg esac;; 94116910e25Smrgesac 94216910e25Smrgcase $ac_abs_builddir in 94316910e25Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 94416910e25Smrg*) 94516910e25Smrg case $ac_top_srcdir in 94616910e25Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 94716910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 94816910e25Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 94916910e25Smrg esac;; 95016910e25Smrgesac 95116910e25Smrg 95216910e25Smrg cd $ac_dir 95316910e25Smrg # Check for guested configure; otherwise get Cygnus style configure. 95416910e25Smrg if test -f $ac_srcdir/configure.gnu; then 95516910e25Smrg echo 95616910e25Smrg $SHELL $ac_srcdir/configure.gnu --help=recursive 95716910e25Smrg elif test -f $ac_srcdir/configure; then 95816910e25Smrg echo 95916910e25Smrg $SHELL $ac_srcdir/configure --help=recursive 96016910e25Smrg elif test -f $ac_srcdir/configure.ac || 96116910e25Smrg test -f $ac_srcdir/configure.in; then 96216910e25Smrg echo 96316910e25Smrg $ac_configure --help 96416910e25Smrg else 96516910e25Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 96616910e25Smrg fi 96716910e25Smrg cd $ac_popdir 96816910e25Smrg done 96916910e25Smrgfi 97016910e25Smrg 97116910e25Smrgtest -n "$ac_init_help" && exit 0 97216910e25Smrgif $ac_init_version; then 97316910e25Smrg cat <<\_ACEOF 97416910e25Smrgxmore configure 1.0.1 97516910e25Smrggenerated by GNU Autoconf 2.59 97616910e25Smrg 97716910e25SmrgCopyright (C) 2003 Free Software Foundation, Inc. 97816910e25SmrgThis configure script is free software; the Free Software Foundation 97916910e25Smrggives unlimited permission to copy, distribute and modify it. 98016910e25Smrg_ACEOF 98116910e25Smrg exit 0 98216910e25Smrgfi 98316910e25Smrgexec 5>config.log 98416910e25Smrgcat >&5 <<_ACEOF 98516910e25SmrgThis file contains any messages produced by compilers while 98616910e25Smrgrunning configure, to aid debugging if configure makes a mistake. 98716910e25Smrg 98816910e25SmrgIt was created by xmore $as_me 1.0.1, which was 98916910e25Smrggenerated by GNU Autoconf 2.59. Invocation command line was 99016910e25Smrg 99116910e25Smrg $ $0 $@ 99216910e25Smrg 99316910e25Smrg_ACEOF 99416910e25Smrg{ 99516910e25Smrgcat <<_ASUNAME 99616910e25Smrg## --------- ## 99716910e25Smrg## Platform. ## 99816910e25Smrg## --------- ## 99916910e25Smrg 100016910e25Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 100116910e25Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 100216910e25Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 100316910e25Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 100416910e25Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 100516910e25Smrg 100616910e25Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 100716910e25Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 100816910e25Smrg 100916910e25Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 101016910e25Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 101116910e25Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 101216910e25Smrghostinfo = `(hostinfo) 2>/dev/null || echo unknown` 101316910e25Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 101416910e25Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 101516910e25Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 101616910e25Smrg 101716910e25Smrg_ASUNAME 101816910e25Smrg 101916910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 102016910e25Smrgfor as_dir in $PATH 102116910e25Smrgdo 102216910e25Smrg IFS=$as_save_IFS 102316910e25Smrg test -z "$as_dir" && as_dir=. 102416910e25Smrg echo "PATH: $as_dir" 102516910e25Smrgdone 102616910e25Smrg 102716910e25Smrg} >&5 102816910e25Smrg 102916910e25Smrgcat >&5 <<_ACEOF 103016910e25Smrg 103116910e25Smrg 103216910e25Smrg## ----------- ## 103316910e25Smrg## Core tests. ## 103416910e25Smrg## ----------- ## 103516910e25Smrg 103616910e25Smrg_ACEOF 103716910e25Smrg 103816910e25Smrg 103916910e25Smrg# Keep a trace of the command line. 104016910e25Smrg# Strip out --no-create and --no-recursion so they do not pile up. 104116910e25Smrg# Strip out --silent because we don't want to record it for future runs. 104216910e25Smrg# Also quote any args containing shell meta-characters. 104316910e25Smrg# Make two passes to allow for proper duplicate-argument suppression. 104416910e25Smrgac_configure_args= 104516910e25Smrgac_configure_args0= 104616910e25Smrgac_configure_args1= 104716910e25Smrgac_sep= 104816910e25Smrgac_must_keep_next=false 104916910e25Smrgfor ac_pass in 1 2 105016910e25Smrgdo 105116910e25Smrg for ac_arg 105216910e25Smrg do 105316910e25Smrg case $ac_arg in 105416910e25Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 105516910e25Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 105616910e25Smrg | -silent | --silent | --silen | --sile | --sil) 105716910e25Smrg continue ;; 105816910e25Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 105916910e25Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 106016910e25Smrg esac 106116910e25Smrg case $ac_pass in 106216910e25Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 106316910e25Smrg 2) 106416910e25Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 106516910e25Smrg if test $ac_must_keep_next = true; then 106616910e25Smrg ac_must_keep_next=false # Got value, back to normal. 106716910e25Smrg else 106816910e25Smrg case $ac_arg in 106916910e25Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 107016910e25Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 107116910e25Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 107216910e25Smrg | -with-* | --with-* | -without-* | --without-* | --x) 107316910e25Smrg case "$ac_configure_args0 " in 107416910e25Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 107516910e25Smrg esac 107616910e25Smrg ;; 107716910e25Smrg -* ) ac_must_keep_next=true ;; 107816910e25Smrg esac 107916910e25Smrg fi 108016910e25Smrg ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 108116910e25Smrg # Get rid of the leading space. 108216910e25Smrg ac_sep=" " 108316910e25Smrg ;; 108416910e25Smrg esac 108516910e25Smrg done 108616910e25Smrgdone 108716910e25Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 108816910e25Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 108916910e25Smrg 109016910e25Smrg# When interrupted or exit'd, cleanup temporary files, and complete 109116910e25Smrg# config.log. We remove comments because anyway the quotes in there 109216910e25Smrg# would cause problems or look ugly. 109316910e25Smrg# WARNING: Be sure not to use single quotes in there, as some shells, 109416910e25Smrg# such as our DU 5.0 friend, will then `close' the trap. 109516910e25Smrgtrap 'exit_status=$? 109616910e25Smrg # Save into config.log some information that might help in debugging. 109716910e25Smrg { 109816910e25Smrg echo 109916910e25Smrg 110016910e25Smrg cat <<\_ASBOX 110116910e25Smrg## ---------------- ## 110216910e25Smrg## Cache variables. ## 110316910e25Smrg## ---------------- ## 110416910e25Smrg_ASBOX 110516910e25Smrg echo 110616910e25Smrg # The following way of writing the cache mishandles newlines in values, 110716910e25Smrg{ 110816910e25Smrg (set) 2>&1 | 110916910e25Smrg case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 111016910e25Smrg *ac_space=\ *) 111116910e25Smrg sed -n \ 111216910e25Smrg "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 111316910e25Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 111416910e25Smrg ;; 111516910e25Smrg *) 111616910e25Smrg sed -n \ 111716910e25Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 111816910e25Smrg ;; 111916910e25Smrg esac; 112016910e25Smrg} 112116910e25Smrg echo 112216910e25Smrg 112316910e25Smrg cat <<\_ASBOX 112416910e25Smrg## ----------------- ## 112516910e25Smrg## Output variables. ## 112616910e25Smrg## ----------------- ## 112716910e25Smrg_ASBOX 112816910e25Smrg echo 112916910e25Smrg for ac_var in $ac_subst_vars 113016910e25Smrg do 113116910e25Smrg eval ac_val=$`echo $ac_var` 113216910e25Smrg echo "$ac_var='"'"'$ac_val'"'"'" 113316910e25Smrg done | sort 113416910e25Smrg echo 113516910e25Smrg 113616910e25Smrg if test -n "$ac_subst_files"; then 113716910e25Smrg cat <<\_ASBOX 113816910e25Smrg## ------------- ## 113916910e25Smrg## Output files. ## 114016910e25Smrg## ------------- ## 114116910e25Smrg_ASBOX 114216910e25Smrg echo 114316910e25Smrg for ac_var in $ac_subst_files 114416910e25Smrg do 114516910e25Smrg eval ac_val=$`echo $ac_var` 114616910e25Smrg echo "$ac_var='"'"'$ac_val'"'"'" 114716910e25Smrg done | sort 114816910e25Smrg echo 114916910e25Smrg fi 115016910e25Smrg 115116910e25Smrg if test -s confdefs.h; then 115216910e25Smrg cat <<\_ASBOX 115316910e25Smrg## ----------- ## 115416910e25Smrg## confdefs.h. ## 115516910e25Smrg## ----------- ## 115616910e25Smrg_ASBOX 115716910e25Smrg echo 115816910e25Smrg sed "/^$/d" confdefs.h | sort 115916910e25Smrg echo 116016910e25Smrg fi 116116910e25Smrg test "$ac_signal" != 0 && 116216910e25Smrg echo "$as_me: caught signal $ac_signal" 116316910e25Smrg echo "$as_me: exit $exit_status" 116416910e25Smrg } >&5 116516910e25Smrg rm -f core *.core && 116616910e25Smrg rm -rf conftest* confdefs* conf$$* $ac_clean_files && 116716910e25Smrg exit $exit_status 116816910e25Smrg ' 0 116916910e25Smrgfor ac_signal in 1 2 13 15; do 117016910e25Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 117116910e25Smrgdone 117216910e25Smrgac_signal=0 117316910e25Smrg 117416910e25Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 117516910e25Smrgrm -rf conftest* confdefs.h 117616910e25Smrg# AIX cpp loses on an empty file, so make sure it contains at least a newline. 117716910e25Smrgecho >confdefs.h 117816910e25Smrg 117916910e25Smrg# Predefined preprocessor variables. 118016910e25Smrg 118116910e25Smrgcat >>confdefs.h <<_ACEOF 118216910e25Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 118316910e25Smrg_ACEOF 118416910e25Smrg 118516910e25Smrg 118616910e25Smrgcat >>confdefs.h <<_ACEOF 118716910e25Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 118816910e25Smrg_ACEOF 118916910e25Smrg 119016910e25Smrg 119116910e25Smrgcat >>confdefs.h <<_ACEOF 119216910e25Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 119316910e25Smrg_ACEOF 119416910e25Smrg 119516910e25Smrg 119616910e25Smrgcat >>confdefs.h <<_ACEOF 119716910e25Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 119816910e25Smrg_ACEOF 119916910e25Smrg 120016910e25Smrg 120116910e25Smrgcat >>confdefs.h <<_ACEOF 120216910e25Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 120316910e25Smrg_ACEOF 120416910e25Smrg 120516910e25Smrg 120616910e25Smrg# Let the site file select an alternate cache file if it wants to. 120716910e25Smrg# Prefer explicitly selected file to automatically selected ones. 120816910e25Smrgif test -z "$CONFIG_SITE"; then 120916910e25Smrg if test "x$prefix" != xNONE; then 121016910e25Smrg CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 121116910e25Smrg else 121216910e25Smrg CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 121316910e25Smrg fi 121416910e25Smrgfi 121516910e25Smrgfor ac_site_file in $CONFIG_SITE; do 121616910e25Smrg if test -r "$ac_site_file"; then 121716910e25Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 121816910e25Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 121916910e25Smrg sed 's/^/| /' "$ac_site_file" >&5 122016910e25Smrg . "$ac_site_file" 122116910e25Smrg fi 122216910e25Smrgdone 122316910e25Smrg 122416910e25Smrgif test -r "$cache_file"; then 122516910e25Smrg # Some versions of bash will fail to source /dev/null (special 122616910e25Smrg # files actually), so we avoid doing that. 122716910e25Smrg if test -f "$cache_file"; then 122816910e25Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 122916910e25Smrgecho "$as_me: loading cache $cache_file" >&6;} 123016910e25Smrg case $cache_file in 123116910e25Smrg [\\/]* | ?:[\\/]* ) . $cache_file;; 123216910e25Smrg *) . ./$cache_file;; 123316910e25Smrg esac 123416910e25Smrg fi 123516910e25Smrgelse 123616910e25Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 123716910e25Smrgecho "$as_me: creating cache $cache_file" >&6;} 123816910e25Smrg >$cache_file 123916910e25Smrgfi 124016910e25Smrg 124116910e25Smrg# Check that the precious variables saved in the cache have kept the same 124216910e25Smrg# value. 124316910e25Smrgac_cache_corrupted=false 124416910e25Smrgfor ac_var in `(set) 2>&1 | 124516910e25Smrg sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 124616910e25Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 124716910e25Smrg eval ac_new_set=\$ac_env_${ac_var}_set 124816910e25Smrg eval ac_old_val="\$ac_cv_env_${ac_var}_value" 124916910e25Smrg eval ac_new_val="\$ac_env_${ac_var}_value" 125016910e25Smrg case $ac_old_set,$ac_new_set in 125116910e25Smrg set,) 125216910e25Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 125316910e25Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 125416910e25Smrg ac_cache_corrupted=: ;; 125516910e25Smrg ,set) 125616910e25Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 125716910e25Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 125816910e25Smrg ac_cache_corrupted=: ;; 125916910e25Smrg ,);; 126016910e25Smrg *) 126116910e25Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 126216910e25Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 126316910e25Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 126416910e25Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 126516910e25Smrgecho "$as_me: former value: $ac_old_val" >&2;} 126616910e25Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 126716910e25Smrgecho "$as_me: current value: $ac_new_val" >&2;} 126816910e25Smrg ac_cache_corrupted=: 126916910e25Smrg fi;; 127016910e25Smrg esac 127116910e25Smrg # Pass precious variables to config.status. 127216910e25Smrg if test "$ac_new_set" = set; then 127316910e25Smrg case $ac_new_val in 127416910e25Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 127516910e25Smrg ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 127616910e25Smrg *) ac_arg=$ac_var=$ac_new_val ;; 127716910e25Smrg esac 127816910e25Smrg case " $ac_configure_args " in 127916910e25Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 128016910e25Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 128116910e25Smrg esac 128216910e25Smrg fi 128316910e25Smrgdone 128416910e25Smrgif $ac_cache_corrupted; then 128516910e25Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 128616910e25Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 128716910e25Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 128816910e25Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 128916910e25Smrg { (exit 1); exit 1; }; } 129016910e25Smrgfi 129116910e25Smrg 129216910e25Smrgac_ext=c 129316910e25Smrgac_cpp='$CPP $CPPFLAGS' 129416910e25Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 129516910e25Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 129616910e25Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 129716910e25Smrg 129816910e25Smrg 129916910e25Smrg 130016910e25Smrg 130116910e25Smrg 130216910e25Smrg 130316910e25Smrg 130416910e25Smrg 130516910e25Smrg 130616910e25Smrg 130716910e25Smrg 130816910e25Smrg 130916910e25Smrg 131016910e25Smrg 131116910e25Smrg 131216910e25Smrg 131316910e25Smrg 131416910e25Smrg 131516910e25Smrg 131616910e25Smrg 131716910e25Smrg 131816910e25Smrg 131916910e25Smrg 132016910e25Smrg 132116910e25Smrg 132216910e25Smrg 132316910e25Smrg 132416910e25Smrgam__api_version="1.7" 132516910e25Smrgac_aux_dir= 132616910e25Smrgfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 132716910e25Smrg if test -f $ac_dir/install-sh; then 132816910e25Smrg ac_aux_dir=$ac_dir 132916910e25Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 133016910e25Smrg break 133116910e25Smrg elif test -f $ac_dir/install.sh; then 133216910e25Smrg ac_aux_dir=$ac_dir 133316910e25Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 133416910e25Smrg break 133516910e25Smrg elif test -f $ac_dir/shtool; then 133616910e25Smrg ac_aux_dir=$ac_dir 133716910e25Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 133816910e25Smrg break 133916910e25Smrg fi 134016910e25Smrgdone 134116910e25Smrgif test -z "$ac_aux_dir"; then 134216910e25Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 134316910e25Smrgecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 134416910e25Smrg { (exit 1); exit 1; }; } 134516910e25Smrgfi 134616910e25Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" 134716910e25Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" 134816910e25Smrgac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 134916910e25Smrg 135016910e25Smrg# Find a good install program. We prefer a C program (faster), 135116910e25Smrg# so one script is as good as another. But avoid the broken or 135216910e25Smrg# incompatible versions: 135316910e25Smrg# SysV /etc/install, /usr/sbin/install 135416910e25Smrg# SunOS /usr/etc/install 135516910e25Smrg# IRIX /sbin/install 135616910e25Smrg# AIX /bin/install 135716910e25Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 135816910e25Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 135916910e25Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 136016910e25Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 136116910e25Smrg# OS/2's system install, which has a completely different semantic 136216910e25Smrg# ./install, which can be erroneously created by make from ./install.sh. 136316910e25Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 136416910e25Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 136516910e25Smrgif test -z "$INSTALL"; then 136616910e25Smrgif test "${ac_cv_path_install+set}" = set; then 136716910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 136816910e25Smrgelse 136916910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 137016910e25Smrgfor as_dir in $PATH 137116910e25Smrgdo 137216910e25Smrg IFS=$as_save_IFS 137316910e25Smrg test -z "$as_dir" && as_dir=. 137416910e25Smrg # Account for people who put trailing slashes in PATH elements. 137516910e25Smrgcase $as_dir/ in 137616910e25Smrg ./ | .// | /cC/* | \ 137716910e25Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 137816910e25Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 137916910e25Smrg /usr/ucb/* ) ;; 138016910e25Smrg *) 138116910e25Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 138216910e25Smrg # Don't use installbsd from OSF since it installs stuff as root 138316910e25Smrg # by default. 138416910e25Smrg for ac_prog in ginstall scoinst install; do 138516910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 138616910e25Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 138716910e25Smrg if test $ac_prog = install && 138816910e25Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 138916910e25Smrg # AIX install. It has an incompatible calling convention. 139016910e25Smrg : 139116910e25Smrg elif test $ac_prog = install && 139216910e25Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 139316910e25Smrg # program-specific install script used by HP pwplus--don't use. 139416910e25Smrg : 139516910e25Smrg else 139616910e25Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 139716910e25Smrg break 3 139816910e25Smrg fi 139916910e25Smrg fi 140016910e25Smrg done 140116910e25Smrg done 140216910e25Smrg ;; 140316910e25Smrgesac 140416910e25Smrgdone 140516910e25Smrg 140616910e25Smrg 140716910e25Smrgfi 140816910e25Smrg if test "${ac_cv_path_install+set}" = set; then 140916910e25Smrg INSTALL=$ac_cv_path_install 141016910e25Smrg else 141116910e25Smrg # As a last resort, use the slow shell script. We don't cache a 141216910e25Smrg # path for INSTALL within a source directory, because that will 141316910e25Smrg # break other packages using the cache if that directory is 141416910e25Smrg # removed, or if the path is relative. 141516910e25Smrg INSTALL=$ac_install_sh 141616910e25Smrg fi 141716910e25Smrgfi 141816910e25Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 141916910e25Smrgecho "${ECHO_T}$INSTALL" >&6 142016910e25Smrg 142116910e25Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 142216910e25Smrg# It thinks the first close brace ends the variable substitution. 142316910e25Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 142416910e25Smrg 142516910e25Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 142616910e25Smrg 142716910e25Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 142816910e25Smrg 142916910e25Smrgecho "$as_me:$LINENO: checking whether build environment is sane" >&5 143016910e25Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 143116910e25Smrg# Just in case 143216910e25Smrgsleep 1 143316910e25Smrgecho timestamp > conftest.file 143416910e25Smrg# Do `set' in a subshell so we don't clobber the current shell's 143516910e25Smrg# arguments. Must try -L first in case configure is actually a 143616910e25Smrg# symlink; some systems play weird games with the mod time of symlinks 143716910e25Smrg# (eg FreeBSD returns the mod time of the symlink's containing 143816910e25Smrg# directory). 143916910e25Smrgif ( 144016910e25Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 144116910e25Smrg if test "$*" = "X"; then 144216910e25Smrg # -L didn't work. 144316910e25Smrg set X `ls -t $srcdir/configure conftest.file` 144416910e25Smrg fi 144516910e25Smrg rm -f conftest.file 144616910e25Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 144716910e25Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 144816910e25Smrg 144916910e25Smrg # If neither matched, then we have a broken ls. This can happen 145016910e25Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 145116910e25Smrg # broken ls alias from the environment. This has actually 145216910e25Smrg # happened. Such a system could not be considered "sane". 145316910e25Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 145416910e25Smrgalias in your environment" >&5 145516910e25Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 145616910e25Smrgalias in your environment" >&2;} 145716910e25Smrg { (exit 1); exit 1; }; } 145816910e25Smrg fi 145916910e25Smrg 146016910e25Smrg test "$2" = conftest.file 146116910e25Smrg ) 146216910e25Smrgthen 146316910e25Smrg # Ok. 146416910e25Smrg : 146516910e25Smrgelse 146616910e25Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 146716910e25SmrgCheck your system clock" >&5 146816910e25Smrgecho "$as_me: error: newly created file is older than distributed files! 146916910e25SmrgCheck your system clock" >&2;} 147016910e25Smrg { (exit 1); exit 1; }; } 147116910e25Smrgfi 147216910e25Smrgecho "$as_me:$LINENO: result: yes" >&5 147316910e25Smrgecho "${ECHO_T}yes" >&6 147416910e25Smrgtest "$program_prefix" != NONE && 147516910e25Smrg program_transform_name="s,^,$program_prefix,;$program_transform_name" 147616910e25Smrg# Use a double $ so make ignores it. 147716910e25Smrgtest "$program_suffix" != NONE && 147816910e25Smrg program_transform_name="s,\$,$program_suffix,;$program_transform_name" 147916910e25Smrg# Double any \ or $. echo might interpret backslashes. 148016910e25Smrg# By default was `s,x,x', remove it if useless. 148116910e25Smrgcat <<\_ACEOF >conftest.sed 148216910e25Smrgs/[\\$]/&&/g;s/;s,x,x,$// 148316910e25Smrg_ACEOF 148416910e25Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 148516910e25Smrgrm conftest.sed 148616910e25Smrg 148716910e25Smrg 148816910e25Smrg# expand $ac_aux_dir to an absolute path 148916910e25Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 149016910e25Smrg 149116910e25Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 149216910e25Smrg# Use eval to expand $SHELL 149316910e25Smrgif eval "$MISSING --run true"; then 149416910e25Smrg am_missing_run="$MISSING --run " 149516910e25Smrgelse 149616910e25Smrg am_missing_run= 149716910e25Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 149816910e25Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 149916910e25Smrgfi 150016910e25Smrg 150116910e25Smrgfor ac_prog in gawk mawk nawk awk 150216910e25Smrgdo 150316910e25Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 150416910e25Smrgset dummy $ac_prog; ac_word=$2 150516910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 150616910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 150716910e25Smrgif test "${ac_cv_prog_AWK+set}" = set; then 150816910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 150916910e25Smrgelse 151016910e25Smrg if test -n "$AWK"; then 151116910e25Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 151216910e25Smrgelse 151316910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 151416910e25Smrgfor as_dir in $PATH 151516910e25Smrgdo 151616910e25Smrg IFS=$as_save_IFS 151716910e25Smrg test -z "$as_dir" && as_dir=. 151816910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 151916910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 152016910e25Smrg ac_cv_prog_AWK="$ac_prog" 152116910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 152216910e25Smrg break 2 152316910e25Smrg fi 152416910e25Smrgdone 152516910e25Smrgdone 152616910e25Smrg 152716910e25Smrgfi 152816910e25Smrgfi 152916910e25SmrgAWK=$ac_cv_prog_AWK 153016910e25Smrgif test -n "$AWK"; then 153116910e25Smrg echo "$as_me:$LINENO: result: $AWK" >&5 153216910e25Smrgecho "${ECHO_T}$AWK" >&6 153316910e25Smrgelse 153416910e25Smrg echo "$as_me:$LINENO: result: no" >&5 153516910e25Smrgecho "${ECHO_T}no" >&6 153616910e25Smrgfi 153716910e25Smrg 153816910e25Smrg test -n "$AWK" && break 153916910e25Smrgdone 154016910e25Smrg 154116910e25Smrgecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 154216910e25Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 154316910e25Smrgset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 154416910e25Smrgif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 154516910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 154616910e25Smrgelse 154716910e25Smrg cat >conftest.make <<\_ACEOF 154816910e25Smrgall: 154916910e25Smrg @echo 'ac_maketemp="$(MAKE)"' 155016910e25Smrg_ACEOF 155116910e25Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 155216910e25Smrgeval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 155316910e25Smrgif test -n "$ac_maketemp"; then 155416910e25Smrg eval ac_cv_prog_make_${ac_make}_set=yes 155516910e25Smrgelse 155616910e25Smrg eval ac_cv_prog_make_${ac_make}_set=no 155716910e25Smrgfi 155816910e25Smrgrm -f conftest.make 155916910e25Smrgfi 156016910e25Smrgif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 156116910e25Smrg echo "$as_me:$LINENO: result: yes" >&5 156216910e25Smrgecho "${ECHO_T}yes" >&6 156316910e25Smrg SET_MAKE= 156416910e25Smrgelse 156516910e25Smrg echo "$as_me:$LINENO: result: no" >&5 156616910e25Smrgecho "${ECHO_T}no" >&6 156716910e25Smrg SET_MAKE="MAKE=${MAKE-make}" 156816910e25Smrgfi 156916910e25Smrg 157016910e25Smrgrm -rf .tst 2>/dev/null 157116910e25Smrgmkdir .tst 2>/dev/null 157216910e25Smrgif test -d .tst; then 157316910e25Smrg am__leading_dot=. 157416910e25Smrgelse 157516910e25Smrg am__leading_dot=_ 157616910e25Smrgfi 157716910e25Smrgrmdir .tst 2>/dev/null 157816910e25Smrg 157916910e25Smrg # test to see if srcdir already configured 158016910e25Smrgif test "`cd $srcdir && pwd`" != "`pwd`" && 158116910e25Smrg test -f $srcdir/config.status; then 158216910e25Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 158316910e25Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 158416910e25Smrg { (exit 1); exit 1; }; } 158516910e25Smrgfi 158616910e25Smrg 158716910e25Smrg# test whether we have cygpath 158816910e25Smrgif test -z "$CYGPATH_W"; then 158916910e25Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 159016910e25Smrg CYGPATH_W='cygpath -w' 159116910e25Smrg else 159216910e25Smrg CYGPATH_W=echo 159316910e25Smrg fi 159416910e25Smrgfi 159516910e25Smrg 159616910e25Smrg 159716910e25Smrg# Define the identity of the package. 159816910e25Smrg PACKAGE='xmore' 159916910e25Smrg VERSION='1.0.1' 160016910e25Smrg 160116910e25Smrg 160216910e25Smrgcat >>confdefs.h <<_ACEOF 160316910e25Smrg#define PACKAGE "$PACKAGE" 160416910e25Smrg_ACEOF 160516910e25Smrg 160616910e25Smrg 160716910e25Smrgcat >>confdefs.h <<_ACEOF 160816910e25Smrg#define VERSION "$VERSION" 160916910e25Smrg_ACEOF 161016910e25Smrg 161116910e25Smrg# Some tools Automake needs. 161216910e25Smrg 161316910e25SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 161416910e25Smrg 161516910e25Smrg 161616910e25SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 161716910e25Smrg 161816910e25Smrg 161916910e25SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 162016910e25Smrg 162116910e25Smrg 162216910e25SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 162316910e25Smrg 162416910e25Smrg 162516910e25SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 162616910e25Smrg 162716910e25Smrg 162816910e25SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 162916910e25Smrg 163016910e25Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"} 163116910e25Smrg 163216910e25Smrg# Installed binaries are usually stripped using `strip' when the user 163316910e25Smrg# run `make install-strip'. However `strip' might not be the right 163416910e25Smrg# tool to use in cross-compilation environments, therefore Automake 163516910e25Smrg# will honor the `STRIP' environment variable to overrule this program. 163616910e25Smrgif test "$cross_compiling" != no; then 163716910e25Smrg if test -n "$ac_tool_prefix"; then 163816910e25Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 163916910e25Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 164016910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 164116910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 164216910e25Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 164316910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 164416910e25Smrgelse 164516910e25Smrg if test -n "$STRIP"; then 164616910e25Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 164716910e25Smrgelse 164816910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 164916910e25Smrgfor as_dir in $PATH 165016910e25Smrgdo 165116910e25Smrg IFS=$as_save_IFS 165216910e25Smrg test -z "$as_dir" && as_dir=. 165316910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 165416910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 165516910e25Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 165616910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 165716910e25Smrg break 2 165816910e25Smrg fi 165916910e25Smrgdone 166016910e25Smrgdone 166116910e25Smrg 166216910e25Smrgfi 166316910e25Smrgfi 166416910e25SmrgSTRIP=$ac_cv_prog_STRIP 166516910e25Smrgif test -n "$STRIP"; then 166616910e25Smrg echo "$as_me:$LINENO: result: $STRIP" >&5 166716910e25Smrgecho "${ECHO_T}$STRIP" >&6 166816910e25Smrgelse 166916910e25Smrg echo "$as_me:$LINENO: result: no" >&5 167016910e25Smrgecho "${ECHO_T}no" >&6 167116910e25Smrgfi 167216910e25Smrg 167316910e25Smrgfi 167416910e25Smrgif test -z "$ac_cv_prog_STRIP"; then 167516910e25Smrg ac_ct_STRIP=$STRIP 167616910e25Smrg # Extract the first word of "strip", so it can be a program name with args. 167716910e25Smrgset dummy strip; ac_word=$2 167816910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 167916910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 168016910e25Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 168116910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 168216910e25Smrgelse 168316910e25Smrg if test -n "$ac_ct_STRIP"; then 168416910e25Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 168516910e25Smrgelse 168616910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 168716910e25Smrgfor as_dir in $PATH 168816910e25Smrgdo 168916910e25Smrg IFS=$as_save_IFS 169016910e25Smrg test -z "$as_dir" && as_dir=. 169116910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 169216910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 169316910e25Smrg ac_cv_prog_ac_ct_STRIP="strip" 169416910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 169516910e25Smrg break 2 169616910e25Smrg fi 169716910e25Smrgdone 169816910e25Smrgdone 169916910e25Smrg 170016910e25Smrg test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 170116910e25Smrgfi 170216910e25Smrgfi 170316910e25Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 170416910e25Smrgif test -n "$ac_ct_STRIP"; then 170516910e25Smrg echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 170616910e25Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6 170716910e25Smrgelse 170816910e25Smrg echo "$as_me:$LINENO: result: no" >&5 170916910e25Smrgecho "${ECHO_T}no" >&6 171016910e25Smrgfi 171116910e25Smrg 171216910e25Smrg STRIP=$ac_ct_STRIP 171316910e25Smrgelse 171416910e25Smrg STRIP="$ac_cv_prog_STRIP" 171516910e25Smrgfi 171616910e25Smrg 171716910e25Smrgfi 171816910e25SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 171916910e25Smrg 172016910e25Smrg# We need awk for the "check" target. The system "awk" is bad on 172116910e25Smrg# some platforms. 172216910e25Smrg 172316910e25Smrg 172416910e25Smrg 172516910e25Smrgecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 172616910e25Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 172716910e25Smrg # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 172816910e25Smrgif test "${enable_maintainer_mode+set}" = set; then 172916910e25Smrg enableval="$enable_maintainer_mode" 173016910e25Smrg USE_MAINTAINER_MODE=$enableval 173116910e25Smrgelse 173216910e25Smrg USE_MAINTAINER_MODE=no 173316910e25Smrgfi; 173416910e25Smrg echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 173516910e25Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6 173616910e25Smrg 173716910e25Smrg 173816910e25Smrgif test $USE_MAINTAINER_MODE = yes; then 173916910e25Smrg MAINTAINER_MODE_TRUE= 174016910e25Smrg MAINTAINER_MODE_FALSE='#' 174116910e25Smrgelse 174216910e25Smrg MAINTAINER_MODE_TRUE='#' 174316910e25Smrg MAINTAINER_MODE_FALSE= 174416910e25Smrgfi 174516910e25Smrg 174616910e25Smrg MAINT=$MAINTAINER_MODE_TRUE 174716910e25Smrg 174816910e25Smrg 174916910e25Smrg 175016910e25Smrg ac_config_headers="$ac_config_headers config.h" 175116910e25Smrg 175216910e25Smrg 175316910e25Smrgac_ext=c 175416910e25Smrgac_cpp='$CPP $CPPFLAGS' 175516910e25Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 175616910e25Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 175716910e25Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 175816910e25Smrgif test -n "$ac_tool_prefix"; then 175916910e25Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 176016910e25Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 176116910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 176216910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 176316910e25Smrgif test "${ac_cv_prog_CC+set}" = set; then 176416910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 176516910e25Smrgelse 176616910e25Smrg if test -n "$CC"; then 176716910e25Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 176816910e25Smrgelse 176916910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 177016910e25Smrgfor as_dir in $PATH 177116910e25Smrgdo 177216910e25Smrg IFS=$as_save_IFS 177316910e25Smrg test -z "$as_dir" && as_dir=. 177416910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 177516910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 177616910e25Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 177716910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 177816910e25Smrg break 2 177916910e25Smrg fi 178016910e25Smrgdone 178116910e25Smrgdone 178216910e25Smrg 178316910e25Smrgfi 178416910e25Smrgfi 178516910e25SmrgCC=$ac_cv_prog_CC 178616910e25Smrgif test -n "$CC"; then 178716910e25Smrg echo "$as_me:$LINENO: result: $CC" >&5 178816910e25Smrgecho "${ECHO_T}$CC" >&6 178916910e25Smrgelse 179016910e25Smrg echo "$as_me:$LINENO: result: no" >&5 179116910e25Smrgecho "${ECHO_T}no" >&6 179216910e25Smrgfi 179316910e25Smrg 179416910e25Smrgfi 179516910e25Smrgif test -z "$ac_cv_prog_CC"; then 179616910e25Smrg ac_ct_CC=$CC 179716910e25Smrg # Extract the first word of "gcc", so it can be a program name with args. 179816910e25Smrgset dummy gcc; ac_word=$2 179916910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 180016910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 180116910e25Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 180216910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 180316910e25Smrgelse 180416910e25Smrg if test -n "$ac_ct_CC"; then 180516910e25Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 180616910e25Smrgelse 180716910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 180816910e25Smrgfor as_dir in $PATH 180916910e25Smrgdo 181016910e25Smrg IFS=$as_save_IFS 181116910e25Smrg test -z "$as_dir" && as_dir=. 181216910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 181316910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 181416910e25Smrg ac_cv_prog_ac_ct_CC="gcc" 181516910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 181616910e25Smrg break 2 181716910e25Smrg fi 181816910e25Smrgdone 181916910e25Smrgdone 182016910e25Smrg 182116910e25Smrgfi 182216910e25Smrgfi 182316910e25Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 182416910e25Smrgif test -n "$ac_ct_CC"; then 182516910e25Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 182616910e25Smrgecho "${ECHO_T}$ac_ct_CC" >&6 182716910e25Smrgelse 182816910e25Smrg echo "$as_me:$LINENO: result: no" >&5 182916910e25Smrgecho "${ECHO_T}no" >&6 183016910e25Smrgfi 183116910e25Smrg 183216910e25Smrg CC=$ac_ct_CC 183316910e25Smrgelse 183416910e25Smrg CC="$ac_cv_prog_CC" 183516910e25Smrgfi 183616910e25Smrg 183716910e25Smrgif test -z "$CC"; then 183816910e25Smrg if test -n "$ac_tool_prefix"; then 183916910e25Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 184016910e25Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 184116910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 184216910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 184316910e25Smrgif test "${ac_cv_prog_CC+set}" = set; then 184416910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 184516910e25Smrgelse 184616910e25Smrg if test -n "$CC"; then 184716910e25Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 184816910e25Smrgelse 184916910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 185016910e25Smrgfor as_dir in $PATH 185116910e25Smrgdo 185216910e25Smrg IFS=$as_save_IFS 185316910e25Smrg test -z "$as_dir" && as_dir=. 185416910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 185516910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 185616910e25Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 185716910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 185816910e25Smrg break 2 185916910e25Smrg fi 186016910e25Smrgdone 186116910e25Smrgdone 186216910e25Smrg 186316910e25Smrgfi 186416910e25Smrgfi 186516910e25SmrgCC=$ac_cv_prog_CC 186616910e25Smrgif test -n "$CC"; then 186716910e25Smrg echo "$as_me:$LINENO: result: $CC" >&5 186816910e25Smrgecho "${ECHO_T}$CC" >&6 186916910e25Smrgelse 187016910e25Smrg echo "$as_me:$LINENO: result: no" >&5 187116910e25Smrgecho "${ECHO_T}no" >&6 187216910e25Smrgfi 187316910e25Smrg 187416910e25Smrgfi 187516910e25Smrgif test -z "$ac_cv_prog_CC"; then 187616910e25Smrg ac_ct_CC=$CC 187716910e25Smrg # Extract the first word of "cc", so it can be a program name with args. 187816910e25Smrgset dummy cc; ac_word=$2 187916910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 188016910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 188116910e25Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 188216910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 188316910e25Smrgelse 188416910e25Smrg if test -n "$ac_ct_CC"; then 188516910e25Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 188616910e25Smrgelse 188716910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 188816910e25Smrgfor as_dir in $PATH 188916910e25Smrgdo 189016910e25Smrg IFS=$as_save_IFS 189116910e25Smrg test -z "$as_dir" && as_dir=. 189216910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 189316910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 189416910e25Smrg ac_cv_prog_ac_ct_CC="cc" 189516910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 189616910e25Smrg break 2 189716910e25Smrg fi 189816910e25Smrgdone 189916910e25Smrgdone 190016910e25Smrg 190116910e25Smrgfi 190216910e25Smrgfi 190316910e25Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 190416910e25Smrgif test -n "$ac_ct_CC"; then 190516910e25Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 190616910e25Smrgecho "${ECHO_T}$ac_ct_CC" >&6 190716910e25Smrgelse 190816910e25Smrg echo "$as_me:$LINENO: result: no" >&5 190916910e25Smrgecho "${ECHO_T}no" >&6 191016910e25Smrgfi 191116910e25Smrg 191216910e25Smrg CC=$ac_ct_CC 191316910e25Smrgelse 191416910e25Smrg CC="$ac_cv_prog_CC" 191516910e25Smrgfi 191616910e25Smrg 191716910e25Smrgfi 191816910e25Smrgif test -z "$CC"; then 191916910e25Smrg # Extract the first word of "cc", so it can be a program name with args. 192016910e25Smrgset dummy cc; ac_word=$2 192116910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 192216910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 192316910e25Smrgif test "${ac_cv_prog_CC+set}" = set; then 192416910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 192516910e25Smrgelse 192616910e25Smrg if test -n "$CC"; then 192716910e25Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 192816910e25Smrgelse 192916910e25Smrg ac_prog_rejected=no 193016910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 193116910e25Smrgfor as_dir in $PATH 193216910e25Smrgdo 193316910e25Smrg IFS=$as_save_IFS 193416910e25Smrg test -z "$as_dir" && as_dir=. 193516910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 193616910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 193716910e25Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 193816910e25Smrg ac_prog_rejected=yes 193916910e25Smrg continue 194016910e25Smrg fi 194116910e25Smrg ac_cv_prog_CC="cc" 194216910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 194316910e25Smrg break 2 194416910e25Smrg fi 194516910e25Smrgdone 194616910e25Smrgdone 194716910e25Smrg 194816910e25Smrgif test $ac_prog_rejected = yes; then 194916910e25Smrg # We found a bogon in the path, so make sure we never use it. 195016910e25Smrg set dummy $ac_cv_prog_CC 195116910e25Smrg shift 195216910e25Smrg if test $# != 0; then 195316910e25Smrg # We chose a different compiler from the bogus one. 195416910e25Smrg # However, it has the same basename, so the bogon will be chosen 195516910e25Smrg # first if we set CC to just the basename; use the full file name. 195616910e25Smrg shift 195716910e25Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 195816910e25Smrg fi 195916910e25Smrgfi 196016910e25Smrgfi 196116910e25Smrgfi 196216910e25SmrgCC=$ac_cv_prog_CC 196316910e25Smrgif test -n "$CC"; then 196416910e25Smrg echo "$as_me:$LINENO: result: $CC" >&5 196516910e25Smrgecho "${ECHO_T}$CC" >&6 196616910e25Smrgelse 196716910e25Smrg echo "$as_me:$LINENO: result: no" >&5 196816910e25Smrgecho "${ECHO_T}no" >&6 196916910e25Smrgfi 197016910e25Smrg 197116910e25Smrgfi 197216910e25Smrgif test -z "$CC"; then 197316910e25Smrg if test -n "$ac_tool_prefix"; then 197416910e25Smrg for ac_prog in cl 197516910e25Smrg do 197616910e25Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 197716910e25Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 197816910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 197916910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 198016910e25Smrgif test "${ac_cv_prog_CC+set}" = set; then 198116910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 198216910e25Smrgelse 198316910e25Smrg if test -n "$CC"; then 198416910e25Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 198516910e25Smrgelse 198616910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 198716910e25Smrgfor as_dir in $PATH 198816910e25Smrgdo 198916910e25Smrg IFS=$as_save_IFS 199016910e25Smrg test -z "$as_dir" && as_dir=. 199116910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 199216910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 199316910e25Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 199416910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 199516910e25Smrg break 2 199616910e25Smrg fi 199716910e25Smrgdone 199816910e25Smrgdone 199916910e25Smrg 200016910e25Smrgfi 200116910e25Smrgfi 200216910e25SmrgCC=$ac_cv_prog_CC 200316910e25Smrgif test -n "$CC"; then 200416910e25Smrg echo "$as_me:$LINENO: result: $CC" >&5 200516910e25Smrgecho "${ECHO_T}$CC" >&6 200616910e25Smrgelse 200716910e25Smrg echo "$as_me:$LINENO: result: no" >&5 200816910e25Smrgecho "${ECHO_T}no" >&6 200916910e25Smrgfi 201016910e25Smrg 201116910e25Smrg test -n "$CC" && break 201216910e25Smrg done 201316910e25Smrgfi 201416910e25Smrgif test -z "$CC"; then 201516910e25Smrg ac_ct_CC=$CC 201616910e25Smrg for ac_prog in cl 201716910e25Smrgdo 201816910e25Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 201916910e25Smrgset dummy $ac_prog; ac_word=$2 202016910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 202116910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 202216910e25Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 202316910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 202416910e25Smrgelse 202516910e25Smrg if test -n "$ac_ct_CC"; then 202616910e25Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 202716910e25Smrgelse 202816910e25Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 202916910e25Smrgfor as_dir in $PATH 203016910e25Smrgdo 203116910e25Smrg IFS=$as_save_IFS 203216910e25Smrg test -z "$as_dir" && as_dir=. 203316910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 203416910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 203516910e25Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 203616910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 203716910e25Smrg break 2 203816910e25Smrg fi 203916910e25Smrgdone 204016910e25Smrgdone 204116910e25Smrg 204216910e25Smrgfi 204316910e25Smrgfi 204416910e25Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 204516910e25Smrgif test -n "$ac_ct_CC"; then 204616910e25Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 204716910e25Smrgecho "${ECHO_T}$ac_ct_CC" >&6 204816910e25Smrgelse 204916910e25Smrg echo "$as_me:$LINENO: result: no" >&5 205016910e25Smrgecho "${ECHO_T}no" >&6 205116910e25Smrgfi 205216910e25Smrg 205316910e25Smrg test -n "$ac_ct_CC" && break 205416910e25Smrgdone 205516910e25Smrg 205616910e25Smrg CC=$ac_ct_CC 205716910e25Smrgfi 205816910e25Smrg 205916910e25Smrgfi 206016910e25Smrg 206116910e25Smrg 206216910e25Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 206316910e25SmrgSee \`config.log' for more details." >&5 206416910e25Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 206516910e25SmrgSee \`config.log' for more details." >&2;} 206616910e25Smrg { (exit 1); exit 1; }; } 206716910e25Smrg 206816910e25Smrg# Provide some information about the compiler. 206916910e25Smrgecho "$as_me:$LINENO:" \ 207016910e25Smrg "checking for C compiler version" >&5 207116910e25Smrgac_compiler=`set X $ac_compile; echo $2` 207216910e25Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 207316910e25Smrg (eval $ac_compiler --version </dev/null >&5) 2>&5 207416910e25Smrg ac_status=$? 207516910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 207616910e25Smrg (exit $ac_status); } 207716910e25Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 207816910e25Smrg (eval $ac_compiler -v </dev/null >&5) 2>&5 207916910e25Smrg ac_status=$? 208016910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 208116910e25Smrg (exit $ac_status); } 208216910e25Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 208316910e25Smrg (eval $ac_compiler -V </dev/null >&5) 2>&5 208416910e25Smrg ac_status=$? 208516910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 208616910e25Smrg (exit $ac_status); } 208716910e25Smrg 208816910e25Smrgcat >conftest.$ac_ext <<_ACEOF 208916910e25Smrg/* confdefs.h. */ 209016910e25Smrg_ACEOF 209116910e25Smrgcat confdefs.h >>conftest.$ac_ext 209216910e25Smrgcat >>conftest.$ac_ext <<_ACEOF 209316910e25Smrg/* end confdefs.h. */ 209416910e25Smrg 209516910e25Smrgint 209616910e25Smrgmain () 209716910e25Smrg{ 209816910e25Smrg 209916910e25Smrg ; 210016910e25Smrg return 0; 210116910e25Smrg} 210216910e25Smrg_ACEOF 210316910e25Smrgac_clean_files_save=$ac_clean_files 210416910e25Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 210516910e25Smrg# Try to create an executable without -o first, disregard a.out. 210616910e25Smrg# It will help us diagnose broken compilers, and finding out an intuition 210716910e25Smrg# of exeext. 210816910e25Smrgecho "$as_me:$LINENO: checking for C compiler default output file name" >&5 210916910e25Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 211016910e25Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 211116910e25Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 211216910e25Smrg (eval $ac_link_default) 2>&5 211316910e25Smrg ac_status=$? 211416910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 211516910e25Smrg (exit $ac_status); }; then 211616910e25Smrg # Find the output, starting from the most likely. This scheme is 211716910e25Smrg# not robust to junk in `.', hence go to wildcards (a.*) only as a last 211816910e25Smrg# resort. 211916910e25Smrg 212016910e25Smrg# Be careful to initialize this variable, since it used to be cached. 212116910e25Smrg# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 212216910e25Smrgac_cv_exeext= 212316910e25Smrg# b.out is created by i960 compilers. 212416910e25Smrgfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 212516910e25Smrgdo 212616910e25Smrg test -f "$ac_file" || continue 212716910e25Smrg case $ac_file in 212816910e25Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 212916910e25Smrg ;; 213016910e25Smrg conftest.$ac_ext ) 213116910e25Smrg # This is the source file. 213216910e25Smrg ;; 213316910e25Smrg [ab].out ) 213416910e25Smrg # We found the default executable, but exeext='' is most 213516910e25Smrg # certainly right. 213616910e25Smrg break;; 213716910e25Smrg *.* ) 213816910e25Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 213916910e25Smrg # FIXME: I believe we export ac_cv_exeext for Libtool, 214016910e25Smrg # but it would be cool to find out if it's true. Does anybody 214116910e25Smrg # maintain Libtool? --akim. 214216910e25Smrg export ac_cv_exeext 214316910e25Smrg break;; 214416910e25Smrg * ) 214516910e25Smrg break;; 214616910e25Smrg esac 214716910e25Smrgdone 214816910e25Smrgelse 214916910e25Smrg echo "$as_me: failed program was:" >&5 215016910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 215116910e25Smrg 215216910e25Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 215316910e25SmrgSee \`config.log' for more details." >&5 215416910e25Smrgecho "$as_me: error: C compiler cannot create executables 215516910e25SmrgSee \`config.log' for more details." >&2;} 215616910e25Smrg { (exit 77); exit 77; }; } 215716910e25Smrgfi 215816910e25Smrg 215916910e25Smrgac_exeext=$ac_cv_exeext 216016910e25Smrgecho "$as_me:$LINENO: result: $ac_file" >&5 216116910e25Smrgecho "${ECHO_T}$ac_file" >&6 216216910e25Smrg 216316910e25Smrg# Check the compiler produces executables we can run. If not, either 216416910e25Smrg# the compiler is broken, or we cross compile. 216516910e25Smrgecho "$as_me:$LINENO: checking whether the C compiler works" >&5 216616910e25Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 216716910e25Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 216816910e25Smrg# If not cross compiling, check that we can run a simple program. 216916910e25Smrgif test "$cross_compiling" != yes; then 217016910e25Smrg if { ac_try='./$ac_file' 217116910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 217216910e25Smrg (eval $ac_try) 2>&5 217316910e25Smrg ac_status=$? 217416910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 217516910e25Smrg (exit $ac_status); }; }; then 217616910e25Smrg cross_compiling=no 217716910e25Smrg else 217816910e25Smrg if test "$cross_compiling" = maybe; then 217916910e25Smrg cross_compiling=yes 218016910e25Smrg else 218116910e25Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 218216910e25SmrgIf you meant to cross compile, use \`--host'. 218316910e25SmrgSee \`config.log' for more details." >&5 218416910e25Smrgecho "$as_me: error: cannot run C compiled programs. 218516910e25SmrgIf you meant to cross compile, use \`--host'. 218616910e25SmrgSee \`config.log' for more details." >&2;} 218716910e25Smrg { (exit 1); exit 1; }; } 218816910e25Smrg fi 218916910e25Smrg fi 219016910e25Smrgfi 219116910e25Smrgecho "$as_me:$LINENO: result: yes" >&5 219216910e25Smrgecho "${ECHO_T}yes" >&6 219316910e25Smrg 219416910e25Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 219516910e25Smrgac_clean_files=$ac_clean_files_save 219616910e25Smrg# Check the compiler produces executables we can run. If not, either 219716910e25Smrg# the compiler is broken, or we cross compile. 219816910e25Smrgecho "$as_me:$LINENO: checking whether we are cross compiling" >&5 219916910e25Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 220016910e25Smrgecho "$as_me:$LINENO: result: $cross_compiling" >&5 220116910e25Smrgecho "${ECHO_T}$cross_compiling" >&6 220216910e25Smrg 220316910e25Smrgecho "$as_me:$LINENO: checking for suffix of executables" >&5 220416910e25Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 220516910e25Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 220616910e25Smrg (eval $ac_link) 2>&5 220716910e25Smrg ac_status=$? 220816910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 220916910e25Smrg (exit $ac_status); }; then 221016910e25Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 221116910e25Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 221216910e25Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 221316910e25Smrg# `rm'. 221416910e25Smrgfor ac_file in conftest.exe conftest conftest.*; do 221516910e25Smrg test -f "$ac_file" || continue 221616910e25Smrg case $ac_file in 221716910e25Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 221816910e25Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 221916910e25Smrg export ac_cv_exeext 222016910e25Smrg break;; 222116910e25Smrg * ) break;; 222216910e25Smrg esac 222316910e25Smrgdone 222416910e25Smrgelse 222516910e25Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 222616910e25SmrgSee \`config.log' for more details." >&5 222716910e25Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 222816910e25SmrgSee \`config.log' for more details." >&2;} 222916910e25Smrg { (exit 1); exit 1; }; } 223016910e25Smrgfi 223116910e25Smrg 223216910e25Smrgrm -f conftest$ac_cv_exeext 223316910e25Smrgecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5 223416910e25Smrgecho "${ECHO_T}$ac_cv_exeext" >&6 223516910e25Smrg 223616910e25Smrgrm -f conftest.$ac_ext 223716910e25SmrgEXEEXT=$ac_cv_exeext 223816910e25Smrgac_exeext=$EXEEXT 223916910e25Smrgecho "$as_me:$LINENO: checking for suffix of object files" >&5 224016910e25Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 224116910e25Smrgif test "${ac_cv_objext+set}" = set; then 224216910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 224316910e25Smrgelse 224416910e25Smrg cat >conftest.$ac_ext <<_ACEOF 224516910e25Smrg/* confdefs.h. */ 224616910e25Smrg_ACEOF 224716910e25Smrgcat confdefs.h >>conftest.$ac_ext 224816910e25Smrgcat >>conftest.$ac_ext <<_ACEOF 224916910e25Smrg/* end confdefs.h. */ 225016910e25Smrg 225116910e25Smrgint 225216910e25Smrgmain () 225316910e25Smrg{ 225416910e25Smrg 225516910e25Smrg ; 225616910e25Smrg return 0; 225716910e25Smrg} 225816910e25Smrg_ACEOF 225916910e25Smrgrm -f conftest.o conftest.obj 226016910e25Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 226116910e25Smrg (eval $ac_compile) 2>&5 226216910e25Smrg ac_status=$? 226316910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 226416910e25Smrg (exit $ac_status); }; then 226516910e25Smrg for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 226616910e25Smrg case $ac_file in 226716910e25Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 226816910e25Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 226916910e25Smrg break;; 227016910e25Smrg esac 227116910e25Smrgdone 227216910e25Smrgelse 227316910e25Smrg echo "$as_me: failed program was:" >&5 227416910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 227516910e25Smrg 227616910e25Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 227716910e25SmrgSee \`config.log' for more details." >&5 227816910e25Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 227916910e25SmrgSee \`config.log' for more details." >&2;} 228016910e25Smrg { (exit 1); exit 1; }; } 228116910e25Smrgfi 228216910e25Smrg 228316910e25Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 228416910e25Smrgfi 228516910e25Smrgecho "$as_me:$LINENO: result: $ac_cv_objext" >&5 228616910e25Smrgecho "${ECHO_T}$ac_cv_objext" >&6 228716910e25SmrgOBJEXT=$ac_cv_objext 228816910e25Smrgac_objext=$OBJEXT 228916910e25Smrgecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 229016910e25Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 229116910e25Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 229216910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 229316910e25Smrgelse 229416910e25Smrg cat >conftest.$ac_ext <<_ACEOF 229516910e25Smrg/* confdefs.h. */ 229616910e25Smrg_ACEOF 229716910e25Smrgcat confdefs.h >>conftest.$ac_ext 229816910e25Smrgcat >>conftest.$ac_ext <<_ACEOF 229916910e25Smrg/* end confdefs.h. */ 230016910e25Smrg 230116910e25Smrgint 230216910e25Smrgmain () 230316910e25Smrg{ 230416910e25Smrg#ifndef __GNUC__ 230516910e25Smrg choke me 230616910e25Smrg#endif 230716910e25Smrg 230816910e25Smrg ; 230916910e25Smrg return 0; 231016910e25Smrg} 231116910e25Smrg_ACEOF 231216910e25Smrgrm -f conftest.$ac_objext 231316910e25Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 231416910e25Smrg (eval $ac_compile) 2>conftest.er1 231516910e25Smrg ac_status=$? 231616910e25Smrg grep -v '^ *+' conftest.er1 >conftest.err 231716910e25Smrg rm -f conftest.er1 231816910e25Smrg cat conftest.err >&5 231916910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 232016910e25Smrg (exit $ac_status); } && 232116910e25Smrg { ac_try='test -z "$ac_c_werror_flag" 232216910e25Smrg || test ! -s conftest.err' 232316910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 232416910e25Smrg (eval $ac_try) 2>&5 232516910e25Smrg ac_status=$? 232616910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 232716910e25Smrg (exit $ac_status); }; } && 232816910e25Smrg { ac_try='test -s conftest.$ac_objext' 232916910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 233016910e25Smrg (eval $ac_try) 2>&5 233116910e25Smrg ac_status=$? 233216910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 233316910e25Smrg (exit $ac_status); }; }; then 233416910e25Smrg ac_compiler_gnu=yes 233516910e25Smrgelse 233616910e25Smrg echo "$as_me: failed program was:" >&5 233716910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 233816910e25Smrg 233916910e25Smrgac_compiler_gnu=no 234016910e25Smrgfi 234116910e25Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 234216910e25Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 234316910e25Smrg 234416910e25Smrgfi 234516910e25Smrgecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 234616910e25Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 234716910e25SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 234816910e25Smrgac_test_CFLAGS=${CFLAGS+set} 234916910e25Smrgac_save_CFLAGS=$CFLAGS 235016910e25SmrgCFLAGS="-g" 235116910e25Smrgecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5 235216910e25Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 235316910e25Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 235416910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 235516910e25Smrgelse 235616910e25Smrg cat >conftest.$ac_ext <<_ACEOF 235716910e25Smrg/* confdefs.h. */ 235816910e25Smrg_ACEOF 235916910e25Smrgcat confdefs.h >>conftest.$ac_ext 236016910e25Smrgcat >>conftest.$ac_ext <<_ACEOF 236116910e25Smrg/* end confdefs.h. */ 236216910e25Smrg 236316910e25Smrgint 236416910e25Smrgmain () 236516910e25Smrg{ 236616910e25Smrg 236716910e25Smrg ; 236816910e25Smrg return 0; 236916910e25Smrg} 237016910e25Smrg_ACEOF 237116910e25Smrgrm -f conftest.$ac_objext 237216910e25Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 237316910e25Smrg (eval $ac_compile) 2>conftest.er1 237416910e25Smrg ac_status=$? 237516910e25Smrg grep -v '^ *+' conftest.er1 >conftest.err 237616910e25Smrg rm -f conftest.er1 237716910e25Smrg cat conftest.err >&5 237816910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 237916910e25Smrg (exit $ac_status); } && 238016910e25Smrg { ac_try='test -z "$ac_c_werror_flag" 238116910e25Smrg || test ! -s conftest.err' 238216910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 238316910e25Smrg (eval $ac_try) 2>&5 238416910e25Smrg ac_status=$? 238516910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 238616910e25Smrg (exit $ac_status); }; } && 238716910e25Smrg { ac_try='test -s conftest.$ac_objext' 238816910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 238916910e25Smrg (eval $ac_try) 2>&5 239016910e25Smrg ac_status=$? 239116910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 239216910e25Smrg (exit $ac_status); }; }; then 239316910e25Smrg ac_cv_prog_cc_g=yes 239416910e25Smrgelse 239516910e25Smrg echo "$as_me: failed program was:" >&5 239616910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 239716910e25Smrg 239816910e25Smrgac_cv_prog_cc_g=no 239916910e25Smrgfi 240016910e25Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 240116910e25Smrgfi 240216910e25Smrgecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 240316910e25Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6 240416910e25Smrgif test "$ac_test_CFLAGS" = set; then 240516910e25Smrg CFLAGS=$ac_save_CFLAGS 240616910e25Smrgelif test $ac_cv_prog_cc_g = yes; then 240716910e25Smrg if test "$GCC" = yes; then 240816910e25Smrg CFLAGS="-g -O2" 240916910e25Smrg else 241016910e25Smrg CFLAGS="-g" 241116910e25Smrg fi 241216910e25Smrgelse 241316910e25Smrg if test "$GCC" = yes; then 241416910e25Smrg CFLAGS="-O2" 241516910e25Smrg else 241616910e25Smrg CFLAGS= 241716910e25Smrg fi 241816910e25Smrgfi 241916910e25Smrgecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 242016910e25Smrgecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 242116910e25Smrgif test "${ac_cv_prog_cc_stdc+set}" = set; then 242216910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 242316910e25Smrgelse 242416910e25Smrg ac_cv_prog_cc_stdc=no 242516910e25Smrgac_save_CC=$CC 242616910e25Smrgcat >conftest.$ac_ext <<_ACEOF 242716910e25Smrg/* confdefs.h. */ 242816910e25Smrg_ACEOF 242916910e25Smrgcat confdefs.h >>conftest.$ac_ext 243016910e25Smrgcat >>conftest.$ac_ext <<_ACEOF 243116910e25Smrg/* end confdefs.h. */ 243216910e25Smrg#include <stdarg.h> 243316910e25Smrg#include <stdio.h> 243416910e25Smrg#include <sys/types.h> 243516910e25Smrg#include <sys/stat.h> 243616910e25Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 243716910e25Smrgstruct buf { int x; }; 243816910e25SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 243916910e25Smrgstatic char *e (p, i) 244016910e25Smrg char **p; 244116910e25Smrg int i; 244216910e25Smrg{ 244316910e25Smrg return p[i]; 244416910e25Smrg} 244516910e25Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 244616910e25Smrg{ 244716910e25Smrg char *s; 244816910e25Smrg va_list v; 244916910e25Smrg va_start (v,p); 245016910e25Smrg s = g (p, va_arg (v,int)); 245116910e25Smrg va_end (v); 245216910e25Smrg return s; 245316910e25Smrg} 245416910e25Smrg 245516910e25Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 245616910e25Smrg function prototypes and stuff, but not '\xHH' hex character constants. 245716910e25Smrg These don't provoke an error unfortunately, instead are silently treated 245816910e25Smrg as 'x'. The following induces an error, until -std1 is added to get 245916910e25Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 246016910e25Smrg array size at least. It's necessary to write '\x00'==0 to get something 246116910e25Smrg that's true only with -std1. */ 246216910e25Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 246316910e25Smrg 246416910e25Smrgint test (int i, double x); 246516910e25Smrgstruct s1 {int (*f) (int a);}; 246616910e25Smrgstruct s2 {int (*f) (double a);}; 246716910e25Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 246816910e25Smrgint argc; 246916910e25Smrgchar **argv; 247016910e25Smrgint 247116910e25Smrgmain () 247216910e25Smrg{ 247316910e25Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 247416910e25Smrg ; 247516910e25Smrg return 0; 247616910e25Smrg} 247716910e25Smrg_ACEOF 247816910e25Smrg# Don't try gcc -ansi; that turns off useful extensions and 247916910e25Smrg# breaks some systems' header files. 248016910e25Smrg# AIX -qlanglvl=ansi 248116910e25Smrg# Ultrix and OSF/1 -std1 248216910e25Smrg# HP-UX 10.20 and later -Ae 248316910e25Smrg# HP-UX older versions -Aa -D_HPUX_SOURCE 248416910e25Smrg# SVR4 -Xc -D__EXTENSIONS__ 248516910e25Smrgfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 248616910e25Smrgdo 248716910e25Smrg CC="$ac_save_CC $ac_arg" 248816910e25Smrg rm -f conftest.$ac_objext 248916910e25Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 249016910e25Smrg (eval $ac_compile) 2>conftest.er1 249116910e25Smrg ac_status=$? 249216910e25Smrg grep -v '^ *+' conftest.er1 >conftest.err 249316910e25Smrg rm -f conftest.er1 249416910e25Smrg cat conftest.err >&5 249516910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 249616910e25Smrg (exit $ac_status); } && 249716910e25Smrg { ac_try='test -z "$ac_c_werror_flag" 249816910e25Smrg || test ! -s conftest.err' 249916910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 250016910e25Smrg (eval $ac_try) 2>&5 250116910e25Smrg ac_status=$? 250216910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 250316910e25Smrg (exit $ac_status); }; } && 250416910e25Smrg { ac_try='test -s conftest.$ac_objext' 250516910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 250616910e25Smrg (eval $ac_try) 2>&5 250716910e25Smrg ac_status=$? 250816910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 250916910e25Smrg (exit $ac_status); }; }; then 251016910e25Smrg ac_cv_prog_cc_stdc=$ac_arg 251116910e25Smrgbreak 251216910e25Smrgelse 251316910e25Smrg echo "$as_me: failed program was:" >&5 251416910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 251516910e25Smrg 251616910e25Smrgfi 251716910e25Smrgrm -f conftest.err conftest.$ac_objext 251816910e25Smrgdone 251916910e25Smrgrm -f conftest.$ac_ext conftest.$ac_objext 252016910e25SmrgCC=$ac_save_CC 252116910e25Smrg 252216910e25Smrgfi 252316910e25Smrg 252416910e25Smrgcase "x$ac_cv_prog_cc_stdc" in 252516910e25Smrg x|xno) 252616910e25Smrg echo "$as_me:$LINENO: result: none needed" >&5 252716910e25Smrgecho "${ECHO_T}none needed" >&6 ;; 252816910e25Smrg *) 252916910e25Smrg echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 253016910e25Smrgecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 253116910e25Smrg CC="$CC $ac_cv_prog_cc_stdc" ;; 253216910e25Smrgesac 253316910e25Smrg 253416910e25Smrg# Some people use a C++ compiler to compile C. Since we use `exit', 253516910e25Smrg# in C++ we need to declare it. In case someone uses the same compiler 253616910e25Smrg# for both compiling C and C++ we need to have the C++ compiler decide 253716910e25Smrg# the declaration of exit, since it's the most demanding environment. 253816910e25Smrgcat >conftest.$ac_ext <<_ACEOF 253916910e25Smrg#ifndef __cplusplus 254016910e25Smrg choke me 254116910e25Smrg#endif 254216910e25Smrg_ACEOF 254316910e25Smrgrm -f conftest.$ac_objext 254416910e25Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 254516910e25Smrg (eval $ac_compile) 2>conftest.er1 254616910e25Smrg ac_status=$? 254716910e25Smrg grep -v '^ *+' conftest.er1 >conftest.err 254816910e25Smrg rm -f conftest.er1 254916910e25Smrg cat conftest.err >&5 255016910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 255116910e25Smrg (exit $ac_status); } && 255216910e25Smrg { ac_try='test -z "$ac_c_werror_flag" 255316910e25Smrg || test ! -s conftest.err' 255416910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 255516910e25Smrg (eval $ac_try) 2>&5 255616910e25Smrg ac_status=$? 255716910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 255816910e25Smrg (exit $ac_status); }; } && 255916910e25Smrg { ac_try='test -s conftest.$ac_objext' 256016910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 256116910e25Smrg (eval $ac_try) 2>&5 256216910e25Smrg ac_status=$? 256316910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 256416910e25Smrg (exit $ac_status); }; }; then 256516910e25Smrg for ac_declaration in \ 256616910e25Smrg '' \ 256716910e25Smrg 'extern "C" void std::exit (int) throw (); using std::exit;' \ 256816910e25Smrg 'extern "C" void std::exit (int); using std::exit;' \ 256916910e25Smrg 'extern "C" void exit (int) throw ();' \ 257016910e25Smrg 'extern "C" void exit (int);' \ 257116910e25Smrg 'void exit (int);' 257216910e25Smrgdo 257316910e25Smrg cat >conftest.$ac_ext <<_ACEOF 257416910e25Smrg/* confdefs.h. */ 257516910e25Smrg_ACEOF 257616910e25Smrgcat confdefs.h >>conftest.$ac_ext 257716910e25Smrgcat >>conftest.$ac_ext <<_ACEOF 257816910e25Smrg/* end confdefs.h. */ 257916910e25Smrg$ac_declaration 258016910e25Smrg#include <stdlib.h> 258116910e25Smrgint 258216910e25Smrgmain () 258316910e25Smrg{ 258416910e25Smrgexit (42); 258516910e25Smrg ; 258616910e25Smrg return 0; 258716910e25Smrg} 258816910e25Smrg_ACEOF 258916910e25Smrgrm -f conftest.$ac_objext 259016910e25Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 259116910e25Smrg (eval $ac_compile) 2>conftest.er1 259216910e25Smrg ac_status=$? 259316910e25Smrg grep -v '^ *+' conftest.er1 >conftest.err 259416910e25Smrg rm -f conftest.er1 259516910e25Smrg cat conftest.err >&5 259616910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 259716910e25Smrg (exit $ac_status); } && 259816910e25Smrg { ac_try='test -z "$ac_c_werror_flag" 259916910e25Smrg || test ! -s conftest.err' 260016910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 260116910e25Smrg (eval $ac_try) 2>&5 260216910e25Smrg ac_status=$? 260316910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 260416910e25Smrg (exit $ac_status); }; } && 260516910e25Smrg { ac_try='test -s conftest.$ac_objext' 260616910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 260716910e25Smrg (eval $ac_try) 2>&5 260816910e25Smrg ac_status=$? 260916910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 261016910e25Smrg (exit $ac_status); }; }; then 261116910e25Smrg : 261216910e25Smrgelse 261316910e25Smrg echo "$as_me: failed program was:" >&5 261416910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 261516910e25Smrg 261616910e25Smrgcontinue 261716910e25Smrgfi 261816910e25Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 261916910e25Smrg cat >conftest.$ac_ext <<_ACEOF 262016910e25Smrg/* confdefs.h. */ 262116910e25Smrg_ACEOF 262216910e25Smrgcat confdefs.h >>conftest.$ac_ext 262316910e25Smrgcat >>conftest.$ac_ext <<_ACEOF 262416910e25Smrg/* end confdefs.h. */ 262516910e25Smrg$ac_declaration 262616910e25Smrgint 262716910e25Smrgmain () 262816910e25Smrg{ 262916910e25Smrgexit (42); 263016910e25Smrg ; 263116910e25Smrg return 0; 263216910e25Smrg} 263316910e25Smrg_ACEOF 263416910e25Smrgrm -f conftest.$ac_objext 263516910e25Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 263616910e25Smrg (eval $ac_compile) 2>conftest.er1 263716910e25Smrg ac_status=$? 263816910e25Smrg grep -v '^ *+' conftest.er1 >conftest.err 263916910e25Smrg rm -f conftest.er1 264016910e25Smrg cat conftest.err >&5 264116910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 264216910e25Smrg (exit $ac_status); } && 264316910e25Smrg { ac_try='test -z "$ac_c_werror_flag" 264416910e25Smrg || test ! -s conftest.err' 264516910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 264616910e25Smrg (eval $ac_try) 2>&5 264716910e25Smrg ac_status=$? 264816910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 264916910e25Smrg (exit $ac_status); }; } && 265016910e25Smrg { ac_try='test -s conftest.$ac_objext' 265116910e25Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 265216910e25Smrg (eval $ac_try) 2>&5 265316910e25Smrg ac_status=$? 265416910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 265516910e25Smrg (exit $ac_status); }; }; then 265616910e25Smrg break 265716910e25Smrgelse 265816910e25Smrg echo "$as_me: failed program was:" >&5 265916910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 266016910e25Smrg 266116910e25Smrgfi 266216910e25Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 266316910e25Smrgdone 266416910e25Smrgrm -f conftest* 266516910e25Smrgif test -n "$ac_declaration"; then 266616910e25Smrg echo '#ifdef __cplusplus' >>confdefs.h 266716910e25Smrg echo $ac_declaration >>confdefs.h 266816910e25Smrg echo '#endif' >>confdefs.h 266916910e25Smrgfi 267016910e25Smrg 267116910e25Smrgelse 267216910e25Smrg echo "$as_me: failed program was:" >&5 267316910e25Smrgsed 's/^/| /' conftest.$ac_ext >&5 267416910e25Smrg 267516910e25Smrgfi 267616910e25Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 267716910e25Smrgac_ext=c 267816910e25Smrgac_cpp='$CPP $CPPFLAGS' 267916910e25Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 268016910e25Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 268116910e25Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 268216910e25SmrgDEPDIR="${am__leading_dot}deps" 268316910e25Smrg 268416910e25Smrg ac_config_commands="$ac_config_commands depfiles" 268516910e25Smrg 268616910e25Smrg 268716910e25Smrgam_make=${MAKE-make} 268816910e25Smrgcat > confinc << 'END' 268916910e25Smrgam__doit: 269016910e25Smrg @echo done 269116910e25Smrg.PHONY: am__doit 269216910e25SmrgEND 269316910e25Smrg# If we don't find an include directive, just comment out the code. 269416910e25Smrgecho "$as_me:$LINENO: checking for style of include used by $am_make" >&5 269516910e25Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 269616910e25Smrgam__include="#" 269716910e25Smrgam__quote= 269816910e25Smrg_am_result=none 269916910e25Smrg# First try GNU make style include. 270016910e25Smrgecho "include confinc" > confmf 270116910e25Smrg# We grep out `Entering directory' and `Leaving directory' 270216910e25Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 270316910e25Smrg# In particular we don't look at `^make:' because GNU make might 270416910e25Smrg# be invoked under some other name (usually "gmake"), in which 270516910e25Smrg# case it prints its new name instead of `make'. 270616910e25Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 270716910e25Smrg am__include=include 270816910e25Smrg am__quote= 270916910e25Smrg _am_result=GNU 271016910e25Smrgfi 271116910e25Smrg# Now try BSD make style include. 271216910e25Smrgif test "$am__include" = "#"; then 271316910e25Smrg echo '.include "confinc"' > confmf 271416910e25Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 271516910e25Smrg am__include=.include 271616910e25Smrg am__quote="\"" 271716910e25Smrg _am_result=BSD 271816910e25Smrg fi 271916910e25Smrgfi 272016910e25Smrg 272116910e25Smrg 272216910e25Smrgecho "$as_me:$LINENO: result: $_am_result" >&5 272316910e25Smrgecho "${ECHO_T}$_am_result" >&6 272416910e25Smrgrm -f confinc confmf 272516910e25Smrg 272616910e25Smrg# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 272716910e25Smrgif test "${enable_dependency_tracking+set}" = set; then 272816910e25Smrg enableval="$enable_dependency_tracking" 272916910e25Smrg 273016910e25Smrgfi; 273116910e25Smrgif test "x$enable_dependency_tracking" != xno; then 273216910e25Smrg am_depcomp="$ac_aux_dir/depcomp" 273316910e25Smrg AMDEPBACKSLASH='\' 273416910e25Smrgfi 273516910e25Smrg 273616910e25Smrg 273716910e25Smrgif test "x$enable_dependency_tracking" != xno; then 273816910e25Smrg AMDEP_TRUE= 273916910e25Smrg AMDEP_FALSE='#' 274016910e25Smrgelse 274116910e25Smrg AMDEP_TRUE='#' 274216910e25Smrg AMDEP_FALSE= 274316910e25Smrgfi 274416910e25Smrg 274516910e25Smrg 274616910e25Smrg 274716910e25Smrg 274816910e25Smrgdepcc="$CC" am_compiler_list= 274916910e25Smrg 275016910e25Smrgecho "$as_me:$LINENO: checking dependency style of $depcc" >&5 275116910e25Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 275216910e25Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 275316910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 275416910e25Smrgelse 275516910e25Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 275616910e25Smrg # We make a subdir and do the tests there. Otherwise we can end up 275716910e25Smrg # making bogus files that we don't know about and never remove. For 275816910e25Smrg # instance it was reported that on HP-UX the gcc test will end up 275916910e25Smrg # making a dummy file named `D' -- because `-MD' means `put the output 276016910e25Smrg # in D'. 276116910e25Smrg mkdir conftest.dir 276216910e25Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 276316910e25Smrg # using a relative directory. 276416910e25Smrg cp "$am_depcomp" conftest.dir 276516910e25Smrg cd conftest.dir 276616910e25Smrg # We will build objects and dependencies in a subdirectory because 276716910e25Smrg # it helps to detect inapplicable dependency modes. For instance 276816910e25Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 276916910e25Smrg # side effect of compilation, but ICC will put the dependencies in 277016910e25Smrg # the current directory while Tru64 will put them in the object 277116910e25Smrg # directory. 277216910e25Smrg mkdir sub 277316910e25Smrg 277416910e25Smrg am_cv_CC_dependencies_compiler_type=none 277516910e25Smrg if test "$am_compiler_list" = ""; then 277616910e25Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 277716910e25Smrg fi 277816910e25Smrg for depmode in $am_compiler_list; do 277916910e25Smrg # Setup a source with many dependencies, because some compilers 278016910e25Smrg # like to wrap large dependency lists on column 80 (with \), and 278116910e25Smrg # we should not choose a depcomp mode which is confused by this. 278216910e25Smrg # 278316910e25Smrg # We need to recreate these files for each test, as the compiler may 278416910e25Smrg # overwrite some of them when testing with obscure command lines. 278516910e25Smrg # This happens at least with the AIX C compiler. 278616910e25Smrg : > sub/conftest.c 278716910e25Smrg for i in 1 2 3 4 5 6; do 278816910e25Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 278916910e25Smrg : > sub/conftst$i.h 279016910e25Smrg done 279116910e25Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 279216910e25Smrg 279316910e25Smrg case $depmode in 279416910e25Smrg nosideeffect) 279516910e25Smrg # after this tag, mechanisms are not by side-effect, so they'll 279616910e25Smrg # only be used when explicitly requested 279716910e25Smrg if test "x$enable_dependency_tracking" = xyes; then 279816910e25Smrg continue 279916910e25Smrg else 280016910e25Smrg break 280116910e25Smrg fi 280216910e25Smrg ;; 280316910e25Smrg none) break ;; 280416910e25Smrg esac 280516910e25Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 280616910e25Smrg # mode. It turns out that the SunPro C++ compiler does not properly 280716910e25Smrg # handle `-M -o', and we need to detect this. 280816910e25Smrg if depmode=$depmode \ 280916910e25Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 281016910e25Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 281116910e25Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 281216910e25Smrg >/dev/null 2>conftest.err && 281316910e25Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 281416910e25Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 281516910e25Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 281616910e25Smrg # icc doesn't choke on unknown options, it will just issue warnings 281716910e25Smrg # (even with -Werror). So we grep stderr for any message 281816910e25Smrg # that says an option was ignored. 281916910e25Smrg if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 282016910e25Smrg am_cv_CC_dependencies_compiler_type=$depmode 282116910e25Smrg break 282216910e25Smrg fi 282316910e25Smrg fi 282416910e25Smrg done 282516910e25Smrg 282616910e25Smrg cd .. 282716910e25Smrg rm -rf conftest.dir 282816910e25Smrgelse 282916910e25Smrg am_cv_CC_dependencies_compiler_type=none 283016910e25Smrgfi 283116910e25Smrg 283216910e25Smrgfi 283316910e25Smrgecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 283416910e25Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 283516910e25SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 283616910e25Smrg 283716910e25Smrg 283816910e25Smrg 283916910e25Smrgif 284016910e25Smrg test "x$enable_dependency_tracking" != xno \ 284116910e25Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 284216910e25Smrg am__fastdepCC_TRUE= 284316910e25Smrg am__fastdepCC_FALSE='#' 284416910e25Smrgelse 284516910e25Smrg am__fastdepCC_TRUE='#' 284616910e25Smrg am__fastdepCC_FALSE= 284716910e25Smrgfi 284816910e25Smrg 284916910e25Smrg 285016910e25Smrg# Find a good install program. We prefer a C program (faster), 285116910e25Smrg# so one script is as good as another. But avoid the broken or 285216910e25Smrg# incompatible versions: 285316910e25Smrg# SysV /etc/install, /usr/sbin/install 285416910e25Smrg# SunOS /usr/etc/install 285516910e25Smrg# IRIX /sbin/install 285616910e25Smrg# AIX /bin/install 285716910e25Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 285816910e25Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 285916910e25Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 286016910e25Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 286116910e25Smrg# OS/2's system install, which has a completely different semantic 286216910e25Smrg# ./install, which can be erroneously created by make from ./install.sh. 286316910e25Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 286416910e25Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 286516910e25Smrgif test -z "$INSTALL"; then 286616910e25Smrgif test "${ac_cv_path_install+set}" = set; then 286716910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 286816910e25Smrgelse 286916910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 287016910e25Smrgfor as_dir in $PATH 287116910e25Smrgdo 287216910e25Smrg IFS=$as_save_IFS 287316910e25Smrg test -z "$as_dir" && as_dir=. 287416910e25Smrg # Account for people who put trailing slashes in PATH elements. 287516910e25Smrgcase $as_dir/ in 287616910e25Smrg ./ | .// | /cC/* | \ 287716910e25Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 287816910e25Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 287916910e25Smrg /usr/ucb/* ) ;; 288016910e25Smrg *) 288116910e25Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 288216910e25Smrg # Don't use installbsd from OSF since it installs stuff as root 288316910e25Smrg # by default. 288416910e25Smrg for ac_prog in ginstall scoinst install; do 288516910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 288616910e25Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 288716910e25Smrg if test $ac_prog = install && 288816910e25Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 288916910e25Smrg # AIX install. It has an incompatible calling convention. 289016910e25Smrg : 289116910e25Smrg elif test $ac_prog = install && 289216910e25Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 289316910e25Smrg # program-specific install script used by HP pwplus--don't use. 289416910e25Smrg : 289516910e25Smrg else 289616910e25Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 289716910e25Smrg break 3 289816910e25Smrg fi 289916910e25Smrg fi 290016910e25Smrg done 290116910e25Smrg done 290216910e25Smrg ;; 290316910e25Smrgesac 290416910e25Smrgdone 290516910e25Smrg 290616910e25Smrg 290716910e25Smrgfi 290816910e25Smrg if test "${ac_cv_path_install+set}" = set; then 290916910e25Smrg INSTALL=$ac_cv_path_install 291016910e25Smrg else 291116910e25Smrg # As a last resort, use the slow shell script. We don't cache a 291216910e25Smrg # path for INSTALL within a source directory, because that will 291316910e25Smrg # break other packages using the cache if that directory is 291416910e25Smrg # removed, or if the path is relative. 291516910e25Smrg INSTALL=$ac_install_sh 291616910e25Smrg fi 291716910e25Smrgfi 291816910e25Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 291916910e25Smrgecho "${ECHO_T}$INSTALL" >&6 292016910e25Smrg 292116910e25Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 292216910e25Smrg# It thinks the first close brace ends the variable substitution. 292316910e25Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 292416910e25Smrg 292516910e25Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 292616910e25Smrg 292716910e25Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 292816910e25Smrg 292916910e25Smrg 293016910e25Smrg# Checks for pkg-config packages 293116910e25Smrg 293216910e25Smrg 293316910e25Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 293416910e25Smrg if test -n "$ac_tool_prefix"; then 293516910e25Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 293616910e25Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 293716910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 293816910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 293916910e25Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 294016910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 294116910e25Smrgelse 294216910e25Smrg case $PKG_CONFIG in 294316910e25Smrg [\\/]* | ?:[\\/]*) 294416910e25Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 294516910e25Smrg ;; 294616910e25Smrg *) 294716910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 294816910e25Smrgfor as_dir in $PATH 294916910e25Smrgdo 295016910e25Smrg IFS=$as_save_IFS 295116910e25Smrg test -z "$as_dir" && as_dir=. 295216910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 295316910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 295416910e25Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 295516910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 295616910e25Smrg break 2 295716910e25Smrg fi 295816910e25Smrgdone 295916910e25Smrgdone 296016910e25Smrg 296116910e25Smrg ;; 296216910e25Smrgesac 296316910e25Smrgfi 296416910e25SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 296516910e25Smrg 296616910e25Smrgif test -n "$PKG_CONFIG"; then 296716910e25Smrg echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 296816910e25Smrgecho "${ECHO_T}$PKG_CONFIG" >&6 296916910e25Smrgelse 297016910e25Smrg echo "$as_me:$LINENO: result: no" >&5 297116910e25Smrgecho "${ECHO_T}no" >&6 297216910e25Smrgfi 297316910e25Smrg 297416910e25Smrgfi 297516910e25Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 297616910e25Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 297716910e25Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 297816910e25Smrgset dummy pkg-config; ac_word=$2 297916910e25Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 298016910e25Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 298116910e25Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 298216910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 298316910e25Smrgelse 298416910e25Smrg case $ac_pt_PKG_CONFIG in 298516910e25Smrg [\\/]* | ?:[\\/]*) 298616910e25Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 298716910e25Smrg ;; 298816910e25Smrg *) 298916910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 299016910e25Smrgfor as_dir in $PATH 299116910e25Smrgdo 299216910e25Smrg IFS=$as_save_IFS 299316910e25Smrg test -z "$as_dir" && as_dir=. 299416910e25Smrg for ac_exec_ext in '' $ac_executable_extensions; do 299516910e25Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 299616910e25Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 299716910e25Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 299816910e25Smrg break 2 299916910e25Smrg fi 300016910e25Smrgdone 300116910e25Smrgdone 300216910e25Smrg 300316910e25Smrg ;; 300416910e25Smrgesac 300516910e25Smrgfi 300616910e25Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 300716910e25Smrg 300816910e25Smrgif test -n "$ac_pt_PKG_CONFIG"; then 300916910e25Smrg echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 301016910e25Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 301116910e25Smrgelse 301216910e25Smrg echo "$as_me:$LINENO: result: no" >&5 301316910e25Smrgecho "${ECHO_T}no" >&6 301416910e25Smrgfi 301516910e25Smrg 301616910e25Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 301716910e25Smrgelse 301816910e25Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 301916910e25Smrgfi 302016910e25Smrg 302116910e25Smrgfi 302216910e25Smrgif test -n "$PKG_CONFIG"; then 302316910e25Smrg _pkg_min_version=0.9.0 302416910e25Smrg echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 302516910e25Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 302616910e25Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 302716910e25Smrg echo "$as_me:$LINENO: result: yes" >&5 302816910e25Smrgecho "${ECHO_T}yes" >&6 302916910e25Smrg else 303016910e25Smrg echo "$as_me:$LINENO: result: no" >&5 303116910e25Smrgecho "${ECHO_T}no" >&6 303216910e25Smrg PKG_CONFIG="" 303316910e25Smrg fi 303416910e25Smrg 303516910e25Smrgfi 303616910e25Smrg 303716910e25Smrg # Check whether --enable-xprint or --disable-xprint was given. 303816910e25Smrgif test "${enable_xprint+set}" = set; then 303916910e25Smrg enableval="$enable_xprint" 304016910e25Smrg use_xprint=$enableval 304116910e25Smrgelse 304216910e25Smrg use_xprint=auto 304316910e25Smrgfi; 304416910e25Smrg if test "x$use_xprint" = "xyes"; then 304516910e25Smrg TMP_CHECK1=xaw8 304616910e25Smrg TMP_CHECK2= 304716910e25Smrg xaw_use_xprint=yes 304816910e25Smrg elif test "x$use_xprint" = "xno"; then 304916910e25Smrg TMP_CHECK1=xaw7 305016910e25Smrg TMP_CHECK2= 305116910e25Smrg xaw_use_xprint=no 305216910e25Smrg else 305316910e25Smrg TMP_CHECK1=xaw8 305416910e25Smrg TMP_CHECK2=xaw7 305516910e25Smrg xaw_use_xprint=yes 305616910e25Smrg fi 305716910e25Smrg 305816910e25Smrg 305916910e25Smrgpkg_failed=no 306016910e25Smrgecho "$as_me:$LINENO: checking for TMP_XAW" >&5 306116910e25Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6 306216910e25Smrg 306316910e25Smrgif test -n "$PKG_CONFIG"; then 306416910e25Smrg if test -n "$TMP_XAW_CFLAGS"; then 306516910e25Smrg pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS" 306616910e25Smrg else 306716910e25Smrg if test -n "$PKG_CONFIG" && \ 306816910e25Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 306916910e25Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 307016910e25Smrg ac_status=$? 307116910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 307216910e25Smrg (exit $ac_status); }; then 307316910e25Smrg pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null` 307416910e25Smrgelse 307516910e25Smrg pkg_failed=yes 307616910e25Smrgfi 307716910e25Smrg fi 307816910e25Smrgelse 307916910e25Smrg pkg_failed=untried 308016910e25Smrgfi 308116910e25Smrgif test -n "$PKG_CONFIG"; then 308216910e25Smrg if test -n "$TMP_XAW_LIBS"; then 308316910e25Smrg pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS" 308416910e25Smrg else 308516910e25Smrg if test -n "$PKG_CONFIG" && \ 308616910e25Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 308716910e25Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 308816910e25Smrg ac_status=$? 308916910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 309016910e25Smrg (exit $ac_status); }; then 309116910e25Smrg pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null` 309216910e25Smrgelse 309316910e25Smrg pkg_failed=yes 309416910e25Smrgfi 309516910e25Smrg fi 309616910e25Smrgelse 309716910e25Smrg pkg_failed=untried 309816910e25Smrgfi 309916910e25Smrg 310016910e25Smrg 310116910e25Smrg 310216910e25Smrgif test $pkg_failed = yes; then 310316910e25Smrg 310416910e25Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 310516910e25Smrg _pkg_short_errors_supported=yes 310616910e25Smrgelse 310716910e25Smrg _pkg_short_errors_supported=no 310816910e25Smrgfi 310916910e25Smrg if test $_pkg_short_errors_supported = yes; then 311016910e25Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK1"` 311116910e25Smrg else 311216910e25Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"` 311316910e25Smrg fi 311416910e25Smrg # Put the nasty error message in config.log where it belongs 311516910e25Smrg echo "$TMP_XAW_PKG_ERRORS" >&5 311616910e25Smrg 311716910e25Smrg success=no 311816910e25Smrgelif test $pkg_failed = untried; then 311916910e25Smrg success=no 312016910e25Smrgelse 312116910e25Smrg TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 312216910e25Smrg TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 312316910e25Smrg echo "$as_me:$LINENO: result: yes" >&5 312416910e25Smrgecho "${ECHO_T}yes" >&6 312516910e25Smrg success=yes 312616910e25Smrgfi 312716910e25Smrg if [ ! -z $TMP_CHECK2 ] ; then 312816910e25Smrg if test $success = no ; then 312916910e25Smrg 313016910e25Smrgpkg_failed=no 313116910e25Smrgecho "$as_me:$LINENO: checking for TMP_XAW" >&5 313216910e25Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6 313316910e25Smrg 313416910e25Smrgif test -n "$PKG_CONFIG"; then 313516910e25Smrg if test -n "$TMP_XAW_CFLAGS"; then 313616910e25Smrg pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS" 313716910e25Smrg else 313816910e25Smrg if test -n "$PKG_CONFIG" && \ 313916910e25Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 314016910e25Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 314116910e25Smrg ac_status=$? 314216910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 314316910e25Smrg (exit $ac_status); }; then 314416910e25Smrg pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null` 314516910e25Smrgelse 314616910e25Smrg pkg_failed=yes 314716910e25Smrgfi 314816910e25Smrg fi 314916910e25Smrgelse 315016910e25Smrg pkg_failed=untried 315116910e25Smrgfi 315216910e25Smrgif test -n "$PKG_CONFIG"; then 315316910e25Smrg if test -n "$TMP_XAW_LIBS"; then 315416910e25Smrg pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS" 315516910e25Smrg else 315616910e25Smrg if test -n "$PKG_CONFIG" && \ 315716910e25Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 315816910e25Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 315916910e25Smrg ac_status=$? 316016910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 316116910e25Smrg (exit $ac_status); }; then 316216910e25Smrg pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null` 316316910e25Smrgelse 316416910e25Smrg pkg_failed=yes 316516910e25Smrgfi 316616910e25Smrg fi 316716910e25Smrgelse 316816910e25Smrg pkg_failed=untried 316916910e25Smrgfi 317016910e25Smrg 317116910e25Smrg 317216910e25Smrg 317316910e25Smrgif test $pkg_failed = yes; then 317416910e25Smrg 317516910e25Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 317616910e25Smrg _pkg_short_errors_supported=yes 317716910e25Smrgelse 317816910e25Smrg _pkg_short_errors_supported=no 317916910e25Smrgfi 318016910e25Smrg if test $_pkg_short_errors_supported = yes; then 318116910e25Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK2"` 318216910e25Smrg else 318316910e25Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"` 318416910e25Smrg fi 318516910e25Smrg # Put the nasty error message in config.log where it belongs 318616910e25Smrg echo "$TMP_XAW_PKG_ERRORS" >&5 318716910e25Smrg 318816910e25Smrg success=no 318916910e25Smrgelif test $pkg_failed = untried; then 319016910e25Smrg success=no 319116910e25Smrgelse 319216910e25Smrg TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 319316910e25Smrg TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 319416910e25Smrg echo "$as_me:$LINENO: result: yes" >&5 319516910e25Smrgecho "${ECHO_T}yes" >&6 319616910e25Smrg success=yes 319716910e25Smrgfi 319816910e25Smrg xaw_use_xprint=no 319916910e25Smrg fi 320016910e25Smrg fi 320116910e25Smrg 320216910e25Smrg if test "x$success" = "xyes"; then 320316910e25Smrg XMORE_CFLAGS=$TMP_XAW_CFLAGS 320416910e25Smrg XMORE_LIBS=$TMP_XAW_LIBS 320516910e25Smrg 320616910e25Smrg 320716910e25Smrg 320816910e25Smrgif test "x$xaw_use_xprint" = "xyes"; then 320916910e25Smrg XAW_USE_XPRINT_TRUE= 321016910e25Smrg XAW_USE_XPRINT_FALSE='#' 321116910e25Smrgelse 321216910e25Smrg XAW_USE_XPRINT_TRUE='#' 321316910e25Smrg XAW_USE_XPRINT_FALSE= 321416910e25Smrgfi 321516910e25Smrg 321616910e25Smrg else 321716910e25Smrg { { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5 321816910e25Smrgecho "$as_me: error: No suitable version of Xaw found" >&2;} 321916910e25Smrg { (exit 1); exit 1; }; } 322016910e25Smrg fi 322116910e25Smrg 322216910e25Smrgif test "x$xaw_use_xprint" = "xyes" ; then 322316910e25Smrg 322416910e25Smrgpkg_failed=no 322516910e25Smrgecho "$as_me:$LINENO: checking for XPRINT_UTIL" >&5 322616910e25Smrgecho $ECHO_N "checking for XPRINT_UTIL... $ECHO_C" >&6 322716910e25Smrg 322816910e25Smrgif test -n "$PKG_CONFIG"; then 322916910e25Smrg if test -n "$XPRINT_UTIL_CFLAGS"; then 323016910e25Smrg pkg_cv_XPRINT_UTIL_CFLAGS="$XPRINT_UTIL_CFLAGS" 323116910e25Smrg else 323216910e25Smrg if test -n "$PKG_CONFIG" && \ 323316910e25Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xprintutil xp\"") >&5 323416910e25Smrg ($PKG_CONFIG --exists --print-errors "xprintutil xp") 2>&5 323516910e25Smrg ac_status=$? 323616910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 323716910e25Smrg (exit $ac_status); }; then 323816910e25Smrg pkg_cv_XPRINT_UTIL_CFLAGS=`$PKG_CONFIG --cflags "xprintutil xp" 2>/dev/null` 323916910e25Smrgelse 324016910e25Smrg pkg_failed=yes 324116910e25Smrgfi 324216910e25Smrg fi 324316910e25Smrgelse 324416910e25Smrg pkg_failed=untried 324516910e25Smrgfi 324616910e25Smrgif test -n "$PKG_CONFIG"; then 324716910e25Smrg if test -n "$XPRINT_UTIL_LIBS"; then 324816910e25Smrg pkg_cv_XPRINT_UTIL_LIBS="$XPRINT_UTIL_LIBS" 324916910e25Smrg else 325016910e25Smrg if test -n "$PKG_CONFIG" && \ 325116910e25Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xprintutil xp\"") >&5 325216910e25Smrg ($PKG_CONFIG --exists --print-errors "xprintutil xp") 2>&5 325316910e25Smrg ac_status=$? 325416910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 325516910e25Smrg (exit $ac_status); }; then 325616910e25Smrg pkg_cv_XPRINT_UTIL_LIBS=`$PKG_CONFIG --libs "xprintutil xp" 2>/dev/null` 325716910e25Smrgelse 325816910e25Smrg pkg_failed=yes 325916910e25Smrgfi 326016910e25Smrg fi 326116910e25Smrgelse 326216910e25Smrg pkg_failed=untried 326316910e25Smrgfi 326416910e25Smrg 326516910e25Smrg 326616910e25Smrg 326716910e25Smrgif test $pkg_failed = yes; then 326816910e25Smrg 326916910e25Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 327016910e25Smrg _pkg_short_errors_supported=yes 327116910e25Smrgelse 327216910e25Smrg _pkg_short_errors_supported=no 327316910e25Smrgfi 327416910e25Smrg if test $_pkg_short_errors_supported = yes; then 327516910e25Smrg XPRINT_UTIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xprintutil xp"` 327616910e25Smrg else 327716910e25Smrg XPRINT_UTIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xprintutil xp"` 327816910e25Smrg fi 327916910e25Smrg # Put the nasty error message in config.log where it belongs 328016910e25Smrg echo "$XPRINT_UTIL_PKG_ERRORS" >&5 328116910e25Smrg 328216910e25Smrg { { echo "$as_me:$LINENO: error: Package requirements (xprintutil xp) were not met: 328316910e25Smrg 328416910e25Smrg$XPRINT_UTIL_PKG_ERRORS 328516910e25Smrg 328616910e25SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 328716910e25Smrginstalled software in a non-standard prefix. 328816910e25Smrg 328916910e25SmrgAlternatively, you may set the environment variables XPRINT_UTIL_CFLAGS 329016910e25Smrgand XPRINT_UTIL_LIBS to avoid the need to call pkg-config. 329116910e25SmrgSee the pkg-config man page for more details. 329216910e25Smrg" >&5 329316910e25Smrgecho "$as_me: error: Package requirements (xprintutil xp) were not met: 329416910e25Smrg 329516910e25Smrg$XPRINT_UTIL_PKG_ERRORS 329616910e25Smrg 329716910e25SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 329816910e25Smrginstalled software in a non-standard prefix. 329916910e25Smrg 330016910e25SmrgAlternatively, you may set the environment variables XPRINT_UTIL_CFLAGS 330116910e25Smrgand XPRINT_UTIL_LIBS to avoid the need to call pkg-config. 330216910e25SmrgSee the pkg-config man page for more details. 330316910e25Smrg" >&2;} 330416910e25Smrg { (exit 1); exit 1; }; } 330516910e25Smrgelif test $pkg_failed = untried; then 330616910e25Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 330716910e25Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 330816910e25Smrgpath to pkg-config. 330916910e25Smrg 331016910e25SmrgAlternatively, you may set the environment variables XPRINT_UTIL_CFLAGS 331116910e25Smrgand XPRINT_UTIL_LIBS to avoid the need to call pkg-config. 331216910e25SmrgSee the pkg-config man page for more details. 331316910e25Smrg 331416910e25SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 331516910e25SmrgSee \`config.log' for more details." >&5 331616910e25Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 331716910e25Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 331816910e25Smrgpath to pkg-config. 331916910e25Smrg 332016910e25SmrgAlternatively, you may set the environment variables XPRINT_UTIL_CFLAGS 332116910e25Smrgand XPRINT_UTIL_LIBS to avoid the need to call pkg-config. 332216910e25SmrgSee the pkg-config man page for more details. 332316910e25Smrg 332416910e25SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 332516910e25SmrgSee \`config.log' for more details." >&2;} 332616910e25Smrg { (exit 1); exit 1; }; } 332716910e25Smrgelse 332816910e25Smrg XPRINT_UTIL_CFLAGS=$pkg_cv_XPRINT_UTIL_CFLAGS 332916910e25Smrg XPRINT_UTIL_LIBS=$pkg_cv_XPRINT_UTIL_LIBS 333016910e25Smrg echo "$as_me:$LINENO: result: yes" >&5 333116910e25Smrgecho "${ECHO_T}yes" >&6 333216910e25Smrg : 333316910e25Smrgfi 333416910e25Smrg 333516910e25Smrg XMORE_CFLAGS="$XMORE_CFLAGS $XPRINT_UTIL_CFLAGS" 333616910e25Smrg XMORE_LIBS="$XMORE_LIBS $XPRINT_UTIL_LIBS" 333716910e25Smrgfi 333816910e25Smrg 333916910e25Smrg 334016910e25Smrg 334116910e25Smrg 334216910e25Smrg 334316910e25Smrgpkg_failed=no 334416910e25Smrgecho "$as_me:$LINENO: checking for APPDEFS" >&5 334516910e25Smrgecho $ECHO_N "checking for APPDEFS... $ECHO_C" >&6 334616910e25Smrg 334716910e25Smrgif test -n "$PKG_CONFIG"; then 334816910e25Smrg if test -n "$APPDEFS_CFLAGS"; then 334916910e25Smrg pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS" 335016910e25Smrg else 335116910e25Smrg if test -n "$PKG_CONFIG" && \ 335216910e25Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 335316910e25Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 335416910e25Smrg ac_status=$? 335516910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 335616910e25Smrg (exit $ac_status); }; then 335716910e25Smrg pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null` 335816910e25Smrgelse 335916910e25Smrg pkg_failed=yes 336016910e25Smrgfi 336116910e25Smrg fi 336216910e25Smrgelse 336316910e25Smrg pkg_failed=untried 336416910e25Smrgfi 336516910e25Smrgif test -n "$PKG_CONFIG"; then 336616910e25Smrg if test -n "$APPDEFS_LIBS"; then 336716910e25Smrg pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS" 336816910e25Smrg else 336916910e25Smrg if test -n "$PKG_CONFIG" && \ 337016910e25Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5 337116910e25Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 337216910e25Smrg ac_status=$? 337316910e25Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 337416910e25Smrg (exit $ac_status); }; then 337516910e25Smrg pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null` 337616910e25Smrgelse 337716910e25Smrg pkg_failed=yes 337816910e25Smrgfi 337916910e25Smrg fi 338016910e25Smrgelse 338116910e25Smrg pkg_failed=untried 338216910e25Smrgfi 338316910e25Smrg 338416910e25Smrg 338516910e25Smrg 338616910e25Smrgif test $pkg_failed = yes; then 338716910e25Smrg 338816910e25Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 338916910e25Smrg _pkg_short_errors_supported=yes 339016910e25Smrgelse 339116910e25Smrg _pkg_short_errors_supported=no 339216910e25Smrgfi 339316910e25Smrg if test $_pkg_short_errors_supported = yes; then 339416910e25Smrg APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xt"` 339516910e25Smrg else 339616910e25Smrg APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"` 339716910e25Smrg fi 339816910e25Smrg # Put the nasty error message in config.log where it belongs 339916910e25Smrg echo "$APPDEFS_PKG_ERRORS" >&5 340016910e25Smrg 340116910e25Smrg { { echo "$as_me:$LINENO: error: Package requirements (xt) were not met: 340216910e25Smrg 340316910e25Smrg$APPDEFS_PKG_ERRORS 340416910e25Smrg 340516910e25SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 340616910e25Smrginstalled software in a non-standard prefix. 340716910e25Smrg 340816910e25SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 340916910e25Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 341016910e25SmrgSee the pkg-config man page for more details. 341116910e25Smrg" >&5 341216910e25Smrgecho "$as_me: error: Package requirements (xt) were not met: 341316910e25Smrg 341416910e25Smrg$APPDEFS_PKG_ERRORS 341516910e25Smrg 341616910e25SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 341716910e25Smrginstalled software in a non-standard prefix. 341816910e25Smrg 341916910e25SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 342016910e25Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 342116910e25SmrgSee the pkg-config man page for more details. 342216910e25Smrg" >&2;} 342316910e25Smrg { (exit 1); exit 1; }; } 342416910e25Smrgelif test $pkg_failed = untried; then 342516910e25Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 342616910e25Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 342716910e25Smrgpath to pkg-config. 342816910e25Smrg 342916910e25SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 343016910e25Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 343116910e25SmrgSee the pkg-config man page for more details. 343216910e25Smrg 343316910e25SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 343416910e25SmrgSee \`config.log' for more details." >&5 343516910e25Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 343616910e25Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 343716910e25Smrgpath to pkg-config. 343816910e25Smrg 343916910e25SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 344016910e25Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 344116910e25SmrgSee the pkg-config man page for more details. 344216910e25Smrg 344316910e25SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 344416910e25SmrgSee \`config.log' for more details." >&2;} 344516910e25Smrg { (exit 1); exit 1; }; } 344616910e25Smrgelse 344716910e25Smrg APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS 344816910e25Smrg APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS 344916910e25Smrg echo "$as_me:$LINENO: result: yes" >&5 345016910e25Smrgecho "${ECHO_T}yes" >&6 345116910e25Smrg : 345216910e25Smrgfi 345316910e25Smrgappdefaultdir=$(pkg-config --variable=appdefaultdir xt) 345416910e25Smrg 345516910e25Smrg 345616910e25Smrg# Make sure we can run config.sub. 345716910e25Smrg$ac_config_sub sun4 >/dev/null 2>&1 || 345816910e25Smrg { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 345916910e25Smrgecho "$as_me: error: cannot run $ac_config_sub" >&2;} 346016910e25Smrg { (exit 1); exit 1; }; } 346116910e25Smrg 346216910e25Smrgecho "$as_me:$LINENO: checking build system type" >&5 346316910e25Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6 346416910e25Smrgif test "${ac_cv_build+set}" = set; then 346516910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 346616910e25Smrgelse 346716910e25Smrg ac_cv_build_alias=$build_alias 346816910e25Smrgtest -z "$ac_cv_build_alias" && 346916910e25Smrg ac_cv_build_alias=`$ac_config_guess` 347016910e25Smrgtest -z "$ac_cv_build_alias" && 347116910e25Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 347216910e25Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 347316910e25Smrg { (exit 1); exit 1; }; } 347416910e25Smrgac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 347516910e25Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 347616910e25Smrgecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 347716910e25Smrg { (exit 1); exit 1; }; } 347816910e25Smrg 347916910e25Smrgfi 348016910e25Smrgecho "$as_me:$LINENO: result: $ac_cv_build" >&5 348116910e25Smrgecho "${ECHO_T}$ac_cv_build" >&6 348216910e25Smrgbuild=$ac_cv_build 348316910e25Smrgbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 348416910e25Smrgbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 348516910e25Smrgbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 348616910e25Smrg 348716910e25Smrg 348816910e25Smrgecho "$as_me:$LINENO: checking host system type" >&5 348916910e25Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6 349016910e25Smrgif test "${ac_cv_host+set}" = set; then 349116910e25Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 349216910e25Smrgelse 349316910e25Smrg ac_cv_host_alias=$host_alias 349416910e25Smrgtest -z "$ac_cv_host_alias" && 349516910e25Smrg ac_cv_host_alias=$ac_cv_build_alias 349616910e25Smrgac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 349716910e25Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 349816910e25Smrgecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 349916910e25Smrg { (exit 1); exit 1; }; } 350016910e25Smrg 350116910e25Smrgfi 350216910e25Smrgecho "$as_me:$LINENO: result: $ac_cv_host" >&5 350316910e25Smrgecho "${ECHO_T}$ac_cv_host" >&6 350416910e25Smrghost=$ac_cv_host 350516910e25Smrghost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 350616910e25Smrghost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 350716910e25Smrghost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 350816910e25Smrg 350916910e25Smrg 351016910e25Smrg 351116910e25Smrg 351216910e25Smrg 351316910e25Smrgif test x$APP_MAN_SUFFIX = x ; then 351416910e25Smrg case $host_os in 351516910e25Smrg linux*) APP_MAN_SUFFIX=1x ;; 351616910e25Smrg *) APP_MAN_SUFFIX=1 ;; 351716910e25Smrg esac 351816910e25Smrgfi 351916910e25Smrgif test x$APP_MAN_DIR = x ; then 352016910e25Smrg case $host_os in 352116910e25Smrg linux*) APP_MAN_DIR='$(mandir)/man1' ;; 352216910e25Smrg *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;; 352316910e25Smrg esac 352416910e25Smrgfi 352516910e25Smrg 352616910e25Smrgif test x$LIB_MAN_SUFFIX = x ; then 352716910e25Smrg case $host_os in 352816910e25Smrg linux*) LIB_MAN_SUFFIX=3x ;; 352916910e25Smrg *) LIB_MAN_SUFFIX=3 ;; 353016910e25Smrg esac 353116910e25Smrgfi 353216910e25Smrgif test x$LIB_MAN_DIR = x ; then 353316910e25Smrg case $host_os in 353416910e25Smrg linux*) LIB_MAN_DIR='$(mandir)/man3' ;; 353516910e25Smrg *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;; 353616910e25Smrg esac 353716910e25Smrgfi 353816910e25Smrg 353916910e25Smrgif test x$FILE_MAN_SUFFIX = x ; then 354016910e25Smrg case $host_os in 354116910e25Smrg linux*) FILE_MAN_SUFFIX=5x ;; 354216910e25Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 354316910e25Smrg *) FILE_MAN_SUFFIX=5 ;; 354416910e25Smrg esac 354516910e25Smrgfi 354616910e25Smrgif test x$FILE_MAN_DIR = x ; then 354716910e25Smrg case $host_os in 354816910e25Smrg linux*) FILE_MAN_DIR='$(mandir)/man5' ;; 354916910e25Smrg *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;; 355016910e25Smrg esac 355116910e25Smrgfi 355216910e25Smrg 355316910e25Smrg# In Imake's linux.cf, the misc man suffix & dir was only changed for 355416910e25Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 355516910e25Smrgif test x$MISC_MAN_SUFFIX = x ; then 355616910e25Smrg case $host_os in 355716910e25Smrg# linux*) MISC_MAN_SUFFIX=7x ;; 355816910e25Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 355916910e25Smrg *) MISC_MAN_SUFFIX=7 ;; 356016910e25Smrg esac 356116910e25Smrgfi 356216910e25Smrgif test x$MISC_MAN_DIR = x ; then 356316910e25Smrg case $host_os in 356416910e25Smrg# linux*) MISC_MAN_DIR='$(mandir)/man7' ;; 356516910e25Smrg *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;; 356616910e25Smrg esac 356716910e25Smrgfi 356816910e25Smrg 356916910e25Smrg# In Imake's linux.cf, the driver man suffix & dir was only changed for 357016910e25Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 357116910e25Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 357216910e25Smrg case $host_os in 357316910e25Smrg# linux*) DRIVER_MAN_SUFFIX=4x ;; 357416910e25Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 357516910e25Smrg *) DRIVER_MAN_SUFFIX=4 ;; 357616910e25Smrg esac 357716910e25Smrgfi 357816910e25Smrgif test x$DRIVER_MAN_DIR = x ; then 357916910e25Smrg case $host_os in 358016910e25Smrg# linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;; 358116910e25Smrg *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;; 358216910e25Smrg esac 358316910e25Smrgfi 358416910e25Smrg 358516910e25Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 358616910e25Smrg case $host_os in 358716910e25Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 358816910e25Smrg *) ADMIN_MAN_SUFFIX=8 ;; 358916910e25Smrg esac 359016910e25Smrgfi 359116910e25Smrgif test x$ADMIN_MAN_DIR = x ; then 359216910e25Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 359316910e25Smrgfi 359416910e25Smrg 359516910e25Smrg 359616910e25Smrg 359716910e25Smrg 359816910e25Smrg 359916910e25Smrg 360016910e25Smrg 360116910e25Smrg 360216910e25Smrg 360316910e25Smrg 360416910e25Smrg 360516910e25Smrg 360616910e25Smrg 360716910e25Smrg 360816910e25Smrg 360916910e25Smrg 361016910e25Smrg 361116910e25Smrg# Check whether --with-release-version or --without-release-version was given. 361216910e25Smrgif test "${with_release_version+set}" = set; then 361316910e25Smrg withval="$with_release_version" 361416910e25Smrg RELEASE_VERSION="$withval" 361516910e25Smrgelse 361616910e25Smrg RELEASE_VERSION="" 361716910e25Smrgfi; 361816910e25Smrg if test "x$RELEASE_VERSION" != "x"; then 361916910e25Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 362016910e25Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 362116910e25Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 362216910e25Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 362316910e25Smrg fi 362416910e25Smrg 362516910e25Smrg 362616910e25Smrg ac_config_files="$ac_config_files Makefile" 362716910e25Smrgcat >confcache <<\_ACEOF 362816910e25Smrg# This file is a shell script that caches the results of configure 362916910e25Smrg# tests run on this system so they can be shared between configure 363016910e25Smrg# scripts and configure runs, see configure's option --config-cache. 363116910e25Smrg# It is not useful on other systems. If it contains results you don't 363216910e25Smrg# want to keep, you may remove or edit it. 363316910e25Smrg# 363416910e25Smrg# config.status only pays attention to the cache file if you give it 363516910e25Smrg# the --recheck option to rerun configure. 363616910e25Smrg# 363716910e25Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 363816910e25Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 363916910e25Smrg# following values. 364016910e25Smrg 364116910e25Smrg_ACEOF 364216910e25Smrg 364316910e25Smrg# The following way of writing the cache mishandles newlines in values, 364416910e25Smrg# but we know of no workaround that is simple, portable, and efficient. 364516910e25Smrg# So, don't put newlines in cache variables' values. 364616910e25Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 364716910e25Smrg# and sets the high bit in the cache file unless we assign to the vars. 364816910e25Smrg{ 364916910e25Smrg (set) 2>&1 | 365016910e25Smrg case `(ac_space=' '; set | grep ac_space) 2>&1` in 365116910e25Smrg *ac_space=\ *) 365216910e25Smrg # `set' does not quote correctly, so add quotes (double-quote 365316910e25Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 365416910e25Smrg sed -n \ 365516910e25Smrg "s/'/'\\\\''/g; 365616910e25Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 365716910e25Smrg ;; 365816910e25Smrg *) 365916910e25Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 366016910e25Smrg sed -n \ 366116910e25Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 366216910e25Smrg ;; 366316910e25Smrg esac; 366416910e25Smrg} | 366516910e25Smrg sed ' 366616910e25Smrg t clear 366716910e25Smrg : clear 366816910e25Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 366916910e25Smrg t end 367016910e25Smrg /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 367116910e25Smrg : end' >>confcache 367216910e25Smrgif diff $cache_file confcache >/dev/null 2>&1; then :; else 367316910e25Smrg if test -w $cache_file; then 367416910e25Smrg test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 367516910e25Smrg cat confcache >$cache_file 367616910e25Smrg else 367716910e25Smrg echo "not updating unwritable cache $cache_file" 367816910e25Smrg fi 367916910e25Smrgfi 368016910e25Smrgrm -f confcache 368116910e25Smrg 368216910e25Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 368316910e25Smrg# Let make expand exec_prefix. 368416910e25Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 368516910e25Smrg 368616910e25Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 368716910e25Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 368816910e25Smrg# trailing colons and then remove the whole line if VPATH becomes empty 368916910e25Smrg# (actually we leave an empty line to preserve line numbers). 369016910e25Smrgif test "x$srcdir" = x.; then 369116910e25Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 369216910e25Smrgs/:*\$(srcdir):*/:/; 369316910e25Smrgs/:*\${srcdir}:*/:/; 369416910e25Smrgs/:*@srcdir@:*/:/; 369516910e25Smrgs/^\([^=]*=[ ]*\):*/\1/; 369616910e25Smrgs/:*$//; 369716910e25Smrgs/^[^=]*=[ ]*$//; 369816910e25Smrg}' 369916910e25Smrgfi 370016910e25Smrg 370116910e25SmrgDEFS=-DHAVE_CONFIG_H 370216910e25Smrg 370316910e25Smrgac_libobjs= 370416910e25Smrgac_ltlibobjs= 370516910e25Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 370616910e25Smrg # 1. Remove the extension, and $U if already installed. 370716910e25Smrg ac_i=`echo "$ac_i" | 370816910e25Smrg sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 370916910e25Smrg # 2. Add them. 371016910e25Smrg ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 371116910e25Smrg ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 371216910e25Smrgdone 371316910e25SmrgLIBOBJS=$ac_libobjs 371416910e25Smrg 371516910e25SmrgLTLIBOBJS=$ac_ltlibobjs 371616910e25Smrg 371716910e25Smrg 371816910e25Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 371916910e25Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 372016910e25SmrgUsually this means the macro was only invoked conditionally." >&5 372116910e25Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 372216910e25SmrgUsually this means the macro was only invoked conditionally." >&2;} 372316910e25Smrg { (exit 1); exit 1; }; } 372416910e25Smrgfi 372516910e25Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 372616910e25Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 372716910e25SmrgUsually this means the macro was only invoked conditionally." >&5 372816910e25Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 372916910e25SmrgUsually this means the macro was only invoked conditionally." >&2;} 373016910e25Smrg { (exit 1); exit 1; }; } 373116910e25Smrgfi 373216910e25Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 373316910e25Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 373416910e25SmrgUsually this means the macro was only invoked conditionally." >&5 373516910e25Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 373616910e25SmrgUsually this means the macro was only invoked conditionally." >&2;} 373716910e25Smrg { (exit 1); exit 1; }; } 373816910e25Smrgfi 373916910e25Smrgif test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then 374016910e25Smrg { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined. 374116910e25SmrgUsually this means the macro was only invoked conditionally." >&5 374216910e25Smrgecho "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined. 374316910e25SmrgUsually this means the macro was only invoked conditionally." >&2;} 374416910e25Smrg { (exit 1); exit 1; }; } 374516910e25Smrgfi 374616910e25Smrg 374716910e25Smrg: ${CONFIG_STATUS=./config.status} 374816910e25Smrgac_clean_files_save=$ac_clean_files 374916910e25Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 375016910e25Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 375116910e25Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 375216910e25Smrgcat >$CONFIG_STATUS <<_ACEOF 375316910e25Smrg#! $SHELL 375416910e25Smrg# Generated by $as_me. 375516910e25Smrg# Run this file to recreate the current configuration. 375616910e25Smrg# Compiler output produced by configure, useful for debugging 375716910e25Smrg# configure, is in config.log if it exists. 375816910e25Smrg 375916910e25Smrgdebug=false 376016910e25Smrgac_cs_recheck=false 376116910e25Smrgac_cs_silent=false 376216910e25SmrgSHELL=\${CONFIG_SHELL-$SHELL} 376316910e25Smrg_ACEOF 376416910e25Smrg 376516910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 376616910e25Smrg## --------------------- ## 376716910e25Smrg## M4sh Initialization. ## 376816910e25Smrg## --------------------- ## 376916910e25Smrg 377016910e25Smrg# Be Bourne compatible 377116910e25Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 377216910e25Smrg emulate sh 377316910e25Smrg NULLCMD=: 377416910e25Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 377516910e25Smrg # is contrary to our usage. Disable this feature. 377616910e25Smrg alias -g '${1+"$@"}'='"$@"' 377716910e25Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 377816910e25Smrg set -o posix 377916910e25Smrgfi 378016910e25SmrgDUALCASE=1; export DUALCASE # for MKS sh 378116910e25Smrg 378216910e25Smrg# Support unset when possible. 378316910e25Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 378416910e25Smrg as_unset=unset 378516910e25Smrgelse 378616910e25Smrg as_unset=false 378716910e25Smrgfi 378816910e25Smrg 378916910e25Smrg 379016910e25Smrg# Work around bugs in pre-3.0 UWIN ksh. 379116910e25Smrg$as_unset ENV MAIL MAILPATH 379216910e25SmrgPS1='$ ' 379316910e25SmrgPS2='> ' 379416910e25SmrgPS4='+ ' 379516910e25Smrg 379616910e25Smrg# NLS nuisances. 379716910e25Smrgfor as_var in \ 379816910e25Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 379916910e25Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 380016910e25Smrg LC_TELEPHONE LC_TIME 380116910e25Smrgdo 380216910e25Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 380316910e25Smrg eval $as_var=C; export $as_var 380416910e25Smrg else 380516910e25Smrg $as_unset $as_var 380616910e25Smrg fi 380716910e25Smrgdone 380816910e25Smrg 380916910e25Smrg# Required to use basename. 381016910e25Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 381116910e25Smrg as_expr=expr 381216910e25Smrgelse 381316910e25Smrg as_expr=false 381416910e25Smrgfi 381516910e25Smrg 381616910e25Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 381716910e25Smrg as_basename=basename 381816910e25Smrgelse 381916910e25Smrg as_basename=false 382016910e25Smrgfi 382116910e25Smrg 382216910e25Smrg 382316910e25Smrg# Name of the executable. 382416910e25Smrgas_me=`$as_basename "$0" || 382516910e25Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 382616910e25Smrg X"$0" : 'X\(//\)$' \| \ 382716910e25Smrg X"$0" : 'X\(/\)$' \| \ 382816910e25Smrg . : '\(.\)' 2>/dev/null || 382916910e25Smrgecho X/"$0" | 383016910e25Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 383116910e25Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 383216910e25Smrg /^X\/\(\/\).*/{ s//\1/; q; } 383316910e25Smrg s/.*/./; q'` 383416910e25Smrg 383516910e25Smrg 383616910e25Smrg# PATH needs CR, and LINENO needs CR and PATH. 383716910e25Smrg# Avoid depending upon Character Ranges. 383816910e25Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 383916910e25Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 384016910e25Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 384116910e25Smrgas_cr_digits='0123456789' 384216910e25Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 384316910e25Smrg 384416910e25Smrg# The user is always right. 384516910e25Smrgif test "${PATH_SEPARATOR+set}" != set; then 384616910e25Smrg echo "#! /bin/sh" >conf$$.sh 384716910e25Smrg echo "exit 0" >>conf$$.sh 384816910e25Smrg chmod +x conf$$.sh 384916910e25Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 385016910e25Smrg PATH_SEPARATOR=';' 385116910e25Smrg else 385216910e25Smrg PATH_SEPARATOR=: 385316910e25Smrg fi 385416910e25Smrg rm -f conf$$.sh 385516910e25Smrgfi 385616910e25Smrg 385716910e25Smrg 385816910e25Smrg as_lineno_1=$LINENO 385916910e25Smrg as_lineno_2=$LINENO 386016910e25Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 386116910e25Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 386216910e25Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 386316910e25Smrg # Find who we are. Look in the path if we contain no path at all 386416910e25Smrg # relative or not. 386516910e25Smrg case $0 in 386616910e25Smrg *[\\/]* ) as_myself=$0 ;; 386716910e25Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 386816910e25Smrgfor as_dir in $PATH 386916910e25Smrgdo 387016910e25Smrg IFS=$as_save_IFS 387116910e25Smrg test -z "$as_dir" && as_dir=. 387216910e25Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 387316910e25Smrgdone 387416910e25Smrg 387516910e25Smrg ;; 387616910e25Smrg esac 387716910e25Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 387816910e25Smrg # in which case we are not to be found in the path. 387916910e25Smrg if test "x$as_myself" = x; then 388016910e25Smrg as_myself=$0 388116910e25Smrg fi 388216910e25Smrg if test ! -f "$as_myself"; then 388316910e25Smrg { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 388416910e25Smrgecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 388516910e25Smrg { (exit 1); exit 1; }; } 388616910e25Smrg fi 388716910e25Smrg case $CONFIG_SHELL in 388816910e25Smrg '') 388916910e25Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 389016910e25Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 389116910e25Smrgdo 389216910e25Smrg IFS=$as_save_IFS 389316910e25Smrg test -z "$as_dir" && as_dir=. 389416910e25Smrg for as_base in sh bash ksh sh5; do 389516910e25Smrg case $as_dir in 389616910e25Smrg /*) 389716910e25Smrg if ("$as_dir/$as_base" -c ' 389816910e25Smrg as_lineno_1=$LINENO 389916910e25Smrg as_lineno_2=$LINENO 390016910e25Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 390116910e25Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 390216910e25Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 390316910e25Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 390416910e25Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 390516910e25Smrg CONFIG_SHELL=$as_dir/$as_base 390616910e25Smrg export CONFIG_SHELL 390716910e25Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 390816910e25Smrg fi;; 390916910e25Smrg esac 391016910e25Smrg done 391116910e25Smrgdone 391216910e25Smrg;; 391316910e25Smrg esac 391416910e25Smrg 391516910e25Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 391616910e25Smrg # uniformly replaced by the line number. The first 'sed' inserts a 391716910e25Smrg # line-number line before each line; the second 'sed' does the real 391816910e25Smrg # work. The second script uses 'N' to pair each line-number line 391916910e25Smrg # with the numbered line, and appends trailing '-' during 392016910e25Smrg # substitution so that $LINENO is not a special case at line end. 392116910e25Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 392216910e25Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 392316910e25Smrg sed '=' <$as_myself | 392416910e25Smrg sed ' 392516910e25Smrg N 392616910e25Smrg s,$,-, 392716910e25Smrg : loop 392816910e25Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 392916910e25Smrg t loop 393016910e25Smrg s,-$,, 393116910e25Smrg s,^['$as_cr_digits']*\n,, 393216910e25Smrg ' >$as_me.lineno && 393316910e25Smrg chmod +x $as_me.lineno || 393416910e25Smrg { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 393516910e25Smrgecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 393616910e25Smrg { (exit 1); exit 1; }; } 393716910e25Smrg 393816910e25Smrg # Don't try to exec as it changes $[0], causing all sort of problems 393916910e25Smrg # (the dirname of $[0] is not the place where we might find the 394016910e25Smrg # original and so on. Autoconf is especially sensible to this). 394116910e25Smrg . ./$as_me.lineno 394216910e25Smrg # Exit status is that of the last command. 394316910e25Smrg exit 394416910e25Smrg} 394516910e25Smrg 394616910e25Smrg 394716910e25Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 394816910e25Smrg *c*,-n*) ECHO_N= ECHO_C=' 394916910e25Smrg' ECHO_T=' ' ;; 395016910e25Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 395116910e25Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 395216910e25Smrgesac 395316910e25Smrg 395416910e25Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 395516910e25Smrg as_expr=expr 395616910e25Smrgelse 395716910e25Smrg as_expr=false 395816910e25Smrgfi 395916910e25Smrg 396016910e25Smrgrm -f conf$$ conf$$.exe conf$$.file 396116910e25Smrgecho >conf$$.file 396216910e25Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 396316910e25Smrg # We could just check for DJGPP; but this test a) works b) is more generic 396416910e25Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 396516910e25Smrg if test -f conf$$.exe; then 396616910e25Smrg # Don't use ln at all; we don't have any links 396716910e25Smrg as_ln_s='cp -p' 396816910e25Smrg else 396916910e25Smrg as_ln_s='ln -s' 397016910e25Smrg fi 397116910e25Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 397216910e25Smrg as_ln_s=ln 397316910e25Smrgelse 397416910e25Smrg as_ln_s='cp -p' 397516910e25Smrgfi 397616910e25Smrgrm -f conf$$ conf$$.exe conf$$.file 397716910e25Smrg 397816910e25Smrgif mkdir -p . 2>/dev/null; then 397916910e25Smrg as_mkdir_p=: 398016910e25Smrgelse 398116910e25Smrg test -d ./-p && rmdir ./-p 398216910e25Smrg as_mkdir_p=false 398316910e25Smrgfi 398416910e25Smrg 398516910e25Smrgas_executable_p="test -f" 398616910e25Smrg 398716910e25Smrg# Sed expression to map a string onto a valid CPP name. 398816910e25Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 398916910e25Smrg 399016910e25Smrg# Sed expression to map a string onto a valid variable name. 399116910e25Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 399216910e25Smrg 399316910e25Smrg 399416910e25Smrg# IFS 399516910e25Smrg# We need space, tab and new line, in precisely that order. 399616910e25Smrgas_nl=' 399716910e25Smrg' 399816910e25SmrgIFS=" $as_nl" 399916910e25Smrg 400016910e25Smrg# CDPATH. 400116910e25Smrg$as_unset CDPATH 400216910e25Smrg 400316910e25Smrgexec 6>&1 400416910e25Smrg 400516910e25Smrg# Open the log real soon, to keep \$[0] and so on meaningful, and to 400616910e25Smrg# report actual input values of CONFIG_FILES etc. instead of their 400716910e25Smrg# values after options handling. Logging --version etc. is OK. 400816910e25Smrgexec 5>>config.log 400916910e25Smrg{ 401016910e25Smrg echo 401116910e25Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 401216910e25Smrg## Running $as_me. ## 401316910e25Smrg_ASBOX 401416910e25Smrg} >&5 401516910e25Smrgcat >&5 <<_CSEOF 401616910e25Smrg 401716910e25SmrgThis file was extended by xmore $as_me 1.0.1, which was 401816910e25Smrggenerated by GNU Autoconf 2.59. Invocation command line was 401916910e25Smrg 402016910e25Smrg CONFIG_FILES = $CONFIG_FILES 402116910e25Smrg CONFIG_HEADERS = $CONFIG_HEADERS 402216910e25Smrg CONFIG_LINKS = $CONFIG_LINKS 402316910e25Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 402416910e25Smrg $ $0 $@ 402516910e25Smrg 402616910e25Smrg_CSEOF 402716910e25Smrgecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 402816910e25Smrgecho >&5 402916910e25Smrg_ACEOF 403016910e25Smrg 403116910e25Smrg# Files that config.status was made for. 403216910e25Smrgif test -n "$ac_config_files"; then 403316910e25Smrg echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 403416910e25Smrgfi 403516910e25Smrg 403616910e25Smrgif test -n "$ac_config_headers"; then 403716910e25Smrg echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 403816910e25Smrgfi 403916910e25Smrg 404016910e25Smrgif test -n "$ac_config_links"; then 404116910e25Smrg echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 404216910e25Smrgfi 404316910e25Smrg 404416910e25Smrgif test -n "$ac_config_commands"; then 404516910e25Smrg echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 404616910e25Smrgfi 404716910e25Smrg 404816910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 404916910e25Smrg 405016910e25Smrgac_cs_usage="\ 405116910e25Smrg\`$as_me' instantiates files from templates according to the 405216910e25Smrgcurrent configuration. 405316910e25Smrg 405416910e25SmrgUsage: $0 [OPTIONS] [FILE]... 405516910e25Smrg 405616910e25Smrg -h, --help print this help, then exit 405716910e25Smrg -V, --version print version number, then exit 405816910e25Smrg -q, --quiet do not print progress messages 405916910e25Smrg -d, --debug don't remove temporary files 406016910e25Smrg --recheck update $as_me by reconfiguring in the same conditions 406116910e25Smrg --file=FILE[:TEMPLATE] 406216910e25Smrg instantiate the configuration file FILE 406316910e25Smrg --header=FILE[:TEMPLATE] 406416910e25Smrg instantiate the configuration header FILE 406516910e25Smrg 406616910e25SmrgConfiguration files: 406716910e25Smrg$config_files 406816910e25Smrg 406916910e25SmrgConfiguration headers: 407016910e25Smrg$config_headers 407116910e25Smrg 407216910e25SmrgConfiguration commands: 407316910e25Smrg$config_commands 407416910e25Smrg 407516910e25SmrgReport bugs to <bug-autoconf@gnu.org>." 407616910e25Smrg_ACEOF 407716910e25Smrg 407816910e25Smrgcat >>$CONFIG_STATUS <<_ACEOF 407916910e25Smrgac_cs_version="\\ 408016910e25Smrgxmore config.status 1.0.1 408116910e25Smrgconfigured by $0, generated by GNU Autoconf 2.59, 408216910e25Smrg with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 408316910e25Smrg 408416910e25SmrgCopyright (C) 2003 Free Software Foundation, Inc. 408516910e25SmrgThis config.status script is free software; the Free Software Foundation 408616910e25Smrggives unlimited permission to copy, distribute and modify it." 408716910e25Smrgsrcdir=$srcdir 408816910e25SmrgINSTALL="$INSTALL" 408916910e25Smrg_ACEOF 409016910e25Smrg 409116910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 409216910e25Smrg# If no file are specified by the user, then we need to provide default 409316910e25Smrg# value. By we need to know if files were specified by the user. 409416910e25Smrgac_need_defaults=: 409516910e25Smrgwhile test $# != 0 409616910e25Smrgdo 409716910e25Smrg case $1 in 409816910e25Smrg --*=*) 409916910e25Smrg ac_option=`expr "x$1" : 'x\([^=]*\)='` 410016910e25Smrg ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 410116910e25Smrg ac_shift=: 410216910e25Smrg ;; 410316910e25Smrg -*) 410416910e25Smrg ac_option=$1 410516910e25Smrg ac_optarg=$2 410616910e25Smrg ac_shift=shift 410716910e25Smrg ;; 410816910e25Smrg *) # This is not an option, so the user has probably given explicit 410916910e25Smrg # arguments. 411016910e25Smrg ac_option=$1 411116910e25Smrg ac_need_defaults=false;; 411216910e25Smrg esac 411316910e25Smrg 411416910e25Smrg case $ac_option in 411516910e25Smrg # Handling of the options. 411616910e25Smrg_ACEOF 411716910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 411816910e25Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 411916910e25Smrg ac_cs_recheck=: ;; 412016910e25Smrg --version | --vers* | -V ) 412116910e25Smrg echo "$ac_cs_version"; exit 0 ;; 412216910e25Smrg --he | --h) 412316910e25Smrg # Conflict between --help and --header 412416910e25Smrg { { echo "$as_me:$LINENO: error: ambiguous option: $1 412516910e25SmrgTry \`$0 --help' for more information." >&5 412616910e25Smrgecho "$as_me: error: ambiguous option: $1 412716910e25SmrgTry \`$0 --help' for more information." >&2;} 412816910e25Smrg { (exit 1); exit 1; }; };; 412916910e25Smrg --help | --hel | -h ) 413016910e25Smrg echo "$ac_cs_usage"; exit 0 ;; 413116910e25Smrg --debug | --d* | -d ) 413216910e25Smrg debug=: ;; 413316910e25Smrg --file | --fil | --fi | --f ) 413416910e25Smrg $ac_shift 413516910e25Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 413616910e25Smrg ac_need_defaults=false;; 413716910e25Smrg --header | --heade | --head | --hea ) 413816910e25Smrg $ac_shift 413916910e25Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 414016910e25Smrg ac_need_defaults=false;; 414116910e25Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 414216910e25Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 414316910e25Smrg ac_cs_silent=: ;; 414416910e25Smrg 414516910e25Smrg # This is an error. 414616910e25Smrg -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 414716910e25SmrgTry \`$0 --help' for more information." >&5 414816910e25Smrgecho "$as_me: error: unrecognized option: $1 414916910e25SmrgTry \`$0 --help' for more information." >&2;} 415016910e25Smrg { (exit 1); exit 1; }; } ;; 415116910e25Smrg 415216910e25Smrg *) ac_config_targets="$ac_config_targets $1" ;; 415316910e25Smrg 415416910e25Smrg esac 415516910e25Smrg shift 415616910e25Smrgdone 415716910e25Smrg 415816910e25Smrgac_configure_extra_args= 415916910e25Smrg 416016910e25Smrgif $ac_cs_silent; then 416116910e25Smrg exec 6>/dev/null 416216910e25Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 416316910e25Smrgfi 416416910e25Smrg 416516910e25Smrg_ACEOF 416616910e25Smrgcat >>$CONFIG_STATUS <<_ACEOF 416716910e25Smrgif \$ac_cs_recheck; then 416816910e25Smrg echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 416916910e25Smrg exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 417016910e25Smrgfi 417116910e25Smrg 417216910e25Smrg_ACEOF 417316910e25Smrg 417416910e25Smrgcat >>$CONFIG_STATUS <<_ACEOF 417516910e25Smrg# 417616910e25Smrg# INIT-COMMANDS section. 417716910e25Smrg# 417816910e25Smrg 417916910e25SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 418016910e25Smrg 418116910e25Smrg_ACEOF 418216910e25Smrg 418316910e25Smrg 418416910e25Smrg 418516910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 418616910e25Smrgfor ac_config_target in $ac_config_targets 418716910e25Smrgdo 418816910e25Smrg case "$ac_config_target" in 418916910e25Smrg # Handling of arguments. 419016910e25Smrg "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 419116910e25Smrg "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 419216910e25Smrg "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 419316910e25Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 419416910e25Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 419516910e25Smrg { (exit 1); exit 1; }; };; 419616910e25Smrg esac 419716910e25Smrgdone 419816910e25Smrg 419916910e25Smrg# If the user did not use the arguments to specify the items to instantiate, 420016910e25Smrg# then the envvar interface is used. Set only those that are not. 420116910e25Smrg# We use the long form for the default assignment because of an extremely 420216910e25Smrg# bizarre bug on SunOS 4.1.3. 420316910e25Smrgif $ac_need_defaults; then 420416910e25Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 420516910e25Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 420616910e25Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 420716910e25Smrgfi 420816910e25Smrg 420916910e25Smrg# Have a temporary directory for convenience. Make it in the build tree 421016910e25Smrg# simply because there is no reason to put it here, and in addition, 421116910e25Smrg# creating and moving files from /tmp can sometimes cause problems. 421216910e25Smrg# Create a temporary directory, and hook for its removal unless debugging. 421316910e25Smrg$debug || 421416910e25Smrg{ 421516910e25Smrg trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 421616910e25Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 421716910e25Smrg} 421816910e25Smrg 421916910e25Smrg# Create a (secure) tmp directory for tmp files. 422016910e25Smrg 422116910e25Smrg{ 422216910e25Smrg tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 422316910e25Smrg test -n "$tmp" && test -d "$tmp" 422416910e25Smrg} || 422516910e25Smrg{ 422616910e25Smrg tmp=./confstat$$-$RANDOM 422716910e25Smrg (umask 077 && mkdir $tmp) 422816910e25Smrg} || 422916910e25Smrg{ 423016910e25Smrg echo "$me: cannot create a temporary directory in ." >&2 423116910e25Smrg { (exit 1); exit 1; } 423216910e25Smrg} 423316910e25Smrg 423416910e25Smrg_ACEOF 423516910e25Smrg 423616910e25Smrgcat >>$CONFIG_STATUS <<_ACEOF 423716910e25Smrg 423816910e25Smrg# 423916910e25Smrg# CONFIG_FILES section. 424016910e25Smrg# 424116910e25Smrg 424216910e25Smrg# No need to generate the scripts if there are no CONFIG_FILES. 424316910e25Smrg# This happens for instance when ./config.status config.h 424416910e25Smrgif test -n "\$CONFIG_FILES"; then 424516910e25Smrg # Protect against being on the right side of a sed subst in config.status. 424616910e25Smrg sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 424716910e25Smrg s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 424816910e25Smrgs,@SHELL@,$SHELL,;t t 424916910e25Smrgs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 425016910e25Smrgs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 425116910e25Smrgs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 425216910e25Smrgs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 425316910e25Smrgs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 425416910e25Smrgs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 425516910e25Smrgs,@exec_prefix@,$exec_prefix,;t t 425616910e25Smrgs,@prefix@,$prefix,;t t 425716910e25Smrgs,@program_transform_name@,$program_transform_name,;t t 425816910e25Smrgs,@bindir@,$bindir,;t t 425916910e25Smrgs,@sbindir@,$sbindir,;t t 426016910e25Smrgs,@libexecdir@,$libexecdir,;t t 426116910e25Smrgs,@datadir@,$datadir,;t t 426216910e25Smrgs,@sysconfdir@,$sysconfdir,;t t 426316910e25Smrgs,@sharedstatedir@,$sharedstatedir,;t t 426416910e25Smrgs,@localstatedir@,$localstatedir,;t t 426516910e25Smrgs,@libdir@,$libdir,;t t 426616910e25Smrgs,@includedir@,$includedir,;t t 426716910e25Smrgs,@oldincludedir@,$oldincludedir,;t t 426816910e25Smrgs,@infodir@,$infodir,;t t 426916910e25Smrgs,@mandir@,$mandir,;t t 427016910e25Smrgs,@build_alias@,$build_alias,;t t 427116910e25Smrgs,@host_alias@,$host_alias,;t t 427216910e25Smrgs,@target_alias@,$target_alias,;t t 427316910e25Smrgs,@DEFS@,$DEFS,;t t 427416910e25Smrgs,@ECHO_C@,$ECHO_C,;t t 427516910e25Smrgs,@ECHO_N@,$ECHO_N,;t t 427616910e25Smrgs,@ECHO_T@,$ECHO_T,;t t 427716910e25Smrgs,@LIBS@,$LIBS,;t t 427816910e25Smrgs,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 427916910e25Smrgs,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 428016910e25Smrgs,@INSTALL_DATA@,$INSTALL_DATA,;t t 428116910e25Smrgs,@CYGPATH_W@,$CYGPATH_W,;t t 428216910e25Smrgs,@PACKAGE@,$PACKAGE,;t t 428316910e25Smrgs,@VERSION@,$VERSION,;t t 428416910e25Smrgs,@ACLOCAL@,$ACLOCAL,;t t 428516910e25Smrgs,@AUTOCONF@,$AUTOCONF,;t t 428616910e25Smrgs,@AUTOMAKE@,$AUTOMAKE,;t t 428716910e25Smrgs,@AUTOHEADER@,$AUTOHEADER,;t t 428816910e25Smrgs,@MAKEINFO@,$MAKEINFO,;t t 428916910e25Smrgs,@AMTAR@,$AMTAR,;t t 429016910e25Smrgs,@install_sh@,$install_sh,;t t 429116910e25Smrgs,@STRIP@,$STRIP,;t t 429216910e25Smrgs,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 429316910e25Smrgs,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 429416910e25Smrgs,@AWK@,$AWK,;t t 429516910e25Smrgs,@SET_MAKE@,$SET_MAKE,;t t 429616910e25Smrgs,@am__leading_dot@,$am__leading_dot,;t t 429716910e25Smrgs,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 429816910e25Smrgs,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 429916910e25Smrgs,@MAINT@,$MAINT,;t t 430016910e25Smrgs,@CC@,$CC,;t t 430116910e25Smrgs,@CFLAGS@,$CFLAGS,;t t 430216910e25Smrgs,@LDFLAGS@,$LDFLAGS,;t t 430316910e25Smrgs,@CPPFLAGS@,$CPPFLAGS,;t t 430416910e25Smrgs,@ac_ct_CC@,$ac_ct_CC,;t t 430516910e25Smrgs,@EXEEXT@,$EXEEXT,;t t 430616910e25Smrgs,@OBJEXT@,$OBJEXT,;t t 430716910e25Smrgs,@DEPDIR@,$DEPDIR,;t t 430816910e25Smrgs,@am__include@,$am__include,;t t 430916910e25Smrgs,@am__quote@,$am__quote,;t t 431016910e25Smrgs,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 431116910e25Smrgs,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 431216910e25Smrgs,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 431316910e25Smrgs,@CCDEPMODE@,$CCDEPMODE,;t t 431416910e25Smrgs,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 431516910e25Smrgs,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 431616910e25Smrgs,@PKG_CONFIG@,$PKG_CONFIG,;t t 431716910e25Smrgs,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 431816910e25Smrgs,@TMP_XAW_CFLAGS@,$TMP_XAW_CFLAGS,;t t 431916910e25Smrgs,@TMP_XAW_LIBS@,$TMP_XAW_LIBS,;t t 432016910e25Smrgs,@XAW_USE_XPRINT_TRUE@,$XAW_USE_XPRINT_TRUE,;t t 432116910e25Smrgs,@XAW_USE_XPRINT_FALSE@,$XAW_USE_XPRINT_FALSE,;t t 432216910e25Smrgs,@XPRINT_UTIL_CFLAGS@,$XPRINT_UTIL_CFLAGS,;t t 432316910e25Smrgs,@XPRINT_UTIL_LIBS@,$XPRINT_UTIL_LIBS,;t t 432416910e25Smrgs,@XMORE_CFLAGS@,$XMORE_CFLAGS,;t t 432516910e25Smrgs,@XMORE_LIBS@,$XMORE_LIBS,;t t 432616910e25Smrgs,@APPDEFS_CFLAGS@,$APPDEFS_CFLAGS,;t t 432716910e25Smrgs,@APPDEFS_LIBS@,$APPDEFS_LIBS,;t t 432816910e25Smrgs,@appdefaultdir@,$appdefaultdir,;t t 432916910e25Smrgs,@build@,$build,;t t 433016910e25Smrgs,@build_cpu@,$build_cpu,;t t 433116910e25Smrgs,@build_vendor@,$build_vendor,;t t 433216910e25Smrgs,@build_os@,$build_os,;t t 433316910e25Smrgs,@host@,$host,;t t 433416910e25Smrgs,@host_cpu@,$host_cpu,;t t 433516910e25Smrgs,@host_vendor@,$host_vendor,;t t 433616910e25Smrgs,@host_os@,$host_os,;t t 433716910e25Smrgs,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t 433816910e25Smrgs,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t 433916910e25Smrgs,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t 434016910e25Smrgs,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t 434116910e25Smrgs,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t 434216910e25Smrgs,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t 434316910e25Smrgs,@APP_MAN_DIR@,$APP_MAN_DIR,;t t 434416910e25Smrgs,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t 434516910e25Smrgs,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t 434616910e25Smrgs,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t 434716910e25Smrgs,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t 434816910e25Smrgs,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t 434916910e25Smrgs,@LIBOBJS@,$LIBOBJS,;t t 435016910e25Smrgs,@LTLIBOBJS@,$LTLIBOBJS,;t t 435116910e25SmrgCEOF 435216910e25Smrg 435316910e25Smrg_ACEOF 435416910e25Smrg 435516910e25Smrg cat >>$CONFIG_STATUS <<\_ACEOF 435616910e25Smrg # Split the substitutions into bite-sized pieces for seds with 435716910e25Smrg # small command number limits, like on Digital OSF/1 and HP-UX. 435816910e25Smrg ac_max_sed_lines=48 435916910e25Smrg ac_sed_frag=1 # Number of current file. 436016910e25Smrg ac_beg=1 # First line for current file. 436116910e25Smrg ac_end=$ac_max_sed_lines # Line after last line for current file. 436216910e25Smrg ac_more_lines=: 436316910e25Smrg ac_sed_cmds= 436416910e25Smrg while $ac_more_lines; do 436516910e25Smrg if test $ac_beg -gt 1; then 436616910e25Smrg sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 436716910e25Smrg else 436816910e25Smrg sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 436916910e25Smrg fi 437016910e25Smrg if test ! -s $tmp/subs.frag; then 437116910e25Smrg ac_more_lines=false 437216910e25Smrg else 437316910e25Smrg # The purpose of the label and of the branching condition is to 437416910e25Smrg # speed up the sed processing (if there are no `@' at all, there 437516910e25Smrg # is no need to browse any of the substitutions). 437616910e25Smrg # These are the two extra sed commands mentioned above. 437716910e25Smrg (echo ':t 437816910e25Smrg /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 437916910e25Smrg if test -z "$ac_sed_cmds"; then 438016910e25Smrg ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 438116910e25Smrg else 438216910e25Smrg ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 438316910e25Smrg fi 438416910e25Smrg ac_sed_frag=`expr $ac_sed_frag + 1` 438516910e25Smrg ac_beg=$ac_end 438616910e25Smrg ac_end=`expr $ac_end + $ac_max_sed_lines` 438716910e25Smrg fi 438816910e25Smrg done 438916910e25Smrg if test -z "$ac_sed_cmds"; then 439016910e25Smrg ac_sed_cmds=cat 439116910e25Smrg fi 439216910e25Smrgfi # test -n "$CONFIG_FILES" 439316910e25Smrg 439416910e25Smrg_ACEOF 439516910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 439616910e25Smrgfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 439716910e25Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 439816910e25Smrg case $ac_file in 439916910e25Smrg - | *:- | *:-:* ) # input from stdin 440016910e25Smrg cat >$tmp/stdin 440116910e25Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 440216910e25Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 440316910e25Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 440416910e25Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 440516910e25Smrg * ) ac_file_in=$ac_file.in ;; 440616910e25Smrg esac 440716910e25Smrg 440816910e25Smrg # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 440916910e25Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 441016910e25Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 441116910e25Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 441216910e25Smrg X"$ac_file" : 'X\(//\)$' \| \ 441316910e25Smrg X"$ac_file" : 'X\(/\)' \| \ 441416910e25Smrg . : '\(.\)' 2>/dev/null || 441516910e25Smrgecho X"$ac_file" | 441616910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 441716910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 441816910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 441916910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 442016910e25Smrg s/.*/./; q'` 442116910e25Smrg { if $as_mkdir_p; then 442216910e25Smrg mkdir -p "$ac_dir" 442316910e25Smrg else 442416910e25Smrg as_dir="$ac_dir" 442516910e25Smrg as_dirs= 442616910e25Smrg while test ! -d "$as_dir"; do 442716910e25Smrg as_dirs="$as_dir $as_dirs" 442816910e25Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 442916910e25Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 443016910e25Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 443116910e25Smrg X"$as_dir" : 'X\(//\)$' \| \ 443216910e25Smrg X"$as_dir" : 'X\(/\)' \| \ 443316910e25Smrg . : '\(.\)' 2>/dev/null || 443416910e25Smrgecho X"$as_dir" | 443516910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 443616910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 443716910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 443816910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 443916910e25Smrg s/.*/./; q'` 444016910e25Smrg done 444116910e25Smrg test ! -n "$as_dirs" || mkdir $as_dirs 444216910e25Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 444316910e25Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 444416910e25Smrg { (exit 1); exit 1; }; }; } 444516910e25Smrg 444616910e25Smrg ac_builddir=. 444716910e25Smrg 444816910e25Smrgif test "$ac_dir" != .; then 444916910e25Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 445016910e25Smrg # A "../" for each directory in $ac_dir_suffix. 445116910e25Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 445216910e25Smrgelse 445316910e25Smrg ac_dir_suffix= ac_top_builddir= 445416910e25Smrgfi 445516910e25Smrg 445616910e25Smrgcase $srcdir in 445716910e25Smrg .) # No --srcdir option. We are building in place. 445816910e25Smrg ac_srcdir=. 445916910e25Smrg if test -z "$ac_top_builddir"; then 446016910e25Smrg ac_top_srcdir=. 446116910e25Smrg else 446216910e25Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 446316910e25Smrg fi ;; 446416910e25Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 446516910e25Smrg ac_srcdir=$srcdir$ac_dir_suffix; 446616910e25Smrg ac_top_srcdir=$srcdir ;; 446716910e25Smrg *) # Relative path. 446816910e25Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 446916910e25Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 447016910e25Smrgesac 447116910e25Smrg 447216910e25Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 447316910e25Smrg# the directories may not exist. 447416910e25Smrgcase `pwd` in 447516910e25Smrg.) ac_abs_builddir="$ac_dir";; 447616910e25Smrg*) 447716910e25Smrg case "$ac_dir" in 447816910e25Smrg .) ac_abs_builddir=`pwd`;; 447916910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 448016910e25Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 448116910e25Smrg esac;; 448216910e25Smrgesac 448316910e25Smrgcase $ac_abs_builddir in 448416910e25Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 448516910e25Smrg*) 448616910e25Smrg case ${ac_top_builddir}. in 448716910e25Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 448816910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 448916910e25Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 449016910e25Smrg esac;; 449116910e25Smrgesac 449216910e25Smrgcase $ac_abs_builddir in 449316910e25Smrg.) ac_abs_srcdir=$ac_srcdir;; 449416910e25Smrg*) 449516910e25Smrg case $ac_srcdir in 449616910e25Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 449716910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 449816910e25Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 449916910e25Smrg esac;; 450016910e25Smrgesac 450116910e25Smrgcase $ac_abs_builddir in 450216910e25Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 450316910e25Smrg*) 450416910e25Smrg case $ac_top_srcdir in 450516910e25Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 450616910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 450716910e25Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 450816910e25Smrg esac;; 450916910e25Smrgesac 451016910e25Smrg 451116910e25Smrg 451216910e25Smrg case $INSTALL in 451316910e25Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 451416910e25Smrg *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 451516910e25Smrg esac 451616910e25Smrg 451716910e25Smrg if test x"$ac_file" != x-; then 451816910e25Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 451916910e25Smrgecho "$as_me: creating $ac_file" >&6;} 452016910e25Smrg rm -f "$ac_file" 452116910e25Smrg fi 452216910e25Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 452316910e25Smrg # use $as_me), people would be surprised to read: 452416910e25Smrg # /* config.h. Generated by config.status. */ 452516910e25Smrg if test x"$ac_file" = x-; then 452616910e25Smrg configure_input= 452716910e25Smrg else 452816910e25Smrg configure_input="$ac_file. " 452916910e25Smrg fi 453016910e25Smrg configure_input=$configure_input"Generated from `echo $ac_file_in | 453116910e25Smrg sed 's,.*/,,'` by configure." 453216910e25Smrg 453316910e25Smrg # First look for the input files in the build tree, otherwise in the 453416910e25Smrg # src tree. 453516910e25Smrg ac_file_inputs=`IFS=: 453616910e25Smrg for f in $ac_file_in; do 453716910e25Smrg case $f in 453816910e25Smrg -) echo $tmp/stdin ;; 453916910e25Smrg [\\/$]*) 454016910e25Smrg # Absolute (can't be DOS-style, as IFS=:) 454116910e25Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 454216910e25Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 454316910e25Smrg { (exit 1); exit 1; }; } 454416910e25Smrg echo "$f";; 454516910e25Smrg *) # Relative 454616910e25Smrg if test -f "$f"; then 454716910e25Smrg # Build tree 454816910e25Smrg echo "$f" 454916910e25Smrg elif test -f "$srcdir/$f"; then 455016910e25Smrg # Source tree 455116910e25Smrg echo "$srcdir/$f" 455216910e25Smrg else 455316910e25Smrg # /dev/null tree 455416910e25Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 455516910e25Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 455616910e25Smrg { (exit 1); exit 1; }; } 455716910e25Smrg fi;; 455816910e25Smrg esac 455916910e25Smrg done` || { (exit 1); exit 1; } 456016910e25Smrg_ACEOF 456116910e25Smrgcat >>$CONFIG_STATUS <<_ACEOF 456216910e25Smrg sed "$ac_vpsub 456316910e25Smrg$extrasub 456416910e25Smrg_ACEOF 456516910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 456616910e25Smrg:t 456716910e25Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 456816910e25Smrgs,@configure_input@,$configure_input,;t t 456916910e25Smrgs,@srcdir@,$ac_srcdir,;t t 457016910e25Smrgs,@abs_srcdir@,$ac_abs_srcdir,;t t 457116910e25Smrgs,@top_srcdir@,$ac_top_srcdir,;t t 457216910e25Smrgs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 457316910e25Smrgs,@builddir@,$ac_builddir,;t t 457416910e25Smrgs,@abs_builddir@,$ac_abs_builddir,;t t 457516910e25Smrgs,@top_builddir@,$ac_top_builddir,;t t 457616910e25Smrgs,@abs_top_builddir@,$ac_abs_top_builddir,;t t 457716910e25Smrgs,@INSTALL@,$ac_INSTALL,;t t 457816910e25Smrg" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 457916910e25Smrg rm -f $tmp/stdin 458016910e25Smrg if test x"$ac_file" != x-; then 458116910e25Smrg mv $tmp/out $ac_file 458216910e25Smrg else 458316910e25Smrg cat $tmp/out 458416910e25Smrg rm -f $tmp/out 458516910e25Smrg fi 458616910e25Smrg 458716910e25Smrgdone 458816910e25Smrg_ACEOF 458916910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 459016910e25Smrg 459116910e25Smrg# 459216910e25Smrg# CONFIG_HEADER section. 459316910e25Smrg# 459416910e25Smrg 459516910e25Smrg# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 459616910e25Smrg# NAME is the cpp macro being defined and VALUE is the value it is being given. 459716910e25Smrg# 459816910e25Smrg# ac_d sets the value in "#define NAME VALUE" lines. 459916910e25Smrgac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 460016910e25Smrgac_dB='[ ].*$,\1#\2' 460116910e25Smrgac_dC=' ' 460216910e25Smrgac_dD=',;t' 460316910e25Smrg# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 460416910e25Smrgac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 460516910e25Smrgac_uB='$,\1#\2define\3' 460616910e25Smrgac_uC=' ' 460716910e25Smrgac_uD=',;t' 460816910e25Smrg 460916910e25Smrgfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 461016910e25Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 461116910e25Smrg case $ac_file in 461216910e25Smrg - | *:- | *:-:* ) # input from stdin 461316910e25Smrg cat >$tmp/stdin 461416910e25Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 461516910e25Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 461616910e25Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 461716910e25Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 461816910e25Smrg * ) ac_file_in=$ac_file.in ;; 461916910e25Smrg esac 462016910e25Smrg 462116910e25Smrg test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 462216910e25Smrgecho "$as_me: creating $ac_file" >&6;} 462316910e25Smrg 462416910e25Smrg # First look for the input files in the build tree, otherwise in the 462516910e25Smrg # src tree. 462616910e25Smrg ac_file_inputs=`IFS=: 462716910e25Smrg for f in $ac_file_in; do 462816910e25Smrg case $f in 462916910e25Smrg -) echo $tmp/stdin ;; 463016910e25Smrg [\\/$]*) 463116910e25Smrg # Absolute (can't be DOS-style, as IFS=:) 463216910e25Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 463316910e25Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 463416910e25Smrg { (exit 1); exit 1; }; } 463516910e25Smrg # Do quote $f, to prevent DOS paths from being IFS'd. 463616910e25Smrg echo "$f";; 463716910e25Smrg *) # Relative 463816910e25Smrg if test -f "$f"; then 463916910e25Smrg # Build tree 464016910e25Smrg echo "$f" 464116910e25Smrg elif test -f "$srcdir/$f"; then 464216910e25Smrg # Source tree 464316910e25Smrg echo "$srcdir/$f" 464416910e25Smrg else 464516910e25Smrg # /dev/null tree 464616910e25Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 464716910e25Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 464816910e25Smrg { (exit 1); exit 1; }; } 464916910e25Smrg fi;; 465016910e25Smrg esac 465116910e25Smrg done` || { (exit 1); exit 1; } 465216910e25Smrg # Remove the trailing spaces. 465316910e25Smrg sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 465416910e25Smrg 465516910e25Smrg_ACEOF 465616910e25Smrg 465716910e25Smrg# Transform confdefs.h into two sed scripts, `conftest.defines' and 465816910e25Smrg# `conftest.undefs', that substitutes the proper values into 465916910e25Smrg# config.h.in to produce config.h. The first handles `#define' 466016910e25Smrg# templates, and the second `#undef' templates. 466116910e25Smrg# And first: Protect against being on the right side of a sed subst in 466216910e25Smrg# config.status. Protect against being in an unquoted here document 466316910e25Smrg# in config.status. 466416910e25Smrgrm -f conftest.defines conftest.undefs 466516910e25Smrg# Using a here document instead of a string reduces the quoting nightmare. 466616910e25Smrg# Putting comments in sed scripts is not portable. 466716910e25Smrg# 466816910e25Smrg# `end' is used to avoid that the second main sed command (meant for 466916910e25Smrg# 0-ary CPP macros) applies to n-ary macro definitions. 467016910e25Smrg# See the Autoconf documentation for `clear'. 467116910e25Smrgcat >confdef2sed.sed <<\_ACEOF 467216910e25Smrgs/[\\&,]/\\&/g 467316910e25Smrgs,[\\$`],\\&,g 467416910e25Smrgt clear 467516910e25Smrg: clear 467616910e25Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 467716910e25Smrgt end 467816910e25Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 467916910e25Smrg: end 468016910e25Smrg_ACEOF 468116910e25Smrg# If some macros were called several times there might be several times 468216910e25Smrg# the same #defines, which is useless. Nevertheless, we may not want to 468316910e25Smrg# sort them, since we want the *last* AC-DEFINE to be honored. 468416910e25Smrguniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 468516910e25Smrgsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 468616910e25Smrgrm -f confdef2sed.sed 468716910e25Smrg 468816910e25Smrg# This sed command replaces #undef with comments. This is necessary, for 468916910e25Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 469016910e25Smrg# on some systems where configure will not decide to define it. 469116910e25Smrgcat >>conftest.undefs <<\_ACEOF 469216910e25Smrgs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 469316910e25Smrg_ACEOF 469416910e25Smrg 469516910e25Smrg# Break up conftest.defines because some shells have a limit on the size 469616910e25Smrg# of here documents, and old seds have small limits too (100 cmds). 469716910e25Smrgecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 469816910e25Smrgecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 469916910e25Smrgecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 470016910e25Smrgecho ' :' >>$CONFIG_STATUS 470116910e25Smrgrm -f conftest.tail 470216910e25Smrgwhile grep . conftest.defines >/dev/null 470316910e25Smrgdo 470416910e25Smrg # Write a limited-size here document to $tmp/defines.sed. 470516910e25Smrg echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 470616910e25Smrg # Speed up: don't consider the non `#define' lines. 470716910e25Smrg echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 470816910e25Smrg # Work around the forget-to-reset-the-flag bug. 470916910e25Smrg echo 't clr' >>$CONFIG_STATUS 471016910e25Smrg echo ': clr' >>$CONFIG_STATUS 471116910e25Smrg sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 471216910e25Smrg echo 'CEOF 471316910e25Smrg sed -f $tmp/defines.sed $tmp/in >$tmp/out 471416910e25Smrg rm -f $tmp/in 471516910e25Smrg mv $tmp/out $tmp/in 471616910e25Smrg' >>$CONFIG_STATUS 471716910e25Smrg sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 471816910e25Smrg rm -f conftest.defines 471916910e25Smrg mv conftest.tail conftest.defines 472016910e25Smrgdone 472116910e25Smrgrm -f conftest.defines 472216910e25Smrgecho ' fi # grep' >>$CONFIG_STATUS 472316910e25Smrgecho >>$CONFIG_STATUS 472416910e25Smrg 472516910e25Smrg# Break up conftest.undefs because some shells have a limit on the size 472616910e25Smrg# of here documents, and old seds have small limits too (100 cmds). 472716910e25Smrgecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 472816910e25Smrgrm -f conftest.tail 472916910e25Smrgwhile grep . conftest.undefs >/dev/null 473016910e25Smrgdo 473116910e25Smrg # Write a limited-size here document to $tmp/undefs.sed. 473216910e25Smrg echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 473316910e25Smrg # Speed up: don't consider the non `#undef' 473416910e25Smrg echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 473516910e25Smrg # Work around the forget-to-reset-the-flag bug. 473616910e25Smrg echo 't clr' >>$CONFIG_STATUS 473716910e25Smrg echo ': clr' >>$CONFIG_STATUS 473816910e25Smrg sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 473916910e25Smrg echo 'CEOF 474016910e25Smrg sed -f $tmp/undefs.sed $tmp/in >$tmp/out 474116910e25Smrg rm -f $tmp/in 474216910e25Smrg mv $tmp/out $tmp/in 474316910e25Smrg' >>$CONFIG_STATUS 474416910e25Smrg sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 474516910e25Smrg rm -f conftest.undefs 474616910e25Smrg mv conftest.tail conftest.undefs 474716910e25Smrgdone 474816910e25Smrgrm -f conftest.undefs 474916910e25Smrg 475016910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 475116910e25Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 475216910e25Smrg # use $as_me), people would be surprised to read: 475316910e25Smrg # /* config.h. Generated by config.status. */ 475416910e25Smrg if test x"$ac_file" = x-; then 475516910e25Smrg echo "/* Generated by configure. */" >$tmp/config.h 475616910e25Smrg else 475716910e25Smrg echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 475816910e25Smrg fi 475916910e25Smrg cat $tmp/in >>$tmp/config.h 476016910e25Smrg rm -f $tmp/in 476116910e25Smrg if test x"$ac_file" != x-; then 476216910e25Smrg if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 476316910e25Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 476416910e25Smrgecho "$as_me: $ac_file is unchanged" >&6;} 476516910e25Smrg else 476616910e25Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 476716910e25Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 476816910e25Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 476916910e25Smrg X"$ac_file" : 'X\(//\)$' \| \ 477016910e25Smrg X"$ac_file" : 'X\(/\)' \| \ 477116910e25Smrg . : '\(.\)' 2>/dev/null || 477216910e25Smrgecho X"$ac_file" | 477316910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 477416910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 477516910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 477616910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 477716910e25Smrg s/.*/./; q'` 477816910e25Smrg { if $as_mkdir_p; then 477916910e25Smrg mkdir -p "$ac_dir" 478016910e25Smrg else 478116910e25Smrg as_dir="$ac_dir" 478216910e25Smrg as_dirs= 478316910e25Smrg while test ! -d "$as_dir"; do 478416910e25Smrg as_dirs="$as_dir $as_dirs" 478516910e25Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 478616910e25Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 478716910e25Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 478816910e25Smrg X"$as_dir" : 'X\(//\)$' \| \ 478916910e25Smrg X"$as_dir" : 'X\(/\)' \| \ 479016910e25Smrg . : '\(.\)' 2>/dev/null || 479116910e25Smrgecho X"$as_dir" | 479216910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 479316910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 479416910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 479516910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 479616910e25Smrg s/.*/./; q'` 479716910e25Smrg done 479816910e25Smrg test ! -n "$as_dirs" || mkdir $as_dirs 479916910e25Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 480016910e25Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 480116910e25Smrg { (exit 1); exit 1; }; }; } 480216910e25Smrg 480316910e25Smrg rm -f $ac_file 480416910e25Smrg mv $tmp/config.h $ac_file 480516910e25Smrg fi 480616910e25Smrg else 480716910e25Smrg cat $tmp/config.h 480816910e25Smrg rm -f $tmp/config.h 480916910e25Smrg fi 481016910e25Smrg# Compute $ac_file's index in $config_headers. 481116910e25Smrg_am_stamp_count=1 481216910e25Smrgfor _am_header in $config_headers :; do 481316910e25Smrg case $_am_header in 481416910e25Smrg $ac_file | $ac_file:* ) 481516910e25Smrg break ;; 481616910e25Smrg * ) 481716910e25Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 481816910e25Smrg esac 481916910e25Smrgdone 482016910e25Smrgecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 482116910e25Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 482216910e25Smrg X$ac_file : 'X\(//\)[^/]' \| \ 482316910e25Smrg X$ac_file : 'X\(//\)$' \| \ 482416910e25Smrg X$ac_file : 'X\(/\)' \| \ 482516910e25Smrg . : '\(.\)' 2>/dev/null || 482616910e25Smrgecho X$ac_file | 482716910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 482816910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 482916910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 483016910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 483116910e25Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 483216910e25Smrgdone 483316910e25Smrg_ACEOF 483416910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 483516910e25Smrg 483616910e25Smrg# 483716910e25Smrg# CONFIG_COMMANDS section. 483816910e25Smrg# 483916910e25Smrgfor ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 484016910e25Smrg ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 484116910e25Smrg ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 484216910e25Smrg ac_dir=`(dirname "$ac_dest") 2>/dev/null || 484316910e25Smrg$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 484416910e25Smrg X"$ac_dest" : 'X\(//\)[^/]' \| \ 484516910e25Smrg X"$ac_dest" : 'X\(//\)$' \| \ 484616910e25Smrg X"$ac_dest" : 'X\(/\)' \| \ 484716910e25Smrg . : '\(.\)' 2>/dev/null || 484816910e25Smrgecho X"$ac_dest" | 484916910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 485016910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 485116910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 485216910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 485316910e25Smrg s/.*/./; q'` 485416910e25Smrg { if $as_mkdir_p; then 485516910e25Smrg mkdir -p "$ac_dir" 485616910e25Smrg else 485716910e25Smrg as_dir="$ac_dir" 485816910e25Smrg as_dirs= 485916910e25Smrg while test ! -d "$as_dir"; do 486016910e25Smrg as_dirs="$as_dir $as_dirs" 486116910e25Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 486216910e25Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 486316910e25Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 486416910e25Smrg X"$as_dir" : 'X\(//\)$' \| \ 486516910e25Smrg X"$as_dir" : 'X\(/\)' \| \ 486616910e25Smrg . : '\(.\)' 2>/dev/null || 486716910e25Smrgecho X"$as_dir" | 486816910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 486916910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 487016910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 487116910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 487216910e25Smrg s/.*/./; q'` 487316910e25Smrg done 487416910e25Smrg test ! -n "$as_dirs" || mkdir $as_dirs 487516910e25Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 487616910e25Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 487716910e25Smrg { (exit 1); exit 1; }; }; } 487816910e25Smrg 487916910e25Smrg ac_builddir=. 488016910e25Smrg 488116910e25Smrgif test "$ac_dir" != .; then 488216910e25Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 488316910e25Smrg # A "../" for each directory in $ac_dir_suffix. 488416910e25Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 488516910e25Smrgelse 488616910e25Smrg ac_dir_suffix= ac_top_builddir= 488716910e25Smrgfi 488816910e25Smrg 488916910e25Smrgcase $srcdir in 489016910e25Smrg .) # No --srcdir option. We are building in place. 489116910e25Smrg ac_srcdir=. 489216910e25Smrg if test -z "$ac_top_builddir"; then 489316910e25Smrg ac_top_srcdir=. 489416910e25Smrg else 489516910e25Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 489616910e25Smrg fi ;; 489716910e25Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 489816910e25Smrg ac_srcdir=$srcdir$ac_dir_suffix; 489916910e25Smrg ac_top_srcdir=$srcdir ;; 490016910e25Smrg *) # Relative path. 490116910e25Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 490216910e25Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 490316910e25Smrgesac 490416910e25Smrg 490516910e25Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 490616910e25Smrg# the directories may not exist. 490716910e25Smrgcase `pwd` in 490816910e25Smrg.) ac_abs_builddir="$ac_dir";; 490916910e25Smrg*) 491016910e25Smrg case "$ac_dir" in 491116910e25Smrg .) ac_abs_builddir=`pwd`;; 491216910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 491316910e25Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 491416910e25Smrg esac;; 491516910e25Smrgesac 491616910e25Smrgcase $ac_abs_builddir in 491716910e25Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 491816910e25Smrg*) 491916910e25Smrg case ${ac_top_builddir}. in 492016910e25Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 492116910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 492216910e25Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 492316910e25Smrg esac;; 492416910e25Smrgesac 492516910e25Smrgcase $ac_abs_builddir in 492616910e25Smrg.) ac_abs_srcdir=$ac_srcdir;; 492716910e25Smrg*) 492816910e25Smrg case $ac_srcdir in 492916910e25Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 493016910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 493116910e25Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 493216910e25Smrg esac;; 493316910e25Smrgesac 493416910e25Smrgcase $ac_abs_builddir in 493516910e25Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 493616910e25Smrg*) 493716910e25Smrg case $ac_top_srcdir in 493816910e25Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 493916910e25Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 494016910e25Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 494116910e25Smrg esac;; 494216910e25Smrgesac 494316910e25Smrg 494416910e25Smrg 494516910e25Smrg { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 494616910e25Smrgecho "$as_me: executing $ac_dest commands" >&6;} 494716910e25Smrg case $ac_dest in 494816910e25Smrg depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 494916910e25Smrg # Strip MF so we end up with the name of the file. 495016910e25Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 495116910e25Smrg # Check whether this is an Automake generated Makefile or not. 495216910e25Smrg # We used to match only the files named `Makefile.in', but 495316910e25Smrg # some people rename them; so instead we look at the file content. 495416910e25Smrg # Grep'ing the first line is not enough: some people post-process 495516910e25Smrg # each Makefile.in and add a new line on top of each file to say so. 495616910e25Smrg # So let's grep whole file. 495716910e25Smrg if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 495816910e25Smrg dirpart=`(dirname "$mf") 2>/dev/null || 495916910e25Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 496016910e25Smrg X"$mf" : 'X\(//\)[^/]' \| \ 496116910e25Smrg X"$mf" : 'X\(//\)$' \| \ 496216910e25Smrg X"$mf" : 'X\(/\)' \| \ 496316910e25Smrg . : '\(.\)' 2>/dev/null || 496416910e25Smrgecho X"$mf" | 496516910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 496616910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 496716910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 496816910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 496916910e25Smrg s/.*/./; q'` 497016910e25Smrg else 497116910e25Smrg continue 497216910e25Smrg fi 497316910e25Smrg grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 497416910e25Smrg # Extract the definition of DEP_FILES from the Makefile without 497516910e25Smrg # running `make'. 497616910e25Smrg DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 497716910e25Smrg test -z "$DEPDIR" && continue 497816910e25Smrg # When using ansi2knr, U may be empty or an underscore; expand it 497916910e25Smrg U=`sed -n -e '/^U = / s///p' < "$mf"` 498016910e25Smrg test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 498116910e25Smrg # We invoke sed twice because it is the simplest approach to 498216910e25Smrg # changing $(DEPDIR) to its actual value in the expansion. 498316910e25Smrg for file in `sed -n -e ' 498416910e25Smrg /^DEP_FILES = .*\\\\$/ { 498516910e25Smrg s/^DEP_FILES = // 498616910e25Smrg :loop 498716910e25Smrg s/\\\\$// 498816910e25Smrg p 498916910e25Smrg n 499016910e25Smrg /\\\\$/ b loop 499116910e25Smrg p 499216910e25Smrg } 499316910e25Smrg /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 499416910e25Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 499516910e25Smrg # Make sure the directory exists. 499616910e25Smrg test -f "$dirpart/$file" && continue 499716910e25Smrg fdir=`(dirname "$file") 2>/dev/null || 499816910e25Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 499916910e25Smrg X"$file" : 'X\(//\)[^/]' \| \ 500016910e25Smrg X"$file" : 'X\(//\)$' \| \ 500116910e25Smrg X"$file" : 'X\(/\)' \| \ 500216910e25Smrg . : '\(.\)' 2>/dev/null || 500316910e25Smrgecho X"$file" | 500416910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 500516910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 500616910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 500716910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 500816910e25Smrg s/.*/./; q'` 500916910e25Smrg { if $as_mkdir_p; then 501016910e25Smrg mkdir -p $dirpart/$fdir 501116910e25Smrg else 501216910e25Smrg as_dir=$dirpart/$fdir 501316910e25Smrg as_dirs= 501416910e25Smrg while test ! -d "$as_dir"; do 501516910e25Smrg as_dirs="$as_dir $as_dirs" 501616910e25Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 501716910e25Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 501816910e25Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 501916910e25Smrg X"$as_dir" : 'X\(//\)$' \| \ 502016910e25Smrg X"$as_dir" : 'X\(/\)' \| \ 502116910e25Smrg . : '\(.\)' 2>/dev/null || 502216910e25Smrgecho X"$as_dir" | 502316910e25Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 502416910e25Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 502516910e25Smrg /^X\(\/\/\)$/{ s//\1/; q; } 502616910e25Smrg /^X\(\/\).*/{ s//\1/; q; } 502716910e25Smrg s/.*/./; q'` 502816910e25Smrg done 502916910e25Smrg test ! -n "$as_dirs" || mkdir $as_dirs 503016910e25Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 503116910e25Smrgecho "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 503216910e25Smrg { (exit 1); exit 1; }; }; } 503316910e25Smrg 503416910e25Smrg # echo "creating $dirpart/$file" 503516910e25Smrg echo '# dummy' > "$dirpart/$file" 503616910e25Smrg done 503716910e25Smrgdone 503816910e25Smrg ;; 503916910e25Smrg esac 504016910e25Smrgdone 504116910e25Smrg_ACEOF 504216910e25Smrg 504316910e25Smrgcat >>$CONFIG_STATUS <<\_ACEOF 504416910e25Smrg 504516910e25Smrg{ (exit 0); exit 0; } 504616910e25Smrg_ACEOF 504716910e25Smrgchmod +x $CONFIG_STATUS 504816910e25Smrgac_clean_files=$ac_clean_files_save 504916910e25Smrg 505016910e25Smrg 505116910e25Smrg# configure is writing to config.log, and then calls config.status. 505216910e25Smrg# config.status does its own redirection, appending to config.log. 505316910e25Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 505416910e25Smrg# by configure, so config.status won't be able to write to it; its 505516910e25Smrg# output is simply discarded. So we exec the FD to /dev/null, 505616910e25Smrg# effectively closing config.log, so it can be properly (re)opened and 505716910e25Smrg# appended to by config.status. When coming back to configure, we 505816910e25Smrg# need to make the FD available again. 505916910e25Smrgif test "$no_create" != yes; then 506016910e25Smrg ac_cs_success=: 506116910e25Smrg ac_config_status_args= 506216910e25Smrg test "$silent" = yes && 506316910e25Smrg ac_config_status_args="$ac_config_status_args --quiet" 506416910e25Smrg exec 5>/dev/null 506516910e25Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 506616910e25Smrg exec 5>>config.log 506716910e25Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 506816910e25Smrg # would make configure fail if this is the last instruction. 506916910e25Smrg $ac_cs_success || { (exit 1); exit 1; } 507016910e25Smrgfi 507116910e25Smrg 5072