configure revision 14c0a534
114c0a534Smrg#! /bin/sh 214c0a534Smrg# Guess values for system-dependent variables and create Makefiles. 314c0a534Smrg# Generated by GNU Autoconf 2.59 for smproxy 1.0.2. 414c0a534Smrg# 514c0a534Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 614c0a534Smrg# 714c0a534Smrg# Copyright (C) 2003 Free Software Foundation, Inc. 814c0a534Smrg# This configure script is free software; the Free Software Foundation 914c0a534Smrg# gives unlimited permission to copy, distribute and modify it. 1014c0a534Smrg## --------------------- ## 1114c0a534Smrg## M4sh Initialization. ## 1214c0a534Smrg## --------------------- ## 1314c0a534Smrg 1414c0a534Smrg# Be Bourne compatible 1514c0a534Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1614c0a534Smrg emulate sh 1714c0a534Smrg NULLCMD=: 1814c0a534Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 1914c0a534Smrg # is contrary to our usage. Disable this feature. 2014c0a534Smrg alias -g '${1+"$@"}'='"$@"' 2114c0a534Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 2214c0a534Smrg set -o posix 2314c0a534Smrgfi 2414c0a534SmrgDUALCASE=1; export DUALCASE # for MKS sh 2514c0a534Smrg 2614c0a534Smrg# Support unset when possible. 2714c0a534Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 2814c0a534Smrg as_unset=unset 2914c0a534Smrgelse 3014c0a534Smrg as_unset=false 3114c0a534Smrgfi 3214c0a534Smrg 3314c0a534Smrg 3414c0a534Smrg# Work around bugs in pre-3.0 UWIN ksh. 3514c0a534Smrg$as_unset ENV MAIL MAILPATH 3614c0a534SmrgPS1='$ ' 3714c0a534SmrgPS2='> ' 3814c0a534SmrgPS4='+ ' 3914c0a534Smrg 4014c0a534Smrg# NLS nuisances. 4114c0a534Smrgfor as_var in \ 4214c0a534Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4314c0a534Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4414c0a534Smrg LC_TELEPHONE LC_TIME 4514c0a534Smrgdo 4614c0a534Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4714c0a534Smrg eval $as_var=C; export $as_var 4814c0a534Smrg else 4914c0a534Smrg $as_unset $as_var 5014c0a534Smrg fi 5114c0a534Smrgdone 5214c0a534Smrg 5314c0a534Smrg# Required to use basename. 5414c0a534Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 5514c0a534Smrg as_expr=expr 5614c0a534Smrgelse 5714c0a534Smrg as_expr=false 5814c0a534Smrgfi 5914c0a534Smrg 6014c0a534Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 6114c0a534Smrg as_basename=basename 6214c0a534Smrgelse 6314c0a534Smrg as_basename=false 6414c0a534Smrgfi 6514c0a534Smrg 6614c0a534Smrg 6714c0a534Smrg# Name of the executable. 6814c0a534Smrgas_me=`$as_basename "$0" || 6914c0a534Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7014c0a534Smrg X"$0" : 'X\(//\)$' \| \ 7114c0a534Smrg X"$0" : 'X\(/\)$' \| \ 7214c0a534Smrg . : '\(.\)' 2>/dev/null || 7314c0a534Smrgecho X/"$0" | 7414c0a534Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7514c0a534Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 7614c0a534Smrg /^X\/\(\/\).*/{ s//\1/; q; } 7714c0a534Smrg s/.*/./; q'` 7814c0a534Smrg 7914c0a534Smrg 8014c0a534Smrg# PATH needs CR, and LINENO needs CR and PATH. 8114c0a534Smrg# Avoid depending upon Character Ranges. 8214c0a534Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 8314c0a534Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8414c0a534Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 8514c0a534Smrgas_cr_digits='0123456789' 8614c0a534Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 8714c0a534Smrg 8814c0a534Smrg# The user is always right. 8914c0a534Smrgif test "${PATH_SEPARATOR+set}" != set; then 9014c0a534Smrg echo "#! /bin/sh" >conf$$.sh 9114c0a534Smrg echo "exit 0" >>conf$$.sh 9214c0a534Smrg chmod +x conf$$.sh 9314c0a534Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 9414c0a534Smrg PATH_SEPARATOR=';' 9514c0a534Smrg else 9614c0a534Smrg PATH_SEPARATOR=: 9714c0a534Smrg fi 9814c0a534Smrg rm -f conf$$.sh 9914c0a534Smrgfi 10014c0a534Smrg 10114c0a534Smrg 10214c0a534Smrg as_lineno_1=$LINENO 10314c0a534Smrg as_lineno_2=$LINENO 10414c0a534Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 10514c0a534Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 10614c0a534Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 10714c0a534Smrg # Find who we are. Look in the path if we contain no path at all 10814c0a534Smrg # relative or not. 10914c0a534Smrg case $0 in 11014c0a534Smrg *[\\/]* ) as_myself=$0 ;; 11114c0a534Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11214c0a534Smrgfor as_dir in $PATH 11314c0a534Smrgdo 11414c0a534Smrg IFS=$as_save_IFS 11514c0a534Smrg test -z "$as_dir" && as_dir=. 11614c0a534Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11714c0a534Smrgdone 11814c0a534Smrg 11914c0a534Smrg ;; 12014c0a534Smrg esac 12114c0a534Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 12214c0a534Smrg # in which case we are not to be found in the path. 12314c0a534Smrg if test "x$as_myself" = x; then 12414c0a534Smrg as_myself=$0 12514c0a534Smrg fi 12614c0a534Smrg if test ! -f "$as_myself"; then 12714c0a534Smrg { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 12814c0a534Smrg { (exit 1); exit 1; }; } 12914c0a534Smrg fi 13014c0a534Smrg case $CONFIG_SHELL in 13114c0a534Smrg '') 13214c0a534Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13314c0a534Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 13414c0a534Smrgdo 13514c0a534Smrg IFS=$as_save_IFS 13614c0a534Smrg test -z "$as_dir" && as_dir=. 13714c0a534Smrg for as_base in sh bash ksh sh5; do 13814c0a534Smrg case $as_dir in 13914c0a534Smrg /*) 14014c0a534Smrg if ("$as_dir/$as_base" -c ' 14114c0a534Smrg as_lineno_1=$LINENO 14214c0a534Smrg as_lineno_2=$LINENO 14314c0a534Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 14414c0a534Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 14514c0a534Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 14614c0a534Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 14714c0a534Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 14814c0a534Smrg CONFIG_SHELL=$as_dir/$as_base 14914c0a534Smrg export CONFIG_SHELL 15014c0a534Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 15114c0a534Smrg fi;; 15214c0a534Smrg esac 15314c0a534Smrg done 15414c0a534Smrgdone 15514c0a534Smrg;; 15614c0a534Smrg esac 15714c0a534Smrg 15814c0a534Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 15914c0a534Smrg # uniformly replaced by the line number. The first 'sed' inserts a 16014c0a534Smrg # line-number line before each line; the second 'sed' does the real 16114c0a534Smrg # work. The second script uses 'N' to pair each line-number line 16214c0a534Smrg # with the numbered line, and appends trailing '-' during 16314c0a534Smrg # substitution so that $LINENO is not a special case at line end. 16414c0a534Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 16514c0a534Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 16614c0a534Smrg sed '=' <$as_myself | 16714c0a534Smrg sed ' 16814c0a534Smrg N 16914c0a534Smrg s,$,-, 17014c0a534Smrg : loop 17114c0a534Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 17214c0a534Smrg t loop 17314c0a534Smrg s,-$,, 17414c0a534Smrg s,^['$as_cr_digits']*\n,, 17514c0a534Smrg ' >$as_me.lineno && 17614c0a534Smrg chmod +x $as_me.lineno || 17714c0a534Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 17814c0a534Smrg { (exit 1); exit 1; }; } 17914c0a534Smrg 18014c0a534Smrg # Don't try to exec as it changes $[0], causing all sort of problems 18114c0a534Smrg # (the dirname of $[0] is not the place where we might find the 18214c0a534Smrg # original and so on. Autoconf is especially sensible to this). 18314c0a534Smrg . ./$as_me.lineno 18414c0a534Smrg # Exit status is that of the last command. 18514c0a534Smrg exit 18614c0a534Smrg} 18714c0a534Smrg 18814c0a534Smrg 18914c0a534Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 19014c0a534Smrg *c*,-n*) ECHO_N= ECHO_C=' 19114c0a534Smrg' ECHO_T=' ' ;; 19214c0a534Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 19314c0a534Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 19414c0a534Smrgesac 19514c0a534Smrg 19614c0a534Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 19714c0a534Smrg as_expr=expr 19814c0a534Smrgelse 19914c0a534Smrg as_expr=false 20014c0a534Smrgfi 20114c0a534Smrg 20214c0a534Smrgrm -f conf$$ conf$$.exe conf$$.file 20314c0a534Smrgecho >conf$$.file 20414c0a534Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 20514c0a534Smrg # We could just check for DJGPP; but this test a) works b) is more generic 20614c0a534Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 20714c0a534Smrg if test -f conf$$.exe; then 20814c0a534Smrg # Don't use ln at all; we don't have any links 20914c0a534Smrg as_ln_s='cp -p' 21014c0a534Smrg else 21114c0a534Smrg as_ln_s='ln -s' 21214c0a534Smrg fi 21314c0a534Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 21414c0a534Smrg as_ln_s=ln 21514c0a534Smrgelse 21614c0a534Smrg as_ln_s='cp -p' 21714c0a534Smrgfi 21814c0a534Smrgrm -f conf$$ conf$$.exe conf$$.file 21914c0a534Smrg 22014c0a534Smrgif mkdir -p . 2>/dev/null; then 22114c0a534Smrg as_mkdir_p=: 22214c0a534Smrgelse 22314c0a534Smrg test -d ./-p && rmdir ./-p 22414c0a534Smrg as_mkdir_p=false 22514c0a534Smrgfi 22614c0a534Smrg 22714c0a534Smrgas_executable_p="test -f" 22814c0a534Smrg 22914c0a534Smrg# Sed expression to map a string onto a valid CPP name. 23014c0a534Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 23114c0a534Smrg 23214c0a534Smrg# Sed expression to map a string onto a valid variable name. 23314c0a534Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 23414c0a534Smrg 23514c0a534Smrg 23614c0a534Smrg# IFS 23714c0a534Smrg# We need space, tab and new line, in precisely that order. 23814c0a534Smrgas_nl=' 23914c0a534Smrg' 24014c0a534SmrgIFS=" $as_nl" 24114c0a534Smrg 24214c0a534Smrg# CDPATH. 24314c0a534Smrg$as_unset CDPATH 24414c0a534Smrg 24514c0a534Smrg 24614c0a534Smrg# Name of the host. 24714c0a534Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 24814c0a534Smrg# so uname gets run too. 24914c0a534Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 25014c0a534Smrg 25114c0a534Smrgexec 6>&1 25214c0a534Smrg 25314c0a534Smrg# 25414c0a534Smrg# Initializations. 25514c0a534Smrg# 25614c0a534Smrgac_default_prefix=/usr/local 25714c0a534Smrgac_config_libobj_dir=. 25814c0a534Smrgcross_compiling=no 25914c0a534Smrgsubdirs= 26014c0a534SmrgMFLAGS= 26114c0a534SmrgMAKEFLAGS= 26214c0a534SmrgSHELL=${CONFIG_SHELL-/bin/sh} 26314c0a534Smrg 26414c0a534Smrg# Maximum number of lines to put in a shell here document. 26514c0a534Smrg# This variable seems obsolete. It should probably be removed, and 26614c0a534Smrg# only ac_max_sed_lines should be used. 26714c0a534Smrg: ${ac_max_here_lines=38} 26814c0a534Smrg 26914c0a534Smrg# Identity of this package. 27014c0a534SmrgPACKAGE_NAME='smproxy' 27114c0a534SmrgPACKAGE_TARNAME='smproxy' 27214c0a534SmrgPACKAGE_VERSION='1.0.2' 27314c0a534SmrgPACKAGE_STRING='smproxy 1.0.2' 27414c0a534SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 27514c0a534Smrg 27614c0a534Smrgac_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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 SMPROXY_CFLAGS SMPROXY_LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS' 27714c0a534Smrgac_subst_files='' 27814c0a534Smrg 27914c0a534Smrg# Initialize some variables set by options. 28014c0a534Smrgac_init_help= 28114c0a534Smrgac_init_version=false 28214c0a534Smrg# The variables have the same names as the options, with 28314c0a534Smrg# dashes changed to underlines. 28414c0a534Smrgcache_file=/dev/null 28514c0a534Smrgexec_prefix=NONE 28614c0a534Smrgno_create= 28714c0a534Smrgno_recursion= 28814c0a534Smrgprefix=NONE 28914c0a534Smrgprogram_prefix=NONE 29014c0a534Smrgprogram_suffix=NONE 29114c0a534Smrgprogram_transform_name=s,x,x, 29214c0a534Smrgsilent= 29314c0a534Smrgsite= 29414c0a534Smrgsrcdir= 29514c0a534Smrgverbose= 29614c0a534Smrgx_includes=NONE 29714c0a534Smrgx_libraries=NONE 29814c0a534Smrg 29914c0a534Smrg# Installation directory options. 30014c0a534Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 30114c0a534Smrg# and all the variables that are supposed to be based on exec_prefix 30214c0a534Smrg# by default will actually change. 30314c0a534Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 30414c0a534Smrgbindir='${exec_prefix}/bin' 30514c0a534Smrgsbindir='${exec_prefix}/sbin' 30614c0a534Smrglibexecdir='${exec_prefix}/libexec' 30714c0a534Smrgdatadir='${prefix}/share' 30814c0a534Smrgsysconfdir='${prefix}/etc' 30914c0a534Smrgsharedstatedir='${prefix}/com' 31014c0a534Smrglocalstatedir='${prefix}/var' 31114c0a534Smrglibdir='${exec_prefix}/lib' 31214c0a534Smrgincludedir='${prefix}/include' 31314c0a534Smrgoldincludedir='/usr/include' 31414c0a534Smrginfodir='${prefix}/info' 31514c0a534Smrgmandir='${prefix}/man' 31614c0a534Smrg 31714c0a534Smrgac_prev= 31814c0a534Smrgfor ac_option 31914c0a534Smrgdo 32014c0a534Smrg # If the previous option needs an argument, assign it. 32114c0a534Smrg if test -n "$ac_prev"; then 32214c0a534Smrg eval "$ac_prev=\$ac_option" 32314c0a534Smrg ac_prev= 32414c0a534Smrg continue 32514c0a534Smrg fi 32614c0a534Smrg 32714c0a534Smrg ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 32814c0a534Smrg 32914c0a534Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 33014c0a534Smrg 33114c0a534Smrg case $ac_option in 33214c0a534Smrg 33314c0a534Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 33414c0a534Smrg ac_prev=bindir ;; 33514c0a534Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 33614c0a534Smrg bindir=$ac_optarg ;; 33714c0a534Smrg 33814c0a534Smrg -build | --build | --buil | --bui | --bu) 33914c0a534Smrg ac_prev=build_alias ;; 34014c0a534Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 34114c0a534Smrg build_alias=$ac_optarg ;; 34214c0a534Smrg 34314c0a534Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 34414c0a534Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 34514c0a534Smrg ac_prev=cache_file ;; 34614c0a534Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 34714c0a534Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 34814c0a534Smrg cache_file=$ac_optarg ;; 34914c0a534Smrg 35014c0a534Smrg --config-cache | -C) 35114c0a534Smrg cache_file=config.cache ;; 35214c0a534Smrg 35314c0a534Smrg -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 35414c0a534Smrg ac_prev=datadir ;; 35514c0a534Smrg -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 35614c0a534Smrg | --da=*) 35714c0a534Smrg datadir=$ac_optarg ;; 35814c0a534Smrg 35914c0a534Smrg -disable-* | --disable-*) 36014c0a534Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 36114c0a534Smrg # Reject names that are not valid shell variable names. 36214c0a534Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 36314c0a534Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 36414c0a534Smrg { (exit 1); exit 1; }; } 36514c0a534Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 36614c0a534Smrg eval "enable_$ac_feature=no" ;; 36714c0a534Smrg 36814c0a534Smrg -enable-* | --enable-*) 36914c0a534Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 37014c0a534Smrg # Reject names that are not valid shell variable names. 37114c0a534Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 37214c0a534Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 37314c0a534Smrg { (exit 1); exit 1; }; } 37414c0a534Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 37514c0a534Smrg case $ac_option in 37614c0a534Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 37714c0a534Smrg *) ac_optarg=yes ;; 37814c0a534Smrg esac 37914c0a534Smrg eval "enable_$ac_feature='$ac_optarg'" ;; 38014c0a534Smrg 38114c0a534Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 38214c0a534Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 38314c0a534Smrg | --exec | --exe | --ex) 38414c0a534Smrg ac_prev=exec_prefix ;; 38514c0a534Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 38614c0a534Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 38714c0a534Smrg | --exec=* | --exe=* | --ex=*) 38814c0a534Smrg exec_prefix=$ac_optarg ;; 38914c0a534Smrg 39014c0a534Smrg -gas | --gas | --ga | --g) 39114c0a534Smrg # Obsolete; use --with-gas. 39214c0a534Smrg with_gas=yes ;; 39314c0a534Smrg 39414c0a534Smrg -help | --help | --hel | --he | -h) 39514c0a534Smrg ac_init_help=long ;; 39614c0a534Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 39714c0a534Smrg ac_init_help=recursive ;; 39814c0a534Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 39914c0a534Smrg ac_init_help=short ;; 40014c0a534Smrg 40114c0a534Smrg -host | --host | --hos | --ho) 40214c0a534Smrg ac_prev=host_alias ;; 40314c0a534Smrg -host=* | --host=* | --hos=* | --ho=*) 40414c0a534Smrg host_alias=$ac_optarg ;; 40514c0a534Smrg 40614c0a534Smrg -includedir | --includedir | --includedi | --included | --include \ 40714c0a534Smrg | --includ | --inclu | --incl | --inc) 40814c0a534Smrg ac_prev=includedir ;; 40914c0a534Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 41014c0a534Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 41114c0a534Smrg includedir=$ac_optarg ;; 41214c0a534Smrg 41314c0a534Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 41414c0a534Smrg ac_prev=infodir ;; 41514c0a534Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 41614c0a534Smrg infodir=$ac_optarg ;; 41714c0a534Smrg 41814c0a534Smrg -libdir | --libdir | --libdi | --libd) 41914c0a534Smrg ac_prev=libdir ;; 42014c0a534Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 42114c0a534Smrg libdir=$ac_optarg ;; 42214c0a534Smrg 42314c0a534Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 42414c0a534Smrg | --libexe | --libex | --libe) 42514c0a534Smrg ac_prev=libexecdir ;; 42614c0a534Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 42714c0a534Smrg | --libexe=* | --libex=* | --libe=*) 42814c0a534Smrg libexecdir=$ac_optarg ;; 42914c0a534Smrg 43014c0a534Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 43114c0a534Smrg | --localstate | --localstat | --localsta | --localst \ 43214c0a534Smrg | --locals | --local | --loca | --loc | --lo) 43314c0a534Smrg ac_prev=localstatedir ;; 43414c0a534Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 43514c0a534Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 43614c0a534Smrg | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 43714c0a534Smrg localstatedir=$ac_optarg ;; 43814c0a534Smrg 43914c0a534Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 44014c0a534Smrg ac_prev=mandir ;; 44114c0a534Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 44214c0a534Smrg mandir=$ac_optarg ;; 44314c0a534Smrg 44414c0a534Smrg -nfp | --nfp | --nf) 44514c0a534Smrg # Obsolete; use --without-fp. 44614c0a534Smrg with_fp=no ;; 44714c0a534Smrg 44814c0a534Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 44914c0a534Smrg | --no-cr | --no-c | -n) 45014c0a534Smrg no_create=yes ;; 45114c0a534Smrg 45214c0a534Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 45314c0a534Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 45414c0a534Smrg no_recursion=yes ;; 45514c0a534Smrg 45614c0a534Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 45714c0a534Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 45814c0a534Smrg | --oldin | --oldi | --old | --ol | --o) 45914c0a534Smrg ac_prev=oldincludedir ;; 46014c0a534Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 46114c0a534Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 46214c0a534Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 46314c0a534Smrg oldincludedir=$ac_optarg ;; 46414c0a534Smrg 46514c0a534Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 46614c0a534Smrg ac_prev=prefix ;; 46714c0a534Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 46814c0a534Smrg prefix=$ac_optarg ;; 46914c0a534Smrg 47014c0a534Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 47114c0a534Smrg | --program-pre | --program-pr | --program-p) 47214c0a534Smrg ac_prev=program_prefix ;; 47314c0a534Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 47414c0a534Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 47514c0a534Smrg program_prefix=$ac_optarg ;; 47614c0a534Smrg 47714c0a534Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 47814c0a534Smrg | --program-suf | --program-su | --program-s) 47914c0a534Smrg ac_prev=program_suffix ;; 48014c0a534Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 48114c0a534Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 48214c0a534Smrg program_suffix=$ac_optarg ;; 48314c0a534Smrg 48414c0a534Smrg -program-transform-name | --program-transform-name \ 48514c0a534Smrg | --program-transform-nam | --program-transform-na \ 48614c0a534Smrg | --program-transform-n | --program-transform- \ 48714c0a534Smrg | --program-transform | --program-transfor \ 48814c0a534Smrg | --program-transfo | --program-transf \ 48914c0a534Smrg | --program-trans | --program-tran \ 49014c0a534Smrg | --progr-tra | --program-tr | --program-t) 49114c0a534Smrg ac_prev=program_transform_name ;; 49214c0a534Smrg -program-transform-name=* | --program-transform-name=* \ 49314c0a534Smrg | --program-transform-nam=* | --program-transform-na=* \ 49414c0a534Smrg | --program-transform-n=* | --program-transform-=* \ 49514c0a534Smrg | --program-transform=* | --program-transfor=* \ 49614c0a534Smrg | --program-transfo=* | --program-transf=* \ 49714c0a534Smrg | --program-trans=* | --program-tran=* \ 49814c0a534Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 49914c0a534Smrg program_transform_name=$ac_optarg ;; 50014c0a534Smrg 50114c0a534Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 50214c0a534Smrg | -silent | --silent | --silen | --sile | --sil) 50314c0a534Smrg silent=yes ;; 50414c0a534Smrg 50514c0a534Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 50614c0a534Smrg ac_prev=sbindir ;; 50714c0a534Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 50814c0a534Smrg | --sbi=* | --sb=*) 50914c0a534Smrg sbindir=$ac_optarg ;; 51014c0a534Smrg 51114c0a534Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 51214c0a534Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 51314c0a534Smrg | --sharedst | --shareds | --shared | --share | --shar \ 51414c0a534Smrg | --sha | --sh) 51514c0a534Smrg ac_prev=sharedstatedir ;; 51614c0a534Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 51714c0a534Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 51814c0a534Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 51914c0a534Smrg | --sha=* | --sh=*) 52014c0a534Smrg sharedstatedir=$ac_optarg ;; 52114c0a534Smrg 52214c0a534Smrg -site | --site | --sit) 52314c0a534Smrg ac_prev=site ;; 52414c0a534Smrg -site=* | --site=* | --sit=*) 52514c0a534Smrg site=$ac_optarg ;; 52614c0a534Smrg 52714c0a534Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 52814c0a534Smrg ac_prev=srcdir ;; 52914c0a534Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 53014c0a534Smrg srcdir=$ac_optarg ;; 53114c0a534Smrg 53214c0a534Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 53314c0a534Smrg | --syscon | --sysco | --sysc | --sys | --sy) 53414c0a534Smrg ac_prev=sysconfdir ;; 53514c0a534Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 53614c0a534Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 53714c0a534Smrg sysconfdir=$ac_optarg ;; 53814c0a534Smrg 53914c0a534Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 54014c0a534Smrg ac_prev=target_alias ;; 54114c0a534Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 54214c0a534Smrg target_alias=$ac_optarg ;; 54314c0a534Smrg 54414c0a534Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 54514c0a534Smrg verbose=yes ;; 54614c0a534Smrg 54714c0a534Smrg -version | --version | --versio | --versi | --vers | -V) 54814c0a534Smrg ac_init_version=: ;; 54914c0a534Smrg 55014c0a534Smrg -with-* | --with-*) 55114c0a534Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 55214c0a534Smrg # Reject names that are not valid shell variable names. 55314c0a534Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 55414c0a534Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 55514c0a534Smrg { (exit 1); exit 1; }; } 55614c0a534Smrg ac_package=`echo $ac_package| sed 's/-/_/g'` 55714c0a534Smrg case $ac_option in 55814c0a534Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 55914c0a534Smrg *) ac_optarg=yes ;; 56014c0a534Smrg esac 56114c0a534Smrg eval "with_$ac_package='$ac_optarg'" ;; 56214c0a534Smrg 56314c0a534Smrg -without-* | --without-*) 56414c0a534Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 56514c0a534Smrg # Reject names that are not valid shell variable names. 56614c0a534Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 56714c0a534Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 56814c0a534Smrg { (exit 1); exit 1; }; } 56914c0a534Smrg ac_package=`echo $ac_package | sed 's/-/_/g'` 57014c0a534Smrg eval "with_$ac_package=no" ;; 57114c0a534Smrg 57214c0a534Smrg --x) 57314c0a534Smrg # Obsolete; use --with-x. 57414c0a534Smrg with_x=yes ;; 57514c0a534Smrg 57614c0a534Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 57714c0a534Smrg | --x-incl | --x-inc | --x-in | --x-i) 57814c0a534Smrg ac_prev=x_includes ;; 57914c0a534Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 58014c0a534Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 58114c0a534Smrg x_includes=$ac_optarg ;; 58214c0a534Smrg 58314c0a534Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 58414c0a534Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 58514c0a534Smrg ac_prev=x_libraries ;; 58614c0a534Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 58714c0a534Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 58814c0a534Smrg x_libraries=$ac_optarg ;; 58914c0a534Smrg 59014c0a534Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 59114c0a534SmrgTry \`$0 --help' for more information." >&2 59214c0a534Smrg { (exit 1); exit 1; }; } 59314c0a534Smrg ;; 59414c0a534Smrg 59514c0a534Smrg *=*) 59614c0a534Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 59714c0a534Smrg # Reject names that are not valid shell variable names. 59814c0a534Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 59914c0a534Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 60014c0a534Smrg { (exit 1); exit 1; }; } 60114c0a534Smrg ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 60214c0a534Smrg eval "$ac_envvar='$ac_optarg'" 60314c0a534Smrg export $ac_envvar ;; 60414c0a534Smrg 60514c0a534Smrg *) 60614c0a534Smrg # FIXME: should be removed in autoconf 3.0. 60714c0a534Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 60814c0a534Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 60914c0a534Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 61014c0a534Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 61114c0a534Smrg ;; 61214c0a534Smrg 61314c0a534Smrg esac 61414c0a534Smrgdone 61514c0a534Smrg 61614c0a534Smrgif test -n "$ac_prev"; then 61714c0a534Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 61814c0a534Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 61914c0a534Smrg { (exit 1); exit 1; }; } 62014c0a534Smrgfi 62114c0a534Smrg 62214c0a534Smrg# Be sure to have absolute paths. 62314c0a534Smrgfor ac_var in exec_prefix prefix 62414c0a534Smrgdo 62514c0a534Smrg eval ac_val=$`echo $ac_var` 62614c0a534Smrg case $ac_val in 62714c0a534Smrg [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 62814c0a534Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 62914c0a534Smrg { (exit 1); exit 1; }; };; 63014c0a534Smrg esac 63114c0a534Smrgdone 63214c0a534Smrg 63314c0a534Smrg# Be sure to have absolute paths. 63414c0a534Smrgfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 63514c0a534Smrg localstatedir libdir includedir oldincludedir infodir mandir 63614c0a534Smrgdo 63714c0a534Smrg eval ac_val=$`echo $ac_var` 63814c0a534Smrg case $ac_val in 63914c0a534Smrg [\\/$]* | ?:[\\/]* ) ;; 64014c0a534Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 64114c0a534Smrg { (exit 1); exit 1; }; };; 64214c0a534Smrg esac 64314c0a534Smrgdone 64414c0a534Smrg 64514c0a534Smrg# There might be people who depend on the old broken behavior: `$host' 64614c0a534Smrg# used to hold the argument of --host etc. 64714c0a534Smrg# FIXME: To remove some day. 64814c0a534Smrgbuild=$build_alias 64914c0a534Smrghost=$host_alias 65014c0a534Smrgtarget=$target_alias 65114c0a534Smrg 65214c0a534Smrg# FIXME: To remove some day. 65314c0a534Smrgif test "x$host_alias" != x; then 65414c0a534Smrg if test "x$build_alias" = x; then 65514c0a534Smrg cross_compiling=maybe 65614c0a534Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 65714c0a534Smrg If a cross compiler is detected then cross compile mode will be used." >&2 65814c0a534Smrg elif test "x$build_alias" != "x$host_alias"; then 65914c0a534Smrg cross_compiling=yes 66014c0a534Smrg fi 66114c0a534Smrgfi 66214c0a534Smrg 66314c0a534Smrgac_tool_prefix= 66414c0a534Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 66514c0a534Smrg 66614c0a534Smrgtest "$silent" = yes && exec 6>/dev/null 66714c0a534Smrg 66814c0a534Smrg 66914c0a534Smrg# Find the source files, if location was not specified. 67014c0a534Smrgif test -z "$srcdir"; then 67114c0a534Smrg ac_srcdir_defaulted=yes 67214c0a534Smrg # Try the directory containing this script, then its parent. 67314c0a534Smrg ac_confdir=`(dirname "$0") 2>/dev/null || 67414c0a534Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 67514c0a534Smrg X"$0" : 'X\(//\)[^/]' \| \ 67614c0a534Smrg X"$0" : 'X\(//\)$' \| \ 67714c0a534Smrg X"$0" : 'X\(/\)' \| \ 67814c0a534Smrg . : '\(.\)' 2>/dev/null || 67914c0a534Smrgecho X"$0" | 68014c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 68114c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 68214c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 68314c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 68414c0a534Smrg s/.*/./; q'` 68514c0a534Smrg srcdir=$ac_confdir 68614c0a534Smrg if test ! -r $srcdir/$ac_unique_file; then 68714c0a534Smrg srcdir=.. 68814c0a534Smrg fi 68914c0a534Smrgelse 69014c0a534Smrg ac_srcdir_defaulted=no 69114c0a534Smrgfi 69214c0a534Smrgif test ! -r $srcdir/$ac_unique_file; then 69314c0a534Smrg if test "$ac_srcdir_defaulted" = yes; then 69414c0a534Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 69514c0a534Smrg { (exit 1); exit 1; }; } 69614c0a534Smrg else 69714c0a534Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 69814c0a534Smrg { (exit 1); exit 1; }; } 69914c0a534Smrg fi 70014c0a534Smrgfi 70114c0a534Smrg(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 70214c0a534Smrg { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 70314c0a534Smrg { (exit 1); exit 1; }; } 70414c0a534Smrgsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 70514c0a534Smrgac_env_build_alias_set=${build_alias+set} 70614c0a534Smrgac_env_build_alias_value=$build_alias 70714c0a534Smrgac_cv_env_build_alias_set=${build_alias+set} 70814c0a534Smrgac_cv_env_build_alias_value=$build_alias 70914c0a534Smrgac_env_host_alias_set=${host_alias+set} 71014c0a534Smrgac_env_host_alias_value=$host_alias 71114c0a534Smrgac_cv_env_host_alias_set=${host_alias+set} 71214c0a534Smrgac_cv_env_host_alias_value=$host_alias 71314c0a534Smrgac_env_target_alias_set=${target_alias+set} 71414c0a534Smrgac_env_target_alias_value=$target_alias 71514c0a534Smrgac_cv_env_target_alias_set=${target_alias+set} 71614c0a534Smrgac_cv_env_target_alias_value=$target_alias 71714c0a534Smrgac_env_CC_set=${CC+set} 71814c0a534Smrgac_env_CC_value=$CC 71914c0a534Smrgac_cv_env_CC_set=${CC+set} 72014c0a534Smrgac_cv_env_CC_value=$CC 72114c0a534Smrgac_env_CFLAGS_set=${CFLAGS+set} 72214c0a534Smrgac_env_CFLAGS_value=$CFLAGS 72314c0a534Smrgac_cv_env_CFLAGS_set=${CFLAGS+set} 72414c0a534Smrgac_cv_env_CFLAGS_value=$CFLAGS 72514c0a534Smrgac_env_LDFLAGS_set=${LDFLAGS+set} 72614c0a534Smrgac_env_LDFLAGS_value=$LDFLAGS 72714c0a534Smrgac_cv_env_LDFLAGS_set=${LDFLAGS+set} 72814c0a534Smrgac_cv_env_LDFLAGS_value=$LDFLAGS 72914c0a534Smrgac_env_CPPFLAGS_set=${CPPFLAGS+set} 73014c0a534Smrgac_env_CPPFLAGS_value=$CPPFLAGS 73114c0a534Smrgac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 73214c0a534Smrgac_cv_env_CPPFLAGS_value=$CPPFLAGS 73314c0a534Smrgac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 73414c0a534Smrgac_env_PKG_CONFIG_value=$PKG_CONFIG 73514c0a534Smrgac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 73614c0a534Smrgac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 73714c0a534Smrgac_env_SMPROXY_CFLAGS_set=${SMPROXY_CFLAGS+set} 73814c0a534Smrgac_env_SMPROXY_CFLAGS_value=$SMPROXY_CFLAGS 73914c0a534Smrgac_cv_env_SMPROXY_CFLAGS_set=${SMPROXY_CFLAGS+set} 74014c0a534Smrgac_cv_env_SMPROXY_CFLAGS_value=$SMPROXY_CFLAGS 74114c0a534Smrgac_env_SMPROXY_LIBS_set=${SMPROXY_LIBS+set} 74214c0a534Smrgac_env_SMPROXY_LIBS_value=$SMPROXY_LIBS 74314c0a534Smrgac_cv_env_SMPROXY_LIBS_set=${SMPROXY_LIBS+set} 74414c0a534Smrgac_cv_env_SMPROXY_LIBS_value=$SMPROXY_LIBS 74514c0a534Smrg 74614c0a534Smrg# 74714c0a534Smrg# Report the --help message. 74814c0a534Smrg# 74914c0a534Smrgif test "$ac_init_help" = "long"; then 75014c0a534Smrg # Omit some internal or obsolete options to make the list less imposing. 75114c0a534Smrg # This message is too long to be a string in the A/UX 3.1 sh. 75214c0a534Smrg cat <<_ACEOF 75314c0a534Smrg\`configure' configures smproxy 1.0.2 to adapt to many kinds of systems. 75414c0a534Smrg 75514c0a534SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 75614c0a534Smrg 75714c0a534SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 75814c0a534SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 75914c0a534Smrg 76014c0a534SmrgDefaults for the options are specified in brackets. 76114c0a534Smrg 76214c0a534SmrgConfiguration: 76314c0a534Smrg -h, --help display this help and exit 76414c0a534Smrg --help=short display options specific to this package 76514c0a534Smrg --help=recursive display the short help of all the included packages 76614c0a534Smrg -V, --version display version information and exit 76714c0a534Smrg -q, --quiet, --silent do not print \`checking...' messages 76814c0a534Smrg --cache-file=FILE cache test results in FILE [disabled] 76914c0a534Smrg -C, --config-cache alias for \`--cache-file=config.cache' 77014c0a534Smrg -n, --no-create do not create output files 77114c0a534Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 77214c0a534Smrg 77314c0a534Smrg_ACEOF 77414c0a534Smrg 77514c0a534Smrg cat <<_ACEOF 77614c0a534SmrgInstallation directories: 77714c0a534Smrg --prefix=PREFIX install architecture-independent files in PREFIX 77814c0a534Smrg [$ac_default_prefix] 77914c0a534Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 78014c0a534Smrg [PREFIX] 78114c0a534Smrg 78214c0a534SmrgBy default, \`make install' will install all the files in 78314c0a534Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 78414c0a534Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 78514c0a534Smrgfor instance \`--prefix=\$HOME'. 78614c0a534Smrg 78714c0a534SmrgFor better control, use the options below. 78814c0a534Smrg 78914c0a534SmrgFine tuning of the installation directories: 79014c0a534Smrg --bindir=DIR user executables [EPREFIX/bin] 79114c0a534Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 79214c0a534Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 79314c0a534Smrg --datadir=DIR read-only architecture-independent data [PREFIX/share] 79414c0a534Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 79514c0a534Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 79614c0a534Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 79714c0a534Smrg --libdir=DIR object code libraries [EPREFIX/lib] 79814c0a534Smrg --includedir=DIR C header files [PREFIX/include] 79914c0a534Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 80014c0a534Smrg --infodir=DIR info documentation [PREFIX/info] 80114c0a534Smrg --mandir=DIR man documentation [PREFIX/man] 80214c0a534Smrg_ACEOF 80314c0a534Smrg 80414c0a534Smrg cat <<\_ACEOF 80514c0a534Smrg 80614c0a534SmrgProgram names: 80714c0a534Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 80814c0a534Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 80914c0a534Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 81014c0a534Smrg 81114c0a534SmrgSystem types: 81214c0a534Smrg --build=BUILD configure for building on BUILD [guessed] 81314c0a534Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 81414c0a534Smrg_ACEOF 81514c0a534Smrgfi 81614c0a534Smrg 81714c0a534Smrgif test -n "$ac_init_help"; then 81814c0a534Smrg case $ac_init_help in 81914c0a534Smrg short | recursive ) echo "Configuration of smproxy 1.0.2:";; 82014c0a534Smrg esac 82114c0a534Smrg cat <<\_ACEOF 82214c0a534Smrg 82314c0a534SmrgOptional Features: 82414c0a534Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 82514c0a534Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 82614c0a534Smrg --enable-maintainer-mode enable make rules and dependencies not useful 82714c0a534Smrg (and sometimes confusing) to the casual installer 82814c0a534Smrg --disable-dependency-tracking speeds up one-time build 82914c0a534Smrg --enable-dependency-tracking do not reject slow dependency extractors 83014c0a534Smrg 83114c0a534SmrgOptional Packages: 83214c0a534Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 83314c0a534Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 83414c0a534Smrg --with-release-version=STRING 83514c0a534Smrg Use release version string in package name 83614c0a534Smrg 83714c0a534SmrgSome influential environment variables: 83814c0a534Smrg CC C compiler command 83914c0a534Smrg CFLAGS C compiler flags 84014c0a534Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 84114c0a534Smrg nonstandard directory <lib dir> 84214c0a534Smrg CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 84314c0a534Smrg headers in a nonstandard directory <include dir> 84414c0a534Smrg PKG_CONFIG path to pkg-config utility 84514c0a534Smrg SMPROXY_CFLAGS 84614c0a534Smrg C compiler flags for SMPROXY, overriding pkg-config 84714c0a534Smrg SMPROXY_LIBS 84814c0a534Smrg linker flags for SMPROXY, overriding pkg-config 84914c0a534Smrg 85014c0a534SmrgUse these variables to override the choices made by `configure' or to help 85114c0a534Smrgit to find libraries and programs with nonstandard names/locations. 85214c0a534Smrg 85314c0a534SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 85414c0a534Smrg_ACEOF 85514c0a534Smrgfi 85614c0a534Smrg 85714c0a534Smrgif test "$ac_init_help" = "recursive"; then 85814c0a534Smrg # If there are subdirs, report their specific --help. 85914c0a534Smrg ac_popdir=`pwd` 86014c0a534Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 86114c0a534Smrg test -d $ac_dir || continue 86214c0a534Smrg ac_builddir=. 86314c0a534Smrg 86414c0a534Smrgif test "$ac_dir" != .; then 86514c0a534Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 86614c0a534Smrg # A "../" for each directory in $ac_dir_suffix. 86714c0a534Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 86814c0a534Smrgelse 86914c0a534Smrg ac_dir_suffix= ac_top_builddir= 87014c0a534Smrgfi 87114c0a534Smrg 87214c0a534Smrgcase $srcdir in 87314c0a534Smrg .) # No --srcdir option. We are building in place. 87414c0a534Smrg ac_srcdir=. 87514c0a534Smrg if test -z "$ac_top_builddir"; then 87614c0a534Smrg ac_top_srcdir=. 87714c0a534Smrg else 87814c0a534Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 87914c0a534Smrg fi ;; 88014c0a534Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 88114c0a534Smrg ac_srcdir=$srcdir$ac_dir_suffix; 88214c0a534Smrg ac_top_srcdir=$srcdir ;; 88314c0a534Smrg *) # Relative path. 88414c0a534Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 88514c0a534Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 88614c0a534Smrgesac 88714c0a534Smrg 88814c0a534Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 88914c0a534Smrg# the directories may not exist. 89014c0a534Smrgcase `pwd` in 89114c0a534Smrg.) ac_abs_builddir="$ac_dir";; 89214c0a534Smrg*) 89314c0a534Smrg case "$ac_dir" in 89414c0a534Smrg .) ac_abs_builddir=`pwd`;; 89514c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 89614c0a534Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 89714c0a534Smrg esac;; 89814c0a534Smrgesac 89914c0a534Smrgcase $ac_abs_builddir in 90014c0a534Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 90114c0a534Smrg*) 90214c0a534Smrg case ${ac_top_builddir}. in 90314c0a534Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 90414c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 90514c0a534Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 90614c0a534Smrg esac;; 90714c0a534Smrgesac 90814c0a534Smrgcase $ac_abs_builddir in 90914c0a534Smrg.) ac_abs_srcdir=$ac_srcdir;; 91014c0a534Smrg*) 91114c0a534Smrg case $ac_srcdir in 91214c0a534Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 91314c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 91414c0a534Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 91514c0a534Smrg esac;; 91614c0a534Smrgesac 91714c0a534Smrgcase $ac_abs_builddir in 91814c0a534Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 91914c0a534Smrg*) 92014c0a534Smrg case $ac_top_srcdir in 92114c0a534Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 92214c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 92314c0a534Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 92414c0a534Smrg esac;; 92514c0a534Smrgesac 92614c0a534Smrg 92714c0a534Smrg cd $ac_dir 92814c0a534Smrg # Check for guested configure; otherwise get Cygnus style configure. 92914c0a534Smrg if test -f $ac_srcdir/configure.gnu; then 93014c0a534Smrg echo 93114c0a534Smrg $SHELL $ac_srcdir/configure.gnu --help=recursive 93214c0a534Smrg elif test -f $ac_srcdir/configure; then 93314c0a534Smrg echo 93414c0a534Smrg $SHELL $ac_srcdir/configure --help=recursive 93514c0a534Smrg elif test -f $ac_srcdir/configure.ac || 93614c0a534Smrg test -f $ac_srcdir/configure.in; then 93714c0a534Smrg echo 93814c0a534Smrg $ac_configure --help 93914c0a534Smrg else 94014c0a534Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 94114c0a534Smrg fi 94214c0a534Smrg cd $ac_popdir 94314c0a534Smrg done 94414c0a534Smrgfi 94514c0a534Smrg 94614c0a534Smrgtest -n "$ac_init_help" && exit 0 94714c0a534Smrgif $ac_init_version; then 94814c0a534Smrg cat <<\_ACEOF 94914c0a534Smrgsmproxy configure 1.0.2 95014c0a534Smrggenerated by GNU Autoconf 2.59 95114c0a534Smrg 95214c0a534SmrgCopyright (C) 2003 Free Software Foundation, Inc. 95314c0a534SmrgThis configure script is free software; the Free Software Foundation 95414c0a534Smrggives unlimited permission to copy, distribute and modify it. 95514c0a534Smrg_ACEOF 95614c0a534Smrg exit 0 95714c0a534Smrgfi 95814c0a534Smrgexec 5>config.log 95914c0a534Smrgcat >&5 <<_ACEOF 96014c0a534SmrgThis file contains any messages produced by compilers while 96114c0a534Smrgrunning configure, to aid debugging if configure makes a mistake. 96214c0a534Smrg 96314c0a534SmrgIt was created by smproxy $as_me 1.0.2, which was 96414c0a534Smrggenerated by GNU Autoconf 2.59. Invocation command line was 96514c0a534Smrg 96614c0a534Smrg $ $0 $@ 96714c0a534Smrg 96814c0a534Smrg_ACEOF 96914c0a534Smrg{ 97014c0a534Smrgcat <<_ASUNAME 97114c0a534Smrg## --------- ## 97214c0a534Smrg## Platform. ## 97314c0a534Smrg## --------- ## 97414c0a534Smrg 97514c0a534Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 97614c0a534Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 97714c0a534Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 97814c0a534Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 97914c0a534Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 98014c0a534Smrg 98114c0a534Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 98214c0a534Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 98314c0a534Smrg 98414c0a534Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 98514c0a534Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 98614c0a534Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 98714c0a534Smrghostinfo = `(hostinfo) 2>/dev/null || echo unknown` 98814c0a534Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 98914c0a534Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 99014c0a534Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 99114c0a534Smrg 99214c0a534Smrg_ASUNAME 99314c0a534Smrg 99414c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 99514c0a534Smrgfor as_dir in $PATH 99614c0a534Smrgdo 99714c0a534Smrg IFS=$as_save_IFS 99814c0a534Smrg test -z "$as_dir" && as_dir=. 99914c0a534Smrg echo "PATH: $as_dir" 100014c0a534Smrgdone 100114c0a534Smrg 100214c0a534Smrg} >&5 100314c0a534Smrg 100414c0a534Smrgcat >&5 <<_ACEOF 100514c0a534Smrg 100614c0a534Smrg 100714c0a534Smrg## ----------- ## 100814c0a534Smrg## Core tests. ## 100914c0a534Smrg## ----------- ## 101014c0a534Smrg 101114c0a534Smrg_ACEOF 101214c0a534Smrg 101314c0a534Smrg 101414c0a534Smrg# Keep a trace of the command line. 101514c0a534Smrg# Strip out --no-create and --no-recursion so they do not pile up. 101614c0a534Smrg# Strip out --silent because we don't want to record it for future runs. 101714c0a534Smrg# Also quote any args containing shell meta-characters. 101814c0a534Smrg# Make two passes to allow for proper duplicate-argument suppression. 101914c0a534Smrgac_configure_args= 102014c0a534Smrgac_configure_args0= 102114c0a534Smrgac_configure_args1= 102214c0a534Smrgac_sep= 102314c0a534Smrgac_must_keep_next=false 102414c0a534Smrgfor ac_pass in 1 2 102514c0a534Smrgdo 102614c0a534Smrg for ac_arg 102714c0a534Smrg do 102814c0a534Smrg case $ac_arg in 102914c0a534Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 103014c0a534Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 103114c0a534Smrg | -silent | --silent | --silen | --sile | --sil) 103214c0a534Smrg continue ;; 103314c0a534Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 103414c0a534Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 103514c0a534Smrg esac 103614c0a534Smrg case $ac_pass in 103714c0a534Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 103814c0a534Smrg 2) 103914c0a534Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 104014c0a534Smrg if test $ac_must_keep_next = true; then 104114c0a534Smrg ac_must_keep_next=false # Got value, back to normal. 104214c0a534Smrg else 104314c0a534Smrg case $ac_arg in 104414c0a534Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 104514c0a534Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 104614c0a534Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 104714c0a534Smrg | -with-* | --with-* | -without-* | --without-* | --x) 104814c0a534Smrg case "$ac_configure_args0 " in 104914c0a534Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 105014c0a534Smrg esac 105114c0a534Smrg ;; 105214c0a534Smrg -* ) ac_must_keep_next=true ;; 105314c0a534Smrg esac 105414c0a534Smrg fi 105514c0a534Smrg ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 105614c0a534Smrg # Get rid of the leading space. 105714c0a534Smrg ac_sep=" " 105814c0a534Smrg ;; 105914c0a534Smrg esac 106014c0a534Smrg done 106114c0a534Smrgdone 106214c0a534Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 106314c0a534Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 106414c0a534Smrg 106514c0a534Smrg# When interrupted or exit'd, cleanup temporary files, and complete 106614c0a534Smrg# config.log. We remove comments because anyway the quotes in there 106714c0a534Smrg# would cause problems or look ugly. 106814c0a534Smrg# WARNING: Be sure not to use single quotes in there, as some shells, 106914c0a534Smrg# such as our DU 5.0 friend, will then `close' the trap. 107014c0a534Smrgtrap 'exit_status=$? 107114c0a534Smrg # Save into config.log some information that might help in debugging. 107214c0a534Smrg { 107314c0a534Smrg echo 107414c0a534Smrg 107514c0a534Smrg cat <<\_ASBOX 107614c0a534Smrg## ---------------- ## 107714c0a534Smrg## Cache variables. ## 107814c0a534Smrg## ---------------- ## 107914c0a534Smrg_ASBOX 108014c0a534Smrg echo 108114c0a534Smrg # The following way of writing the cache mishandles newlines in values, 108214c0a534Smrg{ 108314c0a534Smrg (set) 2>&1 | 108414c0a534Smrg case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 108514c0a534Smrg *ac_space=\ *) 108614c0a534Smrg sed -n \ 108714c0a534Smrg "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 108814c0a534Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 108914c0a534Smrg ;; 109014c0a534Smrg *) 109114c0a534Smrg sed -n \ 109214c0a534Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 109314c0a534Smrg ;; 109414c0a534Smrg esac; 109514c0a534Smrg} 109614c0a534Smrg echo 109714c0a534Smrg 109814c0a534Smrg cat <<\_ASBOX 109914c0a534Smrg## ----------------- ## 110014c0a534Smrg## Output variables. ## 110114c0a534Smrg## ----------------- ## 110214c0a534Smrg_ASBOX 110314c0a534Smrg echo 110414c0a534Smrg for ac_var in $ac_subst_vars 110514c0a534Smrg do 110614c0a534Smrg eval ac_val=$`echo $ac_var` 110714c0a534Smrg echo "$ac_var='"'"'$ac_val'"'"'" 110814c0a534Smrg done | sort 110914c0a534Smrg echo 111014c0a534Smrg 111114c0a534Smrg if test -n "$ac_subst_files"; then 111214c0a534Smrg cat <<\_ASBOX 111314c0a534Smrg## ------------- ## 111414c0a534Smrg## Output files. ## 111514c0a534Smrg## ------------- ## 111614c0a534Smrg_ASBOX 111714c0a534Smrg echo 111814c0a534Smrg for ac_var in $ac_subst_files 111914c0a534Smrg do 112014c0a534Smrg eval ac_val=$`echo $ac_var` 112114c0a534Smrg echo "$ac_var='"'"'$ac_val'"'"'" 112214c0a534Smrg done | sort 112314c0a534Smrg echo 112414c0a534Smrg fi 112514c0a534Smrg 112614c0a534Smrg if test -s confdefs.h; then 112714c0a534Smrg cat <<\_ASBOX 112814c0a534Smrg## ----------- ## 112914c0a534Smrg## confdefs.h. ## 113014c0a534Smrg## ----------- ## 113114c0a534Smrg_ASBOX 113214c0a534Smrg echo 113314c0a534Smrg sed "/^$/d" confdefs.h | sort 113414c0a534Smrg echo 113514c0a534Smrg fi 113614c0a534Smrg test "$ac_signal" != 0 && 113714c0a534Smrg echo "$as_me: caught signal $ac_signal" 113814c0a534Smrg echo "$as_me: exit $exit_status" 113914c0a534Smrg } >&5 114014c0a534Smrg rm -f core *.core && 114114c0a534Smrg rm -rf conftest* confdefs* conf$$* $ac_clean_files && 114214c0a534Smrg exit $exit_status 114314c0a534Smrg ' 0 114414c0a534Smrgfor ac_signal in 1 2 13 15; do 114514c0a534Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 114614c0a534Smrgdone 114714c0a534Smrgac_signal=0 114814c0a534Smrg 114914c0a534Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 115014c0a534Smrgrm -rf conftest* confdefs.h 115114c0a534Smrg# AIX cpp loses on an empty file, so make sure it contains at least a newline. 115214c0a534Smrgecho >confdefs.h 115314c0a534Smrg 115414c0a534Smrg# Predefined preprocessor variables. 115514c0a534Smrg 115614c0a534Smrgcat >>confdefs.h <<_ACEOF 115714c0a534Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 115814c0a534Smrg_ACEOF 115914c0a534Smrg 116014c0a534Smrg 116114c0a534Smrgcat >>confdefs.h <<_ACEOF 116214c0a534Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 116314c0a534Smrg_ACEOF 116414c0a534Smrg 116514c0a534Smrg 116614c0a534Smrgcat >>confdefs.h <<_ACEOF 116714c0a534Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 116814c0a534Smrg_ACEOF 116914c0a534Smrg 117014c0a534Smrg 117114c0a534Smrgcat >>confdefs.h <<_ACEOF 117214c0a534Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 117314c0a534Smrg_ACEOF 117414c0a534Smrg 117514c0a534Smrg 117614c0a534Smrgcat >>confdefs.h <<_ACEOF 117714c0a534Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 117814c0a534Smrg_ACEOF 117914c0a534Smrg 118014c0a534Smrg 118114c0a534Smrg# Let the site file select an alternate cache file if it wants to. 118214c0a534Smrg# Prefer explicitly selected file to automatically selected ones. 118314c0a534Smrgif test -z "$CONFIG_SITE"; then 118414c0a534Smrg if test "x$prefix" != xNONE; then 118514c0a534Smrg CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 118614c0a534Smrg else 118714c0a534Smrg CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 118814c0a534Smrg fi 118914c0a534Smrgfi 119014c0a534Smrgfor ac_site_file in $CONFIG_SITE; do 119114c0a534Smrg if test -r "$ac_site_file"; then 119214c0a534Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 119314c0a534Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 119414c0a534Smrg sed 's/^/| /' "$ac_site_file" >&5 119514c0a534Smrg . "$ac_site_file" 119614c0a534Smrg fi 119714c0a534Smrgdone 119814c0a534Smrg 119914c0a534Smrgif test -r "$cache_file"; then 120014c0a534Smrg # Some versions of bash will fail to source /dev/null (special 120114c0a534Smrg # files actually), so we avoid doing that. 120214c0a534Smrg if test -f "$cache_file"; then 120314c0a534Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 120414c0a534Smrgecho "$as_me: loading cache $cache_file" >&6;} 120514c0a534Smrg case $cache_file in 120614c0a534Smrg [\\/]* | ?:[\\/]* ) . $cache_file;; 120714c0a534Smrg *) . ./$cache_file;; 120814c0a534Smrg esac 120914c0a534Smrg fi 121014c0a534Smrgelse 121114c0a534Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 121214c0a534Smrgecho "$as_me: creating cache $cache_file" >&6;} 121314c0a534Smrg >$cache_file 121414c0a534Smrgfi 121514c0a534Smrg 121614c0a534Smrg# Check that the precious variables saved in the cache have kept the same 121714c0a534Smrg# value. 121814c0a534Smrgac_cache_corrupted=false 121914c0a534Smrgfor ac_var in `(set) 2>&1 | 122014c0a534Smrg sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 122114c0a534Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 122214c0a534Smrg eval ac_new_set=\$ac_env_${ac_var}_set 122314c0a534Smrg eval ac_old_val="\$ac_cv_env_${ac_var}_value" 122414c0a534Smrg eval ac_new_val="\$ac_env_${ac_var}_value" 122514c0a534Smrg case $ac_old_set,$ac_new_set in 122614c0a534Smrg set,) 122714c0a534Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 122814c0a534Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 122914c0a534Smrg ac_cache_corrupted=: ;; 123014c0a534Smrg ,set) 123114c0a534Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 123214c0a534Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 123314c0a534Smrg ac_cache_corrupted=: ;; 123414c0a534Smrg ,);; 123514c0a534Smrg *) 123614c0a534Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 123714c0a534Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 123814c0a534Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 123914c0a534Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 124014c0a534Smrgecho "$as_me: former value: $ac_old_val" >&2;} 124114c0a534Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 124214c0a534Smrgecho "$as_me: current value: $ac_new_val" >&2;} 124314c0a534Smrg ac_cache_corrupted=: 124414c0a534Smrg fi;; 124514c0a534Smrg esac 124614c0a534Smrg # Pass precious variables to config.status. 124714c0a534Smrg if test "$ac_new_set" = set; then 124814c0a534Smrg case $ac_new_val in 124914c0a534Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 125014c0a534Smrg ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 125114c0a534Smrg *) ac_arg=$ac_var=$ac_new_val ;; 125214c0a534Smrg esac 125314c0a534Smrg case " $ac_configure_args " in 125414c0a534Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 125514c0a534Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 125614c0a534Smrg esac 125714c0a534Smrg fi 125814c0a534Smrgdone 125914c0a534Smrgif $ac_cache_corrupted; then 126014c0a534Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 126114c0a534Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 126214c0a534Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 126314c0a534Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 126414c0a534Smrg { (exit 1); exit 1; }; } 126514c0a534Smrgfi 126614c0a534Smrg 126714c0a534Smrgac_ext=c 126814c0a534Smrgac_cpp='$CPP $CPPFLAGS' 126914c0a534Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 127014c0a534Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 127114c0a534Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 127214c0a534Smrg 127314c0a534Smrg 127414c0a534Smrg 127514c0a534Smrg 127614c0a534Smrg 127714c0a534Smrg 127814c0a534Smrg 127914c0a534Smrg 128014c0a534Smrg 128114c0a534Smrg 128214c0a534Smrg 128314c0a534Smrg 128414c0a534Smrg 128514c0a534Smrg 128614c0a534Smrg 128714c0a534Smrg 128814c0a534Smrg 128914c0a534Smrg 129014c0a534Smrg 129114c0a534Smrg 129214c0a534Smrg 129314c0a534Smrg 129414c0a534Smrg 129514c0a534Smrg 129614c0a534Smrg 129714c0a534Smrg 129814c0a534Smrg 129914c0a534Smrgam__api_version="1.9" 130014c0a534Smrgac_aux_dir= 130114c0a534Smrgfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 130214c0a534Smrg if test -f $ac_dir/install-sh; then 130314c0a534Smrg ac_aux_dir=$ac_dir 130414c0a534Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 130514c0a534Smrg break 130614c0a534Smrg elif test -f $ac_dir/install.sh; then 130714c0a534Smrg ac_aux_dir=$ac_dir 130814c0a534Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 130914c0a534Smrg break 131014c0a534Smrg elif test -f $ac_dir/shtool; then 131114c0a534Smrg ac_aux_dir=$ac_dir 131214c0a534Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 131314c0a534Smrg break 131414c0a534Smrg fi 131514c0a534Smrgdone 131614c0a534Smrgif test -z "$ac_aux_dir"; then 131714c0a534Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 131814c0a534Smrgecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 131914c0a534Smrg { (exit 1); exit 1; }; } 132014c0a534Smrgfi 132114c0a534Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" 132214c0a534Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" 132314c0a534Smrgac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 132414c0a534Smrg 132514c0a534Smrg# Find a good install program. We prefer a C program (faster), 132614c0a534Smrg# so one script is as good as another. But avoid the broken or 132714c0a534Smrg# incompatible versions: 132814c0a534Smrg# SysV /etc/install, /usr/sbin/install 132914c0a534Smrg# SunOS /usr/etc/install 133014c0a534Smrg# IRIX /sbin/install 133114c0a534Smrg# AIX /bin/install 133214c0a534Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 133314c0a534Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 133414c0a534Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 133514c0a534Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 133614c0a534Smrg# OS/2's system install, which has a completely different semantic 133714c0a534Smrg# ./install, which can be erroneously created by make from ./install.sh. 133814c0a534Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 133914c0a534Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 134014c0a534Smrgif test -z "$INSTALL"; then 134114c0a534Smrgif test "${ac_cv_path_install+set}" = set; then 134214c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 134314c0a534Smrgelse 134414c0a534Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 134514c0a534Smrgfor as_dir in $PATH 134614c0a534Smrgdo 134714c0a534Smrg IFS=$as_save_IFS 134814c0a534Smrg test -z "$as_dir" && as_dir=. 134914c0a534Smrg # Account for people who put trailing slashes in PATH elements. 135014c0a534Smrgcase $as_dir/ in 135114c0a534Smrg ./ | .// | /cC/* | \ 135214c0a534Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 135314c0a534Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 135414c0a534Smrg /usr/ucb/* ) ;; 135514c0a534Smrg *) 135614c0a534Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 135714c0a534Smrg # Don't use installbsd from OSF since it installs stuff as root 135814c0a534Smrg # by default. 135914c0a534Smrg for ac_prog in ginstall scoinst install; do 136014c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 136114c0a534Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 136214c0a534Smrg if test $ac_prog = install && 136314c0a534Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 136414c0a534Smrg # AIX install. It has an incompatible calling convention. 136514c0a534Smrg : 136614c0a534Smrg elif test $ac_prog = install && 136714c0a534Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 136814c0a534Smrg # program-specific install script used by HP pwplus--don't use. 136914c0a534Smrg : 137014c0a534Smrg else 137114c0a534Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 137214c0a534Smrg break 3 137314c0a534Smrg fi 137414c0a534Smrg fi 137514c0a534Smrg done 137614c0a534Smrg done 137714c0a534Smrg ;; 137814c0a534Smrgesac 137914c0a534Smrgdone 138014c0a534Smrg 138114c0a534Smrg 138214c0a534Smrgfi 138314c0a534Smrg if test "${ac_cv_path_install+set}" = set; then 138414c0a534Smrg INSTALL=$ac_cv_path_install 138514c0a534Smrg else 138614c0a534Smrg # As a last resort, use the slow shell script. We don't cache a 138714c0a534Smrg # path for INSTALL within a source directory, because that will 138814c0a534Smrg # break other packages using the cache if that directory is 138914c0a534Smrg # removed, or if the path is relative. 139014c0a534Smrg INSTALL=$ac_install_sh 139114c0a534Smrg fi 139214c0a534Smrgfi 139314c0a534Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 139414c0a534Smrgecho "${ECHO_T}$INSTALL" >&6 139514c0a534Smrg 139614c0a534Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 139714c0a534Smrg# It thinks the first close brace ends the variable substitution. 139814c0a534Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 139914c0a534Smrg 140014c0a534Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 140114c0a534Smrg 140214c0a534Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 140314c0a534Smrg 140414c0a534Smrgecho "$as_me:$LINENO: checking whether build environment is sane" >&5 140514c0a534Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 140614c0a534Smrg# Just in case 140714c0a534Smrgsleep 1 140814c0a534Smrgecho timestamp > conftest.file 140914c0a534Smrg# Do `set' in a subshell so we don't clobber the current shell's 141014c0a534Smrg# arguments. Must try -L first in case configure is actually a 141114c0a534Smrg# symlink; some systems play weird games with the mod time of symlinks 141214c0a534Smrg# (eg FreeBSD returns the mod time of the symlink's containing 141314c0a534Smrg# directory). 141414c0a534Smrgif ( 141514c0a534Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 141614c0a534Smrg if test "$*" = "X"; then 141714c0a534Smrg # -L didn't work. 141814c0a534Smrg set X `ls -t $srcdir/configure conftest.file` 141914c0a534Smrg fi 142014c0a534Smrg rm -f conftest.file 142114c0a534Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 142214c0a534Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 142314c0a534Smrg 142414c0a534Smrg # If neither matched, then we have a broken ls. This can happen 142514c0a534Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 142614c0a534Smrg # broken ls alias from the environment. This has actually 142714c0a534Smrg # happened. Such a system could not be considered "sane". 142814c0a534Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 142914c0a534Smrgalias in your environment" >&5 143014c0a534Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 143114c0a534Smrgalias in your environment" >&2;} 143214c0a534Smrg { (exit 1); exit 1; }; } 143314c0a534Smrg fi 143414c0a534Smrg 143514c0a534Smrg test "$2" = conftest.file 143614c0a534Smrg ) 143714c0a534Smrgthen 143814c0a534Smrg # Ok. 143914c0a534Smrg : 144014c0a534Smrgelse 144114c0a534Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 144214c0a534SmrgCheck your system clock" >&5 144314c0a534Smrgecho "$as_me: error: newly created file is older than distributed files! 144414c0a534SmrgCheck your system clock" >&2;} 144514c0a534Smrg { (exit 1); exit 1; }; } 144614c0a534Smrgfi 144714c0a534Smrgecho "$as_me:$LINENO: result: yes" >&5 144814c0a534Smrgecho "${ECHO_T}yes" >&6 144914c0a534Smrgtest "$program_prefix" != NONE && 145014c0a534Smrg program_transform_name="s,^,$program_prefix,;$program_transform_name" 145114c0a534Smrg# Use a double $ so make ignores it. 145214c0a534Smrgtest "$program_suffix" != NONE && 145314c0a534Smrg program_transform_name="s,\$,$program_suffix,;$program_transform_name" 145414c0a534Smrg# Double any \ or $. echo might interpret backslashes. 145514c0a534Smrg# By default was `s,x,x', remove it if useless. 145614c0a534Smrgcat <<\_ACEOF >conftest.sed 145714c0a534Smrgs/[\\$]/&&/g;s/;s,x,x,$// 145814c0a534Smrg_ACEOF 145914c0a534Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 146014c0a534Smrgrm conftest.sed 146114c0a534Smrg 146214c0a534Smrg# expand $ac_aux_dir to an absolute path 146314c0a534Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 146414c0a534Smrg 146514c0a534Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 146614c0a534Smrg# Use eval to expand $SHELL 146714c0a534Smrgif eval "$MISSING --run true"; then 146814c0a534Smrg am_missing_run="$MISSING --run " 146914c0a534Smrgelse 147014c0a534Smrg am_missing_run= 147114c0a534Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 147214c0a534Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 147314c0a534Smrgfi 147414c0a534Smrg 147514c0a534Smrgif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 147614c0a534Smrg # We used to keeping the `.' as first argument, in order to 147714c0a534Smrg # allow $(mkdir_p) to be used without argument. As in 147814c0a534Smrg # $(mkdir_p) $(somedir) 147914c0a534Smrg # where $(somedir) is conditionally defined. However this is wrong 148014c0a534Smrg # for two reasons: 148114c0a534Smrg # 1. if the package is installed by a user who cannot write `.' 148214c0a534Smrg # make install will fail, 148314c0a534Smrg # 2. the above comment should most certainly read 148414c0a534Smrg # $(mkdir_p) $(DESTDIR)$(somedir) 148514c0a534Smrg # so it does not work when $(somedir) is undefined and 148614c0a534Smrg # $(DESTDIR) is not. 148714c0a534Smrg # To support the latter case, we have to write 148814c0a534Smrg # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 148914c0a534Smrg # so the `.' trick is pointless. 149014c0a534Smrg mkdir_p='mkdir -p --' 149114c0a534Smrgelse 149214c0a534Smrg # On NextStep and OpenStep, the `mkdir' command does not 149314c0a534Smrg # recognize any option. It will interpret all options as 149414c0a534Smrg # directories to create, and then abort because `.' already 149514c0a534Smrg # exists. 149614c0a534Smrg for d in ./-p ./--version; 149714c0a534Smrg do 149814c0a534Smrg test -d $d && rmdir $d 149914c0a534Smrg done 150014c0a534Smrg # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 150114c0a534Smrg if test -f "$ac_aux_dir/mkinstalldirs"; then 150214c0a534Smrg mkdir_p='$(mkinstalldirs)' 150314c0a534Smrg else 150414c0a534Smrg mkdir_p='$(install_sh) -d' 150514c0a534Smrg fi 150614c0a534Smrgfi 150714c0a534Smrg 150814c0a534Smrgfor ac_prog in gawk mawk nawk awk 150914c0a534Smrgdo 151014c0a534Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 151114c0a534Smrgset dummy $ac_prog; ac_word=$2 151214c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 151314c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 151414c0a534Smrgif test "${ac_cv_prog_AWK+set}" = set; then 151514c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 151614c0a534Smrgelse 151714c0a534Smrg if test -n "$AWK"; then 151814c0a534Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 151914c0a534Smrgelse 152014c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 152114c0a534Smrgfor as_dir in $PATH 152214c0a534Smrgdo 152314c0a534Smrg IFS=$as_save_IFS 152414c0a534Smrg test -z "$as_dir" && as_dir=. 152514c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 152614c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 152714c0a534Smrg ac_cv_prog_AWK="$ac_prog" 152814c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 152914c0a534Smrg break 2 153014c0a534Smrg fi 153114c0a534Smrgdone 153214c0a534Smrgdone 153314c0a534Smrg 153414c0a534Smrgfi 153514c0a534Smrgfi 153614c0a534SmrgAWK=$ac_cv_prog_AWK 153714c0a534Smrgif test -n "$AWK"; then 153814c0a534Smrg echo "$as_me:$LINENO: result: $AWK" >&5 153914c0a534Smrgecho "${ECHO_T}$AWK" >&6 154014c0a534Smrgelse 154114c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 154214c0a534Smrgecho "${ECHO_T}no" >&6 154314c0a534Smrgfi 154414c0a534Smrg 154514c0a534Smrg test -n "$AWK" && break 154614c0a534Smrgdone 154714c0a534Smrg 154814c0a534Smrgecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 154914c0a534Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 155014c0a534Smrgset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 155114c0a534Smrgif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 155214c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 155314c0a534Smrgelse 155414c0a534Smrg cat >conftest.make <<\_ACEOF 155514c0a534Smrgall: 155614c0a534Smrg @echo 'ac_maketemp="$(MAKE)"' 155714c0a534Smrg_ACEOF 155814c0a534Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 155914c0a534Smrgeval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 156014c0a534Smrgif test -n "$ac_maketemp"; then 156114c0a534Smrg eval ac_cv_prog_make_${ac_make}_set=yes 156214c0a534Smrgelse 156314c0a534Smrg eval ac_cv_prog_make_${ac_make}_set=no 156414c0a534Smrgfi 156514c0a534Smrgrm -f conftest.make 156614c0a534Smrgfi 156714c0a534Smrgif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 156814c0a534Smrg echo "$as_me:$LINENO: result: yes" >&5 156914c0a534Smrgecho "${ECHO_T}yes" >&6 157014c0a534Smrg SET_MAKE= 157114c0a534Smrgelse 157214c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 157314c0a534Smrgecho "${ECHO_T}no" >&6 157414c0a534Smrg SET_MAKE="MAKE=${MAKE-make}" 157514c0a534Smrgfi 157614c0a534Smrg 157714c0a534Smrgrm -rf .tst 2>/dev/null 157814c0a534Smrgmkdir .tst 2>/dev/null 157914c0a534Smrgif test -d .tst; then 158014c0a534Smrg am__leading_dot=. 158114c0a534Smrgelse 158214c0a534Smrg am__leading_dot=_ 158314c0a534Smrgfi 158414c0a534Smrgrmdir .tst 2>/dev/null 158514c0a534Smrg 158614c0a534Smrg# test to see if srcdir already configured 158714c0a534Smrgif test "`cd $srcdir && pwd`" != "`pwd`" && 158814c0a534Smrg test -f $srcdir/config.status; then 158914c0a534Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 159014c0a534Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 159114c0a534Smrg { (exit 1); exit 1; }; } 159214c0a534Smrgfi 159314c0a534Smrg 159414c0a534Smrg# test whether we have cygpath 159514c0a534Smrgif test -z "$CYGPATH_W"; then 159614c0a534Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 159714c0a534Smrg CYGPATH_W='cygpath -w' 159814c0a534Smrg else 159914c0a534Smrg CYGPATH_W=echo 160014c0a534Smrg fi 160114c0a534Smrgfi 160214c0a534Smrg 160314c0a534Smrg 160414c0a534Smrg# Define the identity of the package. 160514c0a534Smrg PACKAGE='smproxy' 160614c0a534Smrg VERSION='1.0.2' 160714c0a534Smrg 160814c0a534Smrg 160914c0a534Smrgcat >>confdefs.h <<_ACEOF 161014c0a534Smrg#define PACKAGE "$PACKAGE" 161114c0a534Smrg_ACEOF 161214c0a534Smrg 161314c0a534Smrg 161414c0a534Smrgcat >>confdefs.h <<_ACEOF 161514c0a534Smrg#define VERSION "$VERSION" 161614c0a534Smrg_ACEOF 161714c0a534Smrg 161814c0a534Smrg# Some tools Automake needs. 161914c0a534Smrg 162014c0a534SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 162114c0a534Smrg 162214c0a534Smrg 162314c0a534SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 162414c0a534Smrg 162514c0a534Smrg 162614c0a534SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 162714c0a534Smrg 162814c0a534Smrg 162914c0a534SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 163014c0a534Smrg 163114c0a534Smrg 163214c0a534SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 163314c0a534Smrg 163414c0a534Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"} 163514c0a534Smrg 163614c0a534Smrg# Installed binaries are usually stripped using `strip' when the user 163714c0a534Smrg# run `make install-strip'. However `strip' might not be the right 163814c0a534Smrg# tool to use in cross-compilation environments, therefore Automake 163914c0a534Smrg# will honor the `STRIP' environment variable to overrule this program. 164014c0a534Smrgif test "$cross_compiling" != no; then 164114c0a534Smrg if test -n "$ac_tool_prefix"; then 164214c0a534Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 164314c0a534Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 164414c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 164514c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 164614c0a534Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 164714c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 164814c0a534Smrgelse 164914c0a534Smrg if test -n "$STRIP"; then 165014c0a534Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 165114c0a534Smrgelse 165214c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 165314c0a534Smrgfor as_dir in $PATH 165414c0a534Smrgdo 165514c0a534Smrg IFS=$as_save_IFS 165614c0a534Smrg test -z "$as_dir" && as_dir=. 165714c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 165814c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 165914c0a534Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 166014c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 166114c0a534Smrg break 2 166214c0a534Smrg fi 166314c0a534Smrgdone 166414c0a534Smrgdone 166514c0a534Smrg 166614c0a534Smrgfi 166714c0a534Smrgfi 166814c0a534SmrgSTRIP=$ac_cv_prog_STRIP 166914c0a534Smrgif test -n "$STRIP"; then 167014c0a534Smrg echo "$as_me:$LINENO: result: $STRIP" >&5 167114c0a534Smrgecho "${ECHO_T}$STRIP" >&6 167214c0a534Smrgelse 167314c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 167414c0a534Smrgecho "${ECHO_T}no" >&6 167514c0a534Smrgfi 167614c0a534Smrg 167714c0a534Smrgfi 167814c0a534Smrgif test -z "$ac_cv_prog_STRIP"; then 167914c0a534Smrg ac_ct_STRIP=$STRIP 168014c0a534Smrg # Extract the first word of "strip", so it can be a program name with args. 168114c0a534Smrgset dummy strip; ac_word=$2 168214c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 168314c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 168414c0a534Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 168514c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 168614c0a534Smrgelse 168714c0a534Smrg if test -n "$ac_ct_STRIP"; then 168814c0a534Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 168914c0a534Smrgelse 169014c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 169114c0a534Smrgfor as_dir in $PATH 169214c0a534Smrgdo 169314c0a534Smrg IFS=$as_save_IFS 169414c0a534Smrg test -z "$as_dir" && as_dir=. 169514c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 169614c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 169714c0a534Smrg ac_cv_prog_ac_ct_STRIP="strip" 169814c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 169914c0a534Smrg break 2 170014c0a534Smrg fi 170114c0a534Smrgdone 170214c0a534Smrgdone 170314c0a534Smrg 170414c0a534Smrg test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 170514c0a534Smrgfi 170614c0a534Smrgfi 170714c0a534Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 170814c0a534Smrgif test -n "$ac_ct_STRIP"; then 170914c0a534Smrg echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 171014c0a534Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6 171114c0a534Smrgelse 171214c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 171314c0a534Smrgecho "${ECHO_T}no" >&6 171414c0a534Smrgfi 171514c0a534Smrg 171614c0a534Smrg STRIP=$ac_ct_STRIP 171714c0a534Smrgelse 171814c0a534Smrg STRIP="$ac_cv_prog_STRIP" 171914c0a534Smrgfi 172014c0a534Smrg 172114c0a534Smrgfi 172214c0a534SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 172314c0a534Smrg 172414c0a534Smrg# We need awk for the "check" target. The system "awk" is bad on 172514c0a534Smrg# some platforms. 172614c0a534Smrg# Always define AMTAR for backward compatibility. 172714c0a534Smrg 172814c0a534SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 172914c0a534Smrg 173014c0a534Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 173114c0a534Smrg 173214c0a534Smrg 173314c0a534Smrg 173414c0a534Smrg 173514c0a534Smrg 173614c0a534Smrgecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 173714c0a534Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 173814c0a534Smrg # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 173914c0a534Smrgif test "${enable_maintainer_mode+set}" = set; then 174014c0a534Smrg enableval="$enable_maintainer_mode" 174114c0a534Smrg USE_MAINTAINER_MODE=$enableval 174214c0a534Smrgelse 174314c0a534Smrg USE_MAINTAINER_MODE=no 174414c0a534Smrgfi; 174514c0a534Smrg echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 174614c0a534Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6 174714c0a534Smrg 174814c0a534Smrg 174914c0a534Smrgif test $USE_MAINTAINER_MODE = yes; then 175014c0a534Smrg MAINTAINER_MODE_TRUE= 175114c0a534Smrg MAINTAINER_MODE_FALSE='#' 175214c0a534Smrgelse 175314c0a534Smrg MAINTAINER_MODE_TRUE='#' 175414c0a534Smrg MAINTAINER_MODE_FALSE= 175514c0a534Smrgfi 175614c0a534Smrg 175714c0a534Smrg MAINT=$MAINTAINER_MODE_TRUE 175814c0a534Smrg 175914c0a534Smrg 176014c0a534Smrg 176114c0a534Smrg ac_config_headers="$ac_config_headers config.h" 176214c0a534Smrg 176314c0a534Smrg 176414c0a534Smrgac_ext=c 176514c0a534Smrgac_cpp='$CPP $CPPFLAGS' 176614c0a534Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 176714c0a534Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 176814c0a534Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 176914c0a534Smrgif test -n "$ac_tool_prefix"; then 177014c0a534Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 177114c0a534Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 177214c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 177314c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 177414c0a534Smrgif test "${ac_cv_prog_CC+set}" = set; then 177514c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 177614c0a534Smrgelse 177714c0a534Smrg if test -n "$CC"; then 177814c0a534Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 177914c0a534Smrgelse 178014c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 178114c0a534Smrgfor as_dir in $PATH 178214c0a534Smrgdo 178314c0a534Smrg IFS=$as_save_IFS 178414c0a534Smrg test -z "$as_dir" && as_dir=. 178514c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 178614c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 178714c0a534Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 178814c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 178914c0a534Smrg break 2 179014c0a534Smrg fi 179114c0a534Smrgdone 179214c0a534Smrgdone 179314c0a534Smrg 179414c0a534Smrgfi 179514c0a534Smrgfi 179614c0a534SmrgCC=$ac_cv_prog_CC 179714c0a534Smrgif test -n "$CC"; then 179814c0a534Smrg echo "$as_me:$LINENO: result: $CC" >&5 179914c0a534Smrgecho "${ECHO_T}$CC" >&6 180014c0a534Smrgelse 180114c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 180214c0a534Smrgecho "${ECHO_T}no" >&6 180314c0a534Smrgfi 180414c0a534Smrg 180514c0a534Smrgfi 180614c0a534Smrgif test -z "$ac_cv_prog_CC"; then 180714c0a534Smrg ac_ct_CC=$CC 180814c0a534Smrg # Extract the first word of "gcc", so it can be a program name with args. 180914c0a534Smrgset dummy gcc; ac_word=$2 181014c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 181114c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 181214c0a534Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 181314c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 181414c0a534Smrgelse 181514c0a534Smrg if test -n "$ac_ct_CC"; then 181614c0a534Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 181714c0a534Smrgelse 181814c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 181914c0a534Smrgfor as_dir in $PATH 182014c0a534Smrgdo 182114c0a534Smrg IFS=$as_save_IFS 182214c0a534Smrg test -z "$as_dir" && as_dir=. 182314c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 182414c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 182514c0a534Smrg ac_cv_prog_ac_ct_CC="gcc" 182614c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 182714c0a534Smrg break 2 182814c0a534Smrg fi 182914c0a534Smrgdone 183014c0a534Smrgdone 183114c0a534Smrg 183214c0a534Smrgfi 183314c0a534Smrgfi 183414c0a534Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 183514c0a534Smrgif test -n "$ac_ct_CC"; then 183614c0a534Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 183714c0a534Smrgecho "${ECHO_T}$ac_ct_CC" >&6 183814c0a534Smrgelse 183914c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 184014c0a534Smrgecho "${ECHO_T}no" >&6 184114c0a534Smrgfi 184214c0a534Smrg 184314c0a534Smrg CC=$ac_ct_CC 184414c0a534Smrgelse 184514c0a534Smrg CC="$ac_cv_prog_CC" 184614c0a534Smrgfi 184714c0a534Smrg 184814c0a534Smrgif test -z "$CC"; then 184914c0a534Smrg if test -n "$ac_tool_prefix"; then 185014c0a534Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 185114c0a534Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 185214c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 185314c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 185414c0a534Smrgif test "${ac_cv_prog_CC+set}" = set; then 185514c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 185614c0a534Smrgelse 185714c0a534Smrg if test -n "$CC"; then 185814c0a534Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 185914c0a534Smrgelse 186014c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186114c0a534Smrgfor as_dir in $PATH 186214c0a534Smrgdo 186314c0a534Smrg IFS=$as_save_IFS 186414c0a534Smrg test -z "$as_dir" && as_dir=. 186514c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 186614c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 186714c0a534Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 186814c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 186914c0a534Smrg break 2 187014c0a534Smrg fi 187114c0a534Smrgdone 187214c0a534Smrgdone 187314c0a534Smrg 187414c0a534Smrgfi 187514c0a534Smrgfi 187614c0a534SmrgCC=$ac_cv_prog_CC 187714c0a534Smrgif test -n "$CC"; then 187814c0a534Smrg echo "$as_me:$LINENO: result: $CC" >&5 187914c0a534Smrgecho "${ECHO_T}$CC" >&6 188014c0a534Smrgelse 188114c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 188214c0a534Smrgecho "${ECHO_T}no" >&6 188314c0a534Smrgfi 188414c0a534Smrg 188514c0a534Smrgfi 188614c0a534Smrgif test -z "$ac_cv_prog_CC"; then 188714c0a534Smrg ac_ct_CC=$CC 188814c0a534Smrg # Extract the first word of "cc", so it can be a program name with args. 188914c0a534Smrgset dummy cc; ac_word=$2 189014c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 189114c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 189214c0a534Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 189314c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 189414c0a534Smrgelse 189514c0a534Smrg if test -n "$ac_ct_CC"; then 189614c0a534Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 189714c0a534Smrgelse 189814c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 189914c0a534Smrgfor as_dir in $PATH 190014c0a534Smrgdo 190114c0a534Smrg IFS=$as_save_IFS 190214c0a534Smrg test -z "$as_dir" && as_dir=. 190314c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 190414c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 190514c0a534Smrg ac_cv_prog_ac_ct_CC="cc" 190614c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 190714c0a534Smrg break 2 190814c0a534Smrg fi 190914c0a534Smrgdone 191014c0a534Smrgdone 191114c0a534Smrg 191214c0a534Smrgfi 191314c0a534Smrgfi 191414c0a534Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 191514c0a534Smrgif test -n "$ac_ct_CC"; then 191614c0a534Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 191714c0a534Smrgecho "${ECHO_T}$ac_ct_CC" >&6 191814c0a534Smrgelse 191914c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 192014c0a534Smrgecho "${ECHO_T}no" >&6 192114c0a534Smrgfi 192214c0a534Smrg 192314c0a534Smrg CC=$ac_ct_CC 192414c0a534Smrgelse 192514c0a534Smrg CC="$ac_cv_prog_CC" 192614c0a534Smrgfi 192714c0a534Smrg 192814c0a534Smrgfi 192914c0a534Smrgif test -z "$CC"; then 193014c0a534Smrg # Extract the first word of "cc", so it can be a program name with args. 193114c0a534Smrgset dummy cc; ac_word=$2 193214c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 193314c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 193414c0a534Smrgif test "${ac_cv_prog_CC+set}" = set; then 193514c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 193614c0a534Smrgelse 193714c0a534Smrg if test -n "$CC"; then 193814c0a534Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 193914c0a534Smrgelse 194014c0a534Smrg ac_prog_rejected=no 194114c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 194214c0a534Smrgfor as_dir in $PATH 194314c0a534Smrgdo 194414c0a534Smrg IFS=$as_save_IFS 194514c0a534Smrg test -z "$as_dir" && as_dir=. 194614c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 194714c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 194814c0a534Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 194914c0a534Smrg ac_prog_rejected=yes 195014c0a534Smrg continue 195114c0a534Smrg fi 195214c0a534Smrg ac_cv_prog_CC="cc" 195314c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 195414c0a534Smrg break 2 195514c0a534Smrg fi 195614c0a534Smrgdone 195714c0a534Smrgdone 195814c0a534Smrg 195914c0a534Smrgif test $ac_prog_rejected = yes; then 196014c0a534Smrg # We found a bogon in the path, so make sure we never use it. 196114c0a534Smrg set dummy $ac_cv_prog_CC 196214c0a534Smrg shift 196314c0a534Smrg if test $# != 0; then 196414c0a534Smrg # We chose a different compiler from the bogus one. 196514c0a534Smrg # However, it has the same basename, so the bogon will be chosen 196614c0a534Smrg # first if we set CC to just the basename; use the full file name. 196714c0a534Smrg shift 196814c0a534Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 196914c0a534Smrg fi 197014c0a534Smrgfi 197114c0a534Smrgfi 197214c0a534Smrgfi 197314c0a534SmrgCC=$ac_cv_prog_CC 197414c0a534Smrgif test -n "$CC"; then 197514c0a534Smrg echo "$as_me:$LINENO: result: $CC" >&5 197614c0a534Smrgecho "${ECHO_T}$CC" >&6 197714c0a534Smrgelse 197814c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 197914c0a534Smrgecho "${ECHO_T}no" >&6 198014c0a534Smrgfi 198114c0a534Smrg 198214c0a534Smrgfi 198314c0a534Smrgif test -z "$CC"; then 198414c0a534Smrg if test -n "$ac_tool_prefix"; then 198514c0a534Smrg for ac_prog in cl 198614c0a534Smrg do 198714c0a534Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 198814c0a534Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 198914c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 199014c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 199114c0a534Smrgif test "${ac_cv_prog_CC+set}" = set; then 199214c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 199314c0a534Smrgelse 199414c0a534Smrg if test -n "$CC"; then 199514c0a534Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 199614c0a534Smrgelse 199714c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 199814c0a534Smrgfor as_dir in $PATH 199914c0a534Smrgdo 200014c0a534Smrg IFS=$as_save_IFS 200114c0a534Smrg test -z "$as_dir" && as_dir=. 200214c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 200314c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 200414c0a534Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 200514c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 200614c0a534Smrg break 2 200714c0a534Smrg fi 200814c0a534Smrgdone 200914c0a534Smrgdone 201014c0a534Smrg 201114c0a534Smrgfi 201214c0a534Smrgfi 201314c0a534SmrgCC=$ac_cv_prog_CC 201414c0a534Smrgif test -n "$CC"; then 201514c0a534Smrg echo "$as_me:$LINENO: result: $CC" >&5 201614c0a534Smrgecho "${ECHO_T}$CC" >&6 201714c0a534Smrgelse 201814c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 201914c0a534Smrgecho "${ECHO_T}no" >&6 202014c0a534Smrgfi 202114c0a534Smrg 202214c0a534Smrg test -n "$CC" && break 202314c0a534Smrg done 202414c0a534Smrgfi 202514c0a534Smrgif test -z "$CC"; then 202614c0a534Smrg ac_ct_CC=$CC 202714c0a534Smrg for ac_prog in cl 202814c0a534Smrgdo 202914c0a534Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 203014c0a534Smrgset dummy $ac_prog; ac_word=$2 203114c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 203214c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 203314c0a534Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 203414c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 203514c0a534Smrgelse 203614c0a534Smrg if test -n "$ac_ct_CC"; then 203714c0a534Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 203814c0a534Smrgelse 203914c0a534Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 204014c0a534Smrgfor as_dir in $PATH 204114c0a534Smrgdo 204214c0a534Smrg IFS=$as_save_IFS 204314c0a534Smrg test -z "$as_dir" && as_dir=. 204414c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 204514c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 204614c0a534Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 204714c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 204814c0a534Smrg break 2 204914c0a534Smrg fi 205014c0a534Smrgdone 205114c0a534Smrgdone 205214c0a534Smrg 205314c0a534Smrgfi 205414c0a534Smrgfi 205514c0a534Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 205614c0a534Smrgif test -n "$ac_ct_CC"; then 205714c0a534Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 205814c0a534Smrgecho "${ECHO_T}$ac_ct_CC" >&6 205914c0a534Smrgelse 206014c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 206114c0a534Smrgecho "${ECHO_T}no" >&6 206214c0a534Smrgfi 206314c0a534Smrg 206414c0a534Smrg test -n "$ac_ct_CC" && break 206514c0a534Smrgdone 206614c0a534Smrg 206714c0a534Smrg CC=$ac_ct_CC 206814c0a534Smrgfi 206914c0a534Smrg 207014c0a534Smrgfi 207114c0a534Smrg 207214c0a534Smrg 207314c0a534Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 207414c0a534SmrgSee \`config.log' for more details." >&5 207514c0a534Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 207614c0a534SmrgSee \`config.log' for more details." >&2;} 207714c0a534Smrg { (exit 1); exit 1; }; } 207814c0a534Smrg 207914c0a534Smrg# Provide some information about the compiler. 208014c0a534Smrgecho "$as_me:$LINENO:" \ 208114c0a534Smrg "checking for C compiler version" >&5 208214c0a534Smrgac_compiler=`set X $ac_compile; echo $2` 208314c0a534Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 208414c0a534Smrg (eval $ac_compiler --version </dev/null >&5) 2>&5 208514c0a534Smrg ac_status=$? 208614c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 208714c0a534Smrg (exit $ac_status); } 208814c0a534Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 208914c0a534Smrg (eval $ac_compiler -v </dev/null >&5) 2>&5 209014c0a534Smrg ac_status=$? 209114c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 209214c0a534Smrg (exit $ac_status); } 209314c0a534Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 209414c0a534Smrg (eval $ac_compiler -V </dev/null >&5) 2>&5 209514c0a534Smrg ac_status=$? 209614c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 209714c0a534Smrg (exit $ac_status); } 209814c0a534Smrg 209914c0a534Smrgcat >conftest.$ac_ext <<_ACEOF 210014c0a534Smrg/* confdefs.h. */ 210114c0a534Smrg_ACEOF 210214c0a534Smrgcat confdefs.h >>conftest.$ac_ext 210314c0a534Smrgcat >>conftest.$ac_ext <<_ACEOF 210414c0a534Smrg/* end confdefs.h. */ 210514c0a534Smrg 210614c0a534Smrgint 210714c0a534Smrgmain () 210814c0a534Smrg{ 210914c0a534Smrg 211014c0a534Smrg ; 211114c0a534Smrg return 0; 211214c0a534Smrg} 211314c0a534Smrg_ACEOF 211414c0a534Smrgac_clean_files_save=$ac_clean_files 211514c0a534Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 211614c0a534Smrg# Try to create an executable without -o first, disregard a.out. 211714c0a534Smrg# It will help us diagnose broken compilers, and finding out an intuition 211814c0a534Smrg# of exeext. 211914c0a534Smrgecho "$as_me:$LINENO: checking for C compiler default output file name" >&5 212014c0a534Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 212114c0a534Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 212214c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 212314c0a534Smrg (eval $ac_link_default) 2>&5 212414c0a534Smrg ac_status=$? 212514c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 212614c0a534Smrg (exit $ac_status); }; then 212714c0a534Smrg # Find the output, starting from the most likely. This scheme is 212814c0a534Smrg# not robust to junk in `.', hence go to wildcards (a.*) only as a last 212914c0a534Smrg# resort. 213014c0a534Smrg 213114c0a534Smrg# Be careful to initialize this variable, since it used to be cached. 213214c0a534Smrg# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 213314c0a534Smrgac_cv_exeext= 213414c0a534Smrg# b.out is created by i960 compilers. 213514c0a534Smrgfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 213614c0a534Smrgdo 213714c0a534Smrg test -f "$ac_file" || continue 213814c0a534Smrg case $ac_file in 213914c0a534Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 214014c0a534Smrg ;; 214114c0a534Smrg conftest.$ac_ext ) 214214c0a534Smrg # This is the source file. 214314c0a534Smrg ;; 214414c0a534Smrg [ab].out ) 214514c0a534Smrg # We found the default executable, but exeext='' is most 214614c0a534Smrg # certainly right. 214714c0a534Smrg break;; 214814c0a534Smrg *.* ) 214914c0a534Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 215014c0a534Smrg # FIXME: I believe we export ac_cv_exeext for Libtool, 215114c0a534Smrg # but it would be cool to find out if it's true. Does anybody 215214c0a534Smrg # maintain Libtool? --akim. 215314c0a534Smrg export ac_cv_exeext 215414c0a534Smrg break;; 215514c0a534Smrg * ) 215614c0a534Smrg break;; 215714c0a534Smrg esac 215814c0a534Smrgdone 215914c0a534Smrgelse 216014c0a534Smrg echo "$as_me: failed program was:" >&5 216114c0a534Smrgsed 's/^/| /' conftest.$ac_ext >&5 216214c0a534Smrg 216314c0a534Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 216414c0a534SmrgSee \`config.log' for more details." >&5 216514c0a534Smrgecho "$as_me: error: C compiler cannot create executables 216614c0a534SmrgSee \`config.log' for more details." >&2;} 216714c0a534Smrg { (exit 77); exit 77; }; } 216814c0a534Smrgfi 216914c0a534Smrg 217014c0a534Smrgac_exeext=$ac_cv_exeext 217114c0a534Smrgecho "$as_me:$LINENO: result: $ac_file" >&5 217214c0a534Smrgecho "${ECHO_T}$ac_file" >&6 217314c0a534Smrg 217414c0a534Smrg# Check the compiler produces executables we can run. If not, either 217514c0a534Smrg# the compiler is broken, or we cross compile. 217614c0a534Smrgecho "$as_me:$LINENO: checking whether the C compiler works" >&5 217714c0a534Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 217814c0a534Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 217914c0a534Smrg# If not cross compiling, check that we can run a simple program. 218014c0a534Smrgif test "$cross_compiling" != yes; then 218114c0a534Smrg if { ac_try='./$ac_file' 218214c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 218314c0a534Smrg (eval $ac_try) 2>&5 218414c0a534Smrg ac_status=$? 218514c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 218614c0a534Smrg (exit $ac_status); }; }; then 218714c0a534Smrg cross_compiling=no 218814c0a534Smrg else 218914c0a534Smrg if test "$cross_compiling" = maybe; then 219014c0a534Smrg cross_compiling=yes 219114c0a534Smrg else 219214c0a534Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 219314c0a534SmrgIf you meant to cross compile, use \`--host'. 219414c0a534SmrgSee \`config.log' for more details." >&5 219514c0a534Smrgecho "$as_me: error: cannot run C compiled programs. 219614c0a534SmrgIf you meant to cross compile, use \`--host'. 219714c0a534SmrgSee \`config.log' for more details." >&2;} 219814c0a534Smrg { (exit 1); exit 1; }; } 219914c0a534Smrg fi 220014c0a534Smrg fi 220114c0a534Smrgfi 220214c0a534Smrgecho "$as_me:$LINENO: result: yes" >&5 220314c0a534Smrgecho "${ECHO_T}yes" >&6 220414c0a534Smrg 220514c0a534Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 220614c0a534Smrgac_clean_files=$ac_clean_files_save 220714c0a534Smrg# Check the compiler produces executables we can run. If not, either 220814c0a534Smrg# the compiler is broken, or we cross compile. 220914c0a534Smrgecho "$as_me:$LINENO: checking whether we are cross compiling" >&5 221014c0a534Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 221114c0a534Smrgecho "$as_me:$LINENO: result: $cross_compiling" >&5 221214c0a534Smrgecho "${ECHO_T}$cross_compiling" >&6 221314c0a534Smrg 221414c0a534Smrgecho "$as_me:$LINENO: checking for suffix of executables" >&5 221514c0a534Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 221614c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 221714c0a534Smrg (eval $ac_link) 2>&5 221814c0a534Smrg ac_status=$? 221914c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 222014c0a534Smrg (exit $ac_status); }; then 222114c0a534Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 222214c0a534Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 222314c0a534Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 222414c0a534Smrg# `rm'. 222514c0a534Smrgfor ac_file in conftest.exe conftest conftest.*; do 222614c0a534Smrg test -f "$ac_file" || continue 222714c0a534Smrg case $ac_file in 222814c0a534Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 222914c0a534Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 223014c0a534Smrg export ac_cv_exeext 223114c0a534Smrg break;; 223214c0a534Smrg * ) break;; 223314c0a534Smrg esac 223414c0a534Smrgdone 223514c0a534Smrgelse 223614c0a534Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 223714c0a534SmrgSee \`config.log' for more details." >&5 223814c0a534Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 223914c0a534SmrgSee \`config.log' for more details." >&2;} 224014c0a534Smrg { (exit 1); exit 1; }; } 224114c0a534Smrgfi 224214c0a534Smrg 224314c0a534Smrgrm -f conftest$ac_cv_exeext 224414c0a534Smrgecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5 224514c0a534Smrgecho "${ECHO_T}$ac_cv_exeext" >&6 224614c0a534Smrg 224714c0a534Smrgrm -f conftest.$ac_ext 224814c0a534SmrgEXEEXT=$ac_cv_exeext 224914c0a534Smrgac_exeext=$EXEEXT 225014c0a534Smrgecho "$as_me:$LINENO: checking for suffix of object files" >&5 225114c0a534Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 225214c0a534Smrgif test "${ac_cv_objext+set}" = set; then 225314c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 225414c0a534Smrgelse 225514c0a534Smrg cat >conftest.$ac_ext <<_ACEOF 225614c0a534Smrg/* confdefs.h. */ 225714c0a534Smrg_ACEOF 225814c0a534Smrgcat confdefs.h >>conftest.$ac_ext 225914c0a534Smrgcat >>conftest.$ac_ext <<_ACEOF 226014c0a534Smrg/* end confdefs.h. */ 226114c0a534Smrg 226214c0a534Smrgint 226314c0a534Smrgmain () 226414c0a534Smrg{ 226514c0a534Smrg 226614c0a534Smrg ; 226714c0a534Smrg return 0; 226814c0a534Smrg} 226914c0a534Smrg_ACEOF 227014c0a534Smrgrm -f conftest.o conftest.obj 227114c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 227214c0a534Smrg (eval $ac_compile) 2>&5 227314c0a534Smrg ac_status=$? 227414c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 227514c0a534Smrg (exit $ac_status); }; then 227614c0a534Smrg for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 227714c0a534Smrg case $ac_file in 227814c0a534Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 227914c0a534Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 228014c0a534Smrg break;; 228114c0a534Smrg esac 228214c0a534Smrgdone 228314c0a534Smrgelse 228414c0a534Smrg echo "$as_me: failed program was:" >&5 228514c0a534Smrgsed 's/^/| /' conftest.$ac_ext >&5 228614c0a534Smrg 228714c0a534Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 228814c0a534SmrgSee \`config.log' for more details." >&5 228914c0a534Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 229014c0a534SmrgSee \`config.log' for more details." >&2;} 229114c0a534Smrg { (exit 1); exit 1; }; } 229214c0a534Smrgfi 229314c0a534Smrg 229414c0a534Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 229514c0a534Smrgfi 229614c0a534Smrgecho "$as_me:$LINENO: result: $ac_cv_objext" >&5 229714c0a534Smrgecho "${ECHO_T}$ac_cv_objext" >&6 229814c0a534SmrgOBJEXT=$ac_cv_objext 229914c0a534Smrgac_objext=$OBJEXT 230014c0a534Smrgecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 230114c0a534Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 230214c0a534Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 230314c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 230414c0a534Smrgelse 230514c0a534Smrg cat >conftest.$ac_ext <<_ACEOF 230614c0a534Smrg/* confdefs.h. */ 230714c0a534Smrg_ACEOF 230814c0a534Smrgcat confdefs.h >>conftest.$ac_ext 230914c0a534Smrgcat >>conftest.$ac_ext <<_ACEOF 231014c0a534Smrg/* end confdefs.h. */ 231114c0a534Smrg 231214c0a534Smrgint 231314c0a534Smrgmain () 231414c0a534Smrg{ 231514c0a534Smrg#ifndef __GNUC__ 231614c0a534Smrg choke me 231714c0a534Smrg#endif 231814c0a534Smrg 231914c0a534Smrg ; 232014c0a534Smrg return 0; 232114c0a534Smrg} 232214c0a534Smrg_ACEOF 232314c0a534Smrgrm -f conftest.$ac_objext 232414c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 232514c0a534Smrg (eval $ac_compile) 2>conftest.er1 232614c0a534Smrg ac_status=$? 232714c0a534Smrg grep -v '^ *+' conftest.er1 >conftest.err 232814c0a534Smrg rm -f conftest.er1 232914c0a534Smrg cat conftest.err >&5 233014c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 233114c0a534Smrg (exit $ac_status); } && 233214c0a534Smrg { ac_try='test -z "$ac_c_werror_flag" 233314c0a534Smrg || test ! -s conftest.err' 233414c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 233514c0a534Smrg (eval $ac_try) 2>&5 233614c0a534Smrg ac_status=$? 233714c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 233814c0a534Smrg (exit $ac_status); }; } && 233914c0a534Smrg { ac_try='test -s conftest.$ac_objext' 234014c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 234114c0a534Smrg (eval $ac_try) 2>&5 234214c0a534Smrg ac_status=$? 234314c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 234414c0a534Smrg (exit $ac_status); }; }; then 234514c0a534Smrg ac_compiler_gnu=yes 234614c0a534Smrgelse 234714c0a534Smrg echo "$as_me: failed program was:" >&5 234814c0a534Smrgsed 's/^/| /' conftest.$ac_ext >&5 234914c0a534Smrg 235014c0a534Smrgac_compiler_gnu=no 235114c0a534Smrgfi 235214c0a534Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 235314c0a534Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 235414c0a534Smrg 235514c0a534Smrgfi 235614c0a534Smrgecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 235714c0a534Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 235814c0a534SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 235914c0a534Smrgac_test_CFLAGS=${CFLAGS+set} 236014c0a534Smrgac_save_CFLAGS=$CFLAGS 236114c0a534SmrgCFLAGS="-g" 236214c0a534Smrgecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5 236314c0a534Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 236414c0a534Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 236514c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 236614c0a534Smrgelse 236714c0a534Smrg cat >conftest.$ac_ext <<_ACEOF 236814c0a534Smrg/* confdefs.h. */ 236914c0a534Smrg_ACEOF 237014c0a534Smrgcat confdefs.h >>conftest.$ac_ext 237114c0a534Smrgcat >>conftest.$ac_ext <<_ACEOF 237214c0a534Smrg/* end confdefs.h. */ 237314c0a534Smrg 237414c0a534Smrgint 237514c0a534Smrgmain () 237614c0a534Smrg{ 237714c0a534Smrg 237814c0a534Smrg ; 237914c0a534Smrg return 0; 238014c0a534Smrg} 238114c0a534Smrg_ACEOF 238214c0a534Smrgrm -f conftest.$ac_objext 238314c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 238414c0a534Smrg (eval $ac_compile) 2>conftest.er1 238514c0a534Smrg ac_status=$? 238614c0a534Smrg grep -v '^ *+' conftest.er1 >conftest.err 238714c0a534Smrg rm -f conftest.er1 238814c0a534Smrg cat conftest.err >&5 238914c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 239014c0a534Smrg (exit $ac_status); } && 239114c0a534Smrg { ac_try='test -z "$ac_c_werror_flag" 239214c0a534Smrg || test ! -s conftest.err' 239314c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 239414c0a534Smrg (eval $ac_try) 2>&5 239514c0a534Smrg ac_status=$? 239614c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 239714c0a534Smrg (exit $ac_status); }; } && 239814c0a534Smrg { ac_try='test -s conftest.$ac_objext' 239914c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 240014c0a534Smrg (eval $ac_try) 2>&5 240114c0a534Smrg ac_status=$? 240214c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 240314c0a534Smrg (exit $ac_status); }; }; then 240414c0a534Smrg ac_cv_prog_cc_g=yes 240514c0a534Smrgelse 240614c0a534Smrg echo "$as_me: failed program was:" >&5 240714c0a534Smrgsed 's/^/| /' conftest.$ac_ext >&5 240814c0a534Smrg 240914c0a534Smrgac_cv_prog_cc_g=no 241014c0a534Smrgfi 241114c0a534Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 241214c0a534Smrgfi 241314c0a534Smrgecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 241414c0a534Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6 241514c0a534Smrgif test "$ac_test_CFLAGS" = set; then 241614c0a534Smrg CFLAGS=$ac_save_CFLAGS 241714c0a534Smrgelif test $ac_cv_prog_cc_g = yes; then 241814c0a534Smrg if test "$GCC" = yes; then 241914c0a534Smrg CFLAGS="-g -O2" 242014c0a534Smrg else 242114c0a534Smrg CFLAGS="-g" 242214c0a534Smrg fi 242314c0a534Smrgelse 242414c0a534Smrg if test "$GCC" = yes; then 242514c0a534Smrg CFLAGS="-O2" 242614c0a534Smrg else 242714c0a534Smrg CFLAGS= 242814c0a534Smrg fi 242914c0a534Smrgfi 243014c0a534Smrgecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 243114c0a534Smrgecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 243214c0a534Smrgif test "${ac_cv_prog_cc_stdc+set}" = set; then 243314c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 243414c0a534Smrgelse 243514c0a534Smrg ac_cv_prog_cc_stdc=no 243614c0a534Smrgac_save_CC=$CC 243714c0a534Smrgcat >conftest.$ac_ext <<_ACEOF 243814c0a534Smrg/* confdefs.h. */ 243914c0a534Smrg_ACEOF 244014c0a534Smrgcat confdefs.h >>conftest.$ac_ext 244114c0a534Smrgcat >>conftest.$ac_ext <<_ACEOF 244214c0a534Smrg/* end confdefs.h. */ 244314c0a534Smrg#include <stdarg.h> 244414c0a534Smrg#include <stdio.h> 244514c0a534Smrg#include <sys/types.h> 244614c0a534Smrg#include <sys/stat.h> 244714c0a534Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 244814c0a534Smrgstruct buf { int x; }; 244914c0a534SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 245014c0a534Smrgstatic char *e (p, i) 245114c0a534Smrg char **p; 245214c0a534Smrg int i; 245314c0a534Smrg{ 245414c0a534Smrg return p[i]; 245514c0a534Smrg} 245614c0a534Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 245714c0a534Smrg{ 245814c0a534Smrg char *s; 245914c0a534Smrg va_list v; 246014c0a534Smrg va_start (v,p); 246114c0a534Smrg s = g (p, va_arg (v,int)); 246214c0a534Smrg va_end (v); 246314c0a534Smrg return s; 246414c0a534Smrg} 246514c0a534Smrg 246614c0a534Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 246714c0a534Smrg function prototypes and stuff, but not '\xHH' hex character constants. 246814c0a534Smrg These don't provoke an error unfortunately, instead are silently treated 246914c0a534Smrg as 'x'. The following induces an error, until -std1 is added to get 247014c0a534Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 247114c0a534Smrg array size at least. It's necessary to write '\x00'==0 to get something 247214c0a534Smrg that's true only with -std1. */ 247314c0a534Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 247414c0a534Smrg 247514c0a534Smrgint test (int i, double x); 247614c0a534Smrgstruct s1 {int (*f) (int a);}; 247714c0a534Smrgstruct s2 {int (*f) (double a);}; 247814c0a534Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 247914c0a534Smrgint argc; 248014c0a534Smrgchar **argv; 248114c0a534Smrgint 248214c0a534Smrgmain () 248314c0a534Smrg{ 248414c0a534Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 248514c0a534Smrg ; 248614c0a534Smrg return 0; 248714c0a534Smrg} 248814c0a534Smrg_ACEOF 248914c0a534Smrg# Don't try gcc -ansi; that turns off useful extensions and 249014c0a534Smrg# breaks some systems' header files. 249114c0a534Smrg# AIX -qlanglvl=ansi 249214c0a534Smrg# Ultrix and OSF/1 -std1 249314c0a534Smrg# HP-UX 10.20 and later -Ae 249414c0a534Smrg# HP-UX older versions -Aa -D_HPUX_SOURCE 249514c0a534Smrg# SVR4 -Xc -D__EXTENSIONS__ 249614c0a534Smrgfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 249714c0a534Smrgdo 249814c0a534Smrg CC="$ac_save_CC $ac_arg" 249914c0a534Smrg rm -f conftest.$ac_objext 250014c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 250114c0a534Smrg (eval $ac_compile) 2>conftest.er1 250214c0a534Smrg ac_status=$? 250314c0a534Smrg grep -v '^ *+' conftest.er1 >conftest.err 250414c0a534Smrg rm -f conftest.er1 250514c0a534Smrg cat conftest.err >&5 250614c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 250714c0a534Smrg (exit $ac_status); } && 250814c0a534Smrg { ac_try='test -z "$ac_c_werror_flag" 250914c0a534Smrg || test ! -s conftest.err' 251014c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 251114c0a534Smrg (eval $ac_try) 2>&5 251214c0a534Smrg ac_status=$? 251314c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 251414c0a534Smrg (exit $ac_status); }; } && 251514c0a534Smrg { ac_try='test -s conftest.$ac_objext' 251614c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 251714c0a534Smrg (eval $ac_try) 2>&5 251814c0a534Smrg ac_status=$? 251914c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 252014c0a534Smrg (exit $ac_status); }; }; then 252114c0a534Smrg ac_cv_prog_cc_stdc=$ac_arg 252214c0a534Smrgbreak 252314c0a534Smrgelse 252414c0a534Smrg echo "$as_me: failed program was:" >&5 252514c0a534Smrgsed 's/^/| /' conftest.$ac_ext >&5 252614c0a534Smrg 252714c0a534Smrgfi 252814c0a534Smrgrm -f conftest.err conftest.$ac_objext 252914c0a534Smrgdone 253014c0a534Smrgrm -f conftest.$ac_ext conftest.$ac_objext 253114c0a534SmrgCC=$ac_save_CC 253214c0a534Smrg 253314c0a534Smrgfi 253414c0a534Smrg 253514c0a534Smrgcase "x$ac_cv_prog_cc_stdc" in 253614c0a534Smrg x|xno) 253714c0a534Smrg echo "$as_me:$LINENO: result: none needed" >&5 253814c0a534Smrgecho "${ECHO_T}none needed" >&6 ;; 253914c0a534Smrg *) 254014c0a534Smrg echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 254114c0a534Smrgecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 254214c0a534Smrg CC="$CC $ac_cv_prog_cc_stdc" ;; 254314c0a534Smrgesac 254414c0a534Smrg 254514c0a534Smrg# Some people use a C++ compiler to compile C. Since we use `exit', 254614c0a534Smrg# in C++ we need to declare it. In case someone uses the same compiler 254714c0a534Smrg# for both compiling C and C++ we need to have the C++ compiler decide 254814c0a534Smrg# the declaration of exit, since it's the most demanding environment. 254914c0a534Smrgcat >conftest.$ac_ext <<_ACEOF 255014c0a534Smrg#ifndef __cplusplus 255114c0a534Smrg choke me 255214c0a534Smrg#endif 255314c0a534Smrg_ACEOF 255414c0a534Smrgrm -f conftest.$ac_objext 255514c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 255614c0a534Smrg (eval $ac_compile) 2>conftest.er1 255714c0a534Smrg ac_status=$? 255814c0a534Smrg grep -v '^ *+' conftest.er1 >conftest.err 255914c0a534Smrg rm -f conftest.er1 256014c0a534Smrg cat conftest.err >&5 256114c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 256214c0a534Smrg (exit $ac_status); } && 256314c0a534Smrg { ac_try='test -z "$ac_c_werror_flag" 256414c0a534Smrg || test ! -s conftest.err' 256514c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 256614c0a534Smrg (eval $ac_try) 2>&5 256714c0a534Smrg ac_status=$? 256814c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 256914c0a534Smrg (exit $ac_status); }; } && 257014c0a534Smrg { ac_try='test -s conftest.$ac_objext' 257114c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 257214c0a534Smrg (eval $ac_try) 2>&5 257314c0a534Smrg ac_status=$? 257414c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 257514c0a534Smrg (exit $ac_status); }; }; then 257614c0a534Smrg for ac_declaration in \ 257714c0a534Smrg '' \ 257814c0a534Smrg 'extern "C" void std::exit (int) throw (); using std::exit;' \ 257914c0a534Smrg 'extern "C" void std::exit (int); using std::exit;' \ 258014c0a534Smrg 'extern "C" void exit (int) throw ();' \ 258114c0a534Smrg 'extern "C" void exit (int);' \ 258214c0a534Smrg 'void exit (int);' 258314c0a534Smrgdo 258414c0a534Smrg cat >conftest.$ac_ext <<_ACEOF 258514c0a534Smrg/* confdefs.h. */ 258614c0a534Smrg_ACEOF 258714c0a534Smrgcat confdefs.h >>conftest.$ac_ext 258814c0a534Smrgcat >>conftest.$ac_ext <<_ACEOF 258914c0a534Smrg/* end confdefs.h. */ 259014c0a534Smrg$ac_declaration 259114c0a534Smrg#include <stdlib.h> 259214c0a534Smrgint 259314c0a534Smrgmain () 259414c0a534Smrg{ 259514c0a534Smrgexit (42); 259614c0a534Smrg ; 259714c0a534Smrg return 0; 259814c0a534Smrg} 259914c0a534Smrg_ACEOF 260014c0a534Smrgrm -f conftest.$ac_objext 260114c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 260214c0a534Smrg (eval $ac_compile) 2>conftest.er1 260314c0a534Smrg ac_status=$? 260414c0a534Smrg grep -v '^ *+' conftest.er1 >conftest.err 260514c0a534Smrg rm -f conftest.er1 260614c0a534Smrg cat conftest.err >&5 260714c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 260814c0a534Smrg (exit $ac_status); } && 260914c0a534Smrg { ac_try='test -z "$ac_c_werror_flag" 261014c0a534Smrg || test ! -s conftest.err' 261114c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 261214c0a534Smrg (eval $ac_try) 2>&5 261314c0a534Smrg ac_status=$? 261414c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 261514c0a534Smrg (exit $ac_status); }; } && 261614c0a534Smrg { ac_try='test -s conftest.$ac_objext' 261714c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 261814c0a534Smrg (eval $ac_try) 2>&5 261914c0a534Smrg ac_status=$? 262014c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 262114c0a534Smrg (exit $ac_status); }; }; then 262214c0a534Smrg : 262314c0a534Smrgelse 262414c0a534Smrg echo "$as_me: failed program was:" >&5 262514c0a534Smrgsed 's/^/| /' conftest.$ac_ext >&5 262614c0a534Smrg 262714c0a534Smrgcontinue 262814c0a534Smrgfi 262914c0a534Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 263014c0a534Smrg cat >conftest.$ac_ext <<_ACEOF 263114c0a534Smrg/* confdefs.h. */ 263214c0a534Smrg_ACEOF 263314c0a534Smrgcat confdefs.h >>conftest.$ac_ext 263414c0a534Smrgcat >>conftest.$ac_ext <<_ACEOF 263514c0a534Smrg/* end confdefs.h. */ 263614c0a534Smrg$ac_declaration 263714c0a534Smrgint 263814c0a534Smrgmain () 263914c0a534Smrg{ 264014c0a534Smrgexit (42); 264114c0a534Smrg ; 264214c0a534Smrg return 0; 264314c0a534Smrg} 264414c0a534Smrg_ACEOF 264514c0a534Smrgrm -f conftest.$ac_objext 264614c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 264714c0a534Smrg (eval $ac_compile) 2>conftest.er1 264814c0a534Smrg ac_status=$? 264914c0a534Smrg grep -v '^ *+' conftest.er1 >conftest.err 265014c0a534Smrg rm -f conftest.er1 265114c0a534Smrg cat conftest.err >&5 265214c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 265314c0a534Smrg (exit $ac_status); } && 265414c0a534Smrg { ac_try='test -z "$ac_c_werror_flag" 265514c0a534Smrg || test ! -s conftest.err' 265614c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 265714c0a534Smrg (eval $ac_try) 2>&5 265814c0a534Smrg ac_status=$? 265914c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 266014c0a534Smrg (exit $ac_status); }; } && 266114c0a534Smrg { ac_try='test -s conftest.$ac_objext' 266214c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 266314c0a534Smrg (eval $ac_try) 2>&5 266414c0a534Smrg ac_status=$? 266514c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 266614c0a534Smrg (exit $ac_status); }; }; then 266714c0a534Smrg break 266814c0a534Smrgelse 266914c0a534Smrg echo "$as_me: failed program was:" >&5 267014c0a534Smrgsed 's/^/| /' conftest.$ac_ext >&5 267114c0a534Smrg 267214c0a534Smrgfi 267314c0a534Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 267414c0a534Smrgdone 267514c0a534Smrgrm -f conftest* 267614c0a534Smrgif test -n "$ac_declaration"; then 267714c0a534Smrg echo '#ifdef __cplusplus' >>confdefs.h 267814c0a534Smrg echo $ac_declaration >>confdefs.h 267914c0a534Smrg echo '#endif' >>confdefs.h 268014c0a534Smrgfi 268114c0a534Smrg 268214c0a534Smrgelse 268314c0a534Smrg echo "$as_me: failed program was:" >&5 268414c0a534Smrgsed 's/^/| /' conftest.$ac_ext >&5 268514c0a534Smrg 268614c0a534Smrgfi 268714c0a534Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 268814c0a534Smrgac_ext=c 268914c0a534Smrgac_cpp='$CPP $CPPFLAGS' 269014c0a534Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 269114c0a534Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 269214c0a534Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 269314c0a534SmrgDEPDIR="${am__leading_dot}deps" 269414c0a534Smrg 269514c0a534Smrg ac_config_commands="$ac_config_commands depfiles" 269614c0a534Smrg 269714c0a534Smrg 269814c0a534Smrgam_make=${MAKE-make} 269914c0a534Smrgcat > confinc << 'END' 270014c0a534Smrgam__doit: 270114c0a534Smrg @echo done 270214c0a534Smrg.PHONY: am__doit 270314c0a534SmrgEND 270414c0a534Smrg# If we don't find an include directive, just comment out the code. 270514c0a534Smrgecho "$as_me:$LINENO: checking for style of include used by $am_make" >&5 270614c0a534Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 270714c0a534Smrgam__include="#" 270814c0a534Smrgam__quote= 270914c0a534Smrg_am_result=none 271014c0a534Smrg# First try GNU make style include. 271114c0a534Smrgecho "include confinc" > confmf 271214c0a534Smrg# We grep out `Entering directory' and `Leaving directory' 271314c0a534Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 271414c0a534Smrg# In particular we don't look at `^make:' because GNU make might 271514c0a534Smrg# be invoked under some other name (usually "gmake"), in which 271614c0a534Smrg# case it prints its new name instead of `make'. 271714c0a534Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 271814c0a534Smrg am__include=include 271914c0a534Smrg am__quote= 272014c0a534Smrg _am_result=GNU 272114c0a534Smrgfi 272214c0a534Smrg# Now try BSD make style include. 272314c0a534Smrgif test "$am__include" = "#"; then 272414c0a534Smrg echo '.include "confinc"' > confmf 272514c0a534Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 272614c0a534Smrg am__include=.include 272714c0a534Smrg am__quote="\"" 272814c0a534Smrg _am_result=BSD 272914c0a534Smrg fi 273014c0a534Smrgfi 273114c0a534Smrg 273214c0a534Smrg 273314c0a534Smrgecho "$as_me:$LINENO: result: $_am_result" >&5 273414c0a534Smrgecho "${ECHO_T}$_am_result" >&6 273514c0a534Smrgrm -f confinc confmf 273614c0a534Smrg 273714c0a534Smrg# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 273814c0a534Smrgif test "${enable_dependency_tracking+set}" = set; then 273914c0a534Smrg enableval="$enable_dependency_tracking" 274014c0a534Smrg 274114c0a534Smrgfi; 274214c0a534Smrgif test "x$enable_dependency_tracking" != xno; then 274314c0a534Smrg am_depcomp="$ac_aux_dir/depcomp" 274414c0a534Smrg AMDEPBACKSLASH='\' 274514c0a534Smrgfi 274614c0a534Smrg 274714c0a534Smrg 274814c0a534Smrgif test "x$enable_dependency_tracking" != xno; then 274914c0a534Smrg AMDEP_TRUE= 275014c0a534Smrg AMDEP_FALSE='#' 275114c0a534Smrgelse 275214c0a534Smrg AMDEP_TRUE='#' 275314c0a534Smrg AMDEP_FALSE= 275414c0a534Smrgfi 275514c0a534Smrg 275614c0a534Smrg 275714c0a534Smrg 275814c0a534Smrg 275914c0a534Smrgdepcc="$CC" am_compiler_list= 276014c0a534Smrg 276114c0a534Smrgecho "$as_me:$LINENO: checking dependency style of $depcc" >&5 276214c0a534Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 276314c0a534Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 276414c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 276514c0a534Smrgelse 276614c0a534Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 276714c0a534Smrg # We make a subdir and do the tests there. Otherwise we can end up 276814c0a534Smrg # making bogus files that we don't know about and never remove. For 276914c0a534Smrg # instance it was reported that on HP-UX the gcc test will end up 277014c0a534Smrg # making a dummy file named `D' -- because `-MD' means `put the output 277114c0a534Smrg # in D'. 277214c0a534Smrg mkdir conftest.dir 277314c0a534Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 277414c0a534Smrg # using a relative directory. 277514c0a534Smrg cp "$am_depcomp" conftest.dir 277614c0a534Smrg cd conftest.dir 277714c0a534Smrg # We will build objects and dependencies in a subdirectory because 277814c0a534Smrg # it helps to detect inapplicable dependency modes. For instance 277914c0a534Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 278014c0a534Smrg # side effect of compilation, but ICC will put the dependencies in 278114c0a534Smrg # the current directory while Tru64 will put them in the object 278214c0a534Smrg # directory. 278314c0a534Smrg mkdir sub 278414c0a534Smrg 278514c0a534Smrg am_cv_CC_dependencies_compiler_type=none 278614c0a534Smrg if test "$am_compiler_list" = ""; then 278714c0a534Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 278814c0a534Smrg fi 278914c0a534Smrg for depmode in $am_compiler_list; do 279014c0a534Smrg # Setup a source with many dependencies, because some compilers 279114c0a534Smrg # like to wrap large dependency lists on column 80 (with \), and 279214c0a534Smrg # we should not choose a depcomp mode which is confused by this. 279314c0a534Smrg # 279414c0a534Smrg # We need to recreate these files for each test, as the compiler may 279514c0a534Smrg # overwrite some of them when testing with obscure command lines. 279614c0a534Smrg # This happens at least with the AIX C compiler. 279714c0a534Smrg : > sub/conftest.c 279814c0a534Smrg for i in 1 2 3 4 5 6; do 279914c0a534Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 280014c0a534Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 280114c0a534Smrg # Solaris 8's {/usr,}/bin/sh. 280214c0a534Smrg touch sub/conftst$i.h 280314c0a534Smrg done 280414c0a534Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 280514c0a534Smrg 280614c0a534Smrg case $depmode in 280714c0a534Smrg nosideeffect) 280814c0a534Smrg # after this tag, mechanisms are not by side-effect, so they'll 280914c0a534Smrg # only be used when explicitly requested 281014c0a534Smrg if test "x$enable_dependency_tracking" = xyes; then 281114c0a534Smrg continue 281214c0a534Smrg else 281314c0a534Smrg break 281414c0a534Smrg fi 281514c0a534Smrg ;; 281614c0a534Smrg none) break ;; 281714c0a534Smrg esac 281814c0a534Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 281914c0a534Smrg # mode. It turns out that the SunPro C++ compiler does not properly 282014c0a534Smrg # handle `-M -o', and we need to detect this. 282114c0a534Smrg if depmode=$depmode \ 282214c0a534Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 282314c0a534Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 282414c0a534Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 282514c0a534Smrg >/dev/null 2>conftest.err && 282614c0a534Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 282714c0a534Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 282814c0a534Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 282914c0a534Smrg # icc doesn't choke on unknown options, it will just issue warnings 283014c0a534Smrg # or remarks (even with -Werror). So we grep stderr for any message 283114c0a534Smrg # that says an option was ignored or not supported. 283214c0a534Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 283314c0a534Smrg # icc: Command line warning: ignoring option '-M'; no argument required 283414c0a534Smrg # The diagnosis changed in icc 8.0: 283514c0a534Smrg # icc: Command line remark: option '-MP' not supported 283614c0a534Smrg if (grep 'ignoring option' conftest.err || 283714c0a534Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 283814c0a534Smrg am_cv_CC_dependencies_compiler_type=$depmode 283914c0a534Smrg break 284014c0a534Smrg fi 284114c0a534Smrg fi 284214c0a534Smrg done 284314c0a534Smrg 284414c0a534Smrg cd .. 284514c0a534Smrg rm -rf conftest.dir 284614c0a534Smrgelse 284714c0a534Smrg am_cv_CC_dependencies_compiler_type=none 284814c0a534Smrgfi 284914c0a534Smrg 285014c0a534Smrgfi 285114c0a534Smrgecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 285214c0a534Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 285314c0a534SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 285414c0a534Smrg 285514c0a534Smrg 285614c0a534Smrg 285714c0a534Smrgif 285814c0a534Smrg test "x$enable_dependency_tracking" != xno \ 285914c0a534Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 286014c0a534Smrg am__fastdepCC_TRUE= 286114c0a534Smrg am__fastdepCC_FALSE='#' 286214c0a534Smrgelse 286314c0a534Smrg am__fastdepCC_TRUE='#' 286414c0a534Smrg am__fastdepCC_FALSE= 286514c0a534Smrgfi 286614c0a534Smrg 286714c0a534Smrg 286814c0a534Smrg# Find a good install program. We prefer a C program (faster), 286914c0a534Smrg# so one script is as good as another. But avoid the broken or 287014c0a534Smrg# incompatible versions: 287114c0a534Smrg# SysV /etc/install, /usr/sbin/install 287214c0a534Smrg# SunOS /usr/etc/install 287314c0a534Smrg# IRIX /sbin/install 287414c0a534Smrg# AIX /bin/install 287514c0a534Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 287614c0a534Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 287714c0a534Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 287814c0a534Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 287914c0a534Smrg# OS/2's system install, which has a completely different semantic 288014c0a534Smrg# ./install, which can be erroneously created by make from ./install.sh. 288114c0a534Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 288214c0a534Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 288314c0a534Smrgif test -z "$INSTALL"; then 288414c0a534Smrgif test "${ac_cv_path_install+set}" = set; then 288514c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 288614c0a534Smrgelse 288714c0a534Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 288814c0a534Smrgfor as_dir in $PATH 288914c0a534Smrgdo 289014c0a534Smrg IFS=$as_save_IFS 289114c0a534Smrg test -z "$as_dir" && as_dir=. 289214c0a534Smrg # Account for people who put trailing slashes in PATH elements. 289314c0a534Smrgcase $as_dir/ in 289414c0a534Smrg ./ | .// | /cC/* | \ 289514c0a534Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 289614c0a534Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 289714c0a534Smrg /usr/ucb/* ) ;; 289814c0a534Smrg *) 289914c0a534Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 290014c0a534Smrg # Don't use installbsd from OSF since it installs stuff as root 290114c0a534Smrg # by default. 290214c0a534Smrg for ac_prog in ginstall scoinst install; do 290314c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 290414c0a534Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 290514c0a534Smrg if test $ac_prog = install && 290614c0a534Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 290714c0a534Smrg # AIX install. It has an incompatible calling convention. 290814c0a534Smrg : 290914c0a534Smrg elif test $ac_prog = install && 291014c0a534Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 291114c0a534Smrg # program-specific install script used by HP pwplus--don't use. 291214c0a534Smrg : 291314c0a534Smrg else 291414c0a534Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 291514c0a534Smrg break 3 291614c0a534Smrg fi 291714c0a534Smrg fi 291814c0a534Smrg done 291914c0a534Smrg done 292014c0a534Smrg ;; 292114c0a534Smrgesac 292214c0a534Smrgdone 292314c0a534Smrg 292414c0a534Smrg 292514c0a534Smrgfi 292614c0a534Smrg if test "${ac_cv_path_install+set}" = set; then 292714c0a534Smrg INSTALL=$ac_cv_path_install 292814c0a534Smrg else 292914c0a534Smrg # As a last resort, use the slow shell script. We don't cache a 293014c0a534Smrg # path for INSTALL within a source directory, because that will 293114c0a534Smrg # break other packages using the cache if that directory is 293214c0a534Smrg # removed, or if the path is relative. 293314c0a534Smrg INSTALL=$ac_install_sh 293414c0a534Smrg fi 293514c0a534Smrgfi 293614c0a534Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 293714c0a534Smrgecho "${ECHO_T}$INSTALL" >&6 293814c0a534Smrg 293914c0a534Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 294014c0a534Smrg# It thinks the first close brace ends the variable substitution. 294114c0a534Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 294214c0a534Smrg 294314c0a534Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 294414c0a534Smrg 294514c0a534Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 294614c0a534Smrg 294714c0a534Smrg 294814c0a534Smrg 294914c0a534Smrgecho "$as_me:$LINENO: checking for mkstemp" >&5 295014c0a534Smrgecho $ECHO_N "checking for mkstemp... $ECHO_C" >&6 295114c0a534Smrgif test "${ac_cv_func_mkstemp+set}" = set; then 295214c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 295314c0a534Smrgelse 295414c0a534Smrg cat >conftest.$ac_ext <<_ACEOF 295514c0a534Smrg/* confdefs.h. */ 295614c0a534Smrg_ACEOF 295714c0a534Smrgcat confdefs.h >>conftest.$ac_ext 295814c0a534Smrgcat >>conftest.$ac_ext <<_ACEOF 295914c0a534Smrg/* end confdefs.h. */ 296014c0a534Smrg/* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp. 296114c0a534Smrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 296214c0a534Smrg#define mkstemp innocuous_mkstemp 296314c0a534Smrg 296414c0a534Smrg/* System header to define __stub macros and hopefully few prototypes, 296514c0a534Smrg which can conflict with char mkstemp (); below. 296614c0a534Smrg Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 296714c0a534Smrg <limits.h> exists even on freestanding compilers. */ 296814c0a534Smrg 296914c0a534Smrg#ifdef __STDC__ 297014c0a534Smrg# include <limits.h> 297114c0a534Smrg#else 297214c0a534Smrg# include <assert.h> 297314c0a534Smrg#endif 297414c0a534Smrg 297514c0a534Smrg#undef mkstemp 297614c0a534Smrg 297714c0a534Smrg/* Override any gcc2 internal prototype to avoid an error. */ 297814c0a534Smrg#ifdef __cplusplus 297914c0a534Smrgextern "C" 298014c0a534Smrg{ 298114c0a534Smrg#endif 298214c0a534Smrg/* We use char because int might match the return type of a gcc2 298314c0a534Smrg builtin and then its argument prototype would still apply. */ 298414c0a534Smrgchar mkstemp (); 298514c0a534Smrg/* The GNU C library defines this for functions which it implements 298614c0a534Smrg to always fail with ENOSYS. Some functions are actually named 298714c0a534Smrg something starting with __ and the normal name is an alias. */ 298814c0a534Smrg#if defined (__stub_mkstemp) || defined (__stub___mkstemp) 298914c0a534Smrgchoke me 299014c0a534Smrg#else 299114c0a534Smrgchar (*f) () = mkstemp; 299214c0a534Smrg#endif 299314c0a534Smrg#ifdef __cplusplus 299414c0a534Smrg} 299514c0a534Smrg#endif 299614c0a534Smrg 299714c0a534Smrgint 299814c0a534Smrgmain () 299914c0a534Smrg{ 300014c0a534Smrgreturn f != mkstemp; 300114c0a534Smrg ; 300214c0a534Smrg return 0; 300314c0a534Smrg} 300414c0a534Smrg_ACEOF 300514c0a534Smrgrm -f conftest.$ac_objext conftest$ac_exeext 300614c0a534Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 300714c0a534Smrg (eval $ac_link) 2>conftest.er1 300814c0a534Smrg ac_status=$? 300914c0a534Smrg grep -v '^ *+' conftest.er1 >conftest.err 301014c0a534Smrg rm -f conftest.er1 301114c0a534Smrg cat conftest.err >&5 301214c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 301314c0a534Smrg (exit $ac_status); } && 301414c0a534Smrg { ac_try='test -z "$ac_c_werror_flag" 301514c0a534Smrg || test ! -s conftest.err' 301614c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 301714c0a534Smrg (eval $ac_try) 2>&5 301814c0a534Smrg ac_status=$? 301914c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 302014c0a534Smrg (exit $ac_status); }; } && 302114c0a534Smrg { ac_try='test -s conftest$ac_exeext' 302214c0a534Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 302314c0a534Smrg (eval $ac_try) 2>&5 302414c0a534Smrg ac_status=$? 302514c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 302614c0a534Smrg (exit $ac_status); }; }; then 302714c0a534Smrg ac_cv_func_mkstemp=yes 302814c0a534Smrgelse 302914c0a534Smrg echo "$as_me: failed program was:" >&5 303014c0a534Smrgsed 's/^/| /' conftest.$ac_ext >&5 303114c0a534Smrg 303214c0a534Smrgac_cv_func_mkstemp=no 303314c0a534Smrgfi 303414c0a534Smrgrm -f conftest.err conftest.$ac_objext \ 303514c0a534Smrg conftest$ac_exeext conftest.$ac_ext 303614c0a534Smrgfi 303714c0a534Smrgecho "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5 303814c0a534Smrgecho "${ECHO_T}$ac_cv_func_mkstemp" >&6 303914c0a534Smrgif test $ac_cv_func_mkstemp = yes; then 304014c0a534Smrg 304114c0a534Smrgcat >>confdefs.h <<\_ACEOF 304214c0a534Smrg#define HAS_MKSTEMP 1 304314c0a534Smrg_ACEOF 304414c0a534Smrg 304514c0a534Smrgfi 304614c0a534Smrg 304714c0a534Smrg 304814c0a534Smrg# Checks for pkg-config packages 304914c0a534Smrg 305014c0a534Smrg 305114c0a534Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 305214c0a534Smrg if test -n "$ac_tool_prefix"; then 305314c0a534Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 305414c0a534Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 305514c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 305614c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 305714c0a534Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 305814c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 305914c0a534Smrgelse 306014c0a534Smrg case $PKG_CONFIG in 306114c0a534Smrg [\\/]* | ?:[\\/]*) 306214c0a534Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 306314c0a534Smrg ;; 306414c0a534Smrg *) 306514c0a534Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 306614c0a534Smrgfor as_dir in $PATH 306714c0a534Smrgdo 306814c0a534Smrg IFS=$as_save_IFS 306914c0a534Smrg test -z "$as_dir" && as_dir=. 307014c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 307114c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 307214c0a534Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 307314c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 307414c0a534Smrg break 2 307514c0a534Smrg fi 307614c0a534Smrgdone 307714c0a534Smrgdone 307814c0a534Smrg 307914c0a534Smrg ;; 308014c0a534Smrgesac 308114c0a534Smrgfi 308214c0a534SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 308314c0a534Smrg 308414c0a534Smrgif test -n "$PKG_CONFIG"; then 308514c0a534Smrg echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 308614c0a534Smrgecho "${ECHO_T}$PKG_CONFIG" >&6 308714c0a534Smrgelse 308814c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 308914c0a534Smrgecho "${ECHO_T}no" >&6 309014c0a534Smrgfi 309114c0a534Smrg 309214c0a534Smrgfi 309314c0a534Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 309414c0a534Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 309514c0a534Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 309614c0a534Smrgset dummy pkg-config; ac_word=$2 309714c0a534Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 309814c0a534Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 309914c0a534Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 310014c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 310114c0a534Smrgelse 310214c0a534Smrg case $ac_pt_PKG_CONFIG in 310314c0a534Smrg [\\/]* | ?:[\\/]*) 310414c0a534Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 310514c0a534Smrg ;; 310614c0a534Smrg *) 310714c0a534Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 310814c0a534Smrgfor as_dir in $PATH 310914c0a534Smrgdo 311014c0a534Smrg IFS=$as_save_IFS 311114c0a534Smrg test -z "$as_dir" && as_dir=. 311214c0a534Smrg for ac_exec_ext in '' $ac_executable_extensions; do 311314c0a534Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 311414c0a534Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 311514c0a534Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 311614c0a534Smrg break 2 311714c0a534Smrg fi 311814c0a534Smrgdone 311914c0a534Smrgdone 312014c0a534Smrg 312114c0a534Smrg ;; 312214c0a534Smrgesac 312314c0a534Smrgfi 312414c0a534Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 312514c0a534Smrg 312614c0a534Smrgif test -n "$ac_pt_PKG_CONFIG"; then 312714c0a534Smrg echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 312814c0a534Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 312914c0a534Smrgelse 313014c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 313114c0a534Smrgecho "${ECHO_T}no" >&6 313214c0a534Smrgfi 313314c0a534Smrg 313414c0a534Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 313514c0a534Smrgelse 313614c0a534Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 313714c0a534Smrgfi 313814c0a534Smrg 313914c0a534Smrgfi 314014c0a534Smrgif test -n "$PKG_CONFIG"; then 314114c0a534Smrg _pkg_min_version=0.9.0 314214c0a534Smrg echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 314314c0a534Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 314414c0a534Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 314514c0a534Smrg echo "$as_me:$LINENO: result: yes" >&5 314614c0a534Smrgecho "${ECHO_T}yes" >&6 314714c0a534Smrg else 314814c0a534Smrg echo "$as_me:$LINENO: result: no" >&5 314914c0a534Smrgecho "${ECHO_T}no" >&6 315014c0a534Smrg PKG_CONFIG="" 315114c0a534Smrg fi 315214c0a534Smrg 315314c0a534Smrgfi 315414c0a534Smrg 315514c0a534Smrgpkg_failed=no 315614c0a534Smrgecho "$as_me:$LINENO: checking for SMPROXY" >&5 315714c0a534Smrgecho $ECHO_N "checking for SMPROXY... $ECHO_C" >&6 315814c0a534Smrg 315914c0a534Smrgif test -n "$PKG_CONFIG"; then 316014c0a534Smrg if test -n "$SMPROXY_CFLAGS"; then 316114c0a534Smrg pkg_cv_SMPROXY_CFLAGS="$SMPROXY_CFLAGS" 316214c0a534Smrg else 316314c0a534Smrg if test -n "$PKG_CONFIG" && \ 316414c0a534Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xmu\"") >&5 316514c0a534Smrg ($PKG_CONFIG --exists --print-errors "xt xmu") 2>&5 316614c0a534Smrg ac_status=$? 316714c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 316814c0a534Smrg (exit $ac_status); }; then 316914c0a534Smrg pkg_cv_SMPROXY_CFLAGS=`$PKG_CONFIG --cflags "xt xmu" 2>/dev/null` 317014c0a534Smrgelse 317114c0a534Smrg pkg_failed=yes 317214c0a534Smrgfi 317314c0a534Smrg fi 317414c0a534Smrgelse 317514c0a534Smrg pkg_failed=untried 317614c0a534Smrgfi 317714c0a534Smrgif test -n "$PKG_CONFIG"; then 317814c0a534Smrg if test -n "$SMPROXY_LIBS"; then 317914c0a534Smrg pkg_cv_SMPROXY_LIBS="$SMPROXY_LIBS" 318014c0a534Smrg else 318114c0a534Smrg if test -n "$PKG_CONFIG" && \ 318214c0a534Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xmu\"") >&5 318314c0a534Smrg ($PKG_CONFIG --exists --print-errors "xt xmu") 2>&5 318414c0a534Smrg ac_status=$? 318514c0a534Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 318614c0a534Smrg (exit $ac_status); }; then 318714c0a534Smrg pkg_cv_SMPROXY_LIBS=`$PKG_CONFIG --libs "xt xmu" 2>/dev/null` 318814c0a534Smrgelse 318914c0a534Smrg pkg_failed=yes 319014c0a534Smrgfi 319114c0a534Smrg fi 319214c0a534Smrgelse 319314c0a534Smrg pkg_failed=untried 319414c0a534Smrgfi 319514c0a534Smrg 319614c0a534Smrg 319714c0a534Smrg 319814c0a534Smrgif test $pkg_failed = yes; then 319914c0a534Smrg 320014c0a534Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 320114c0a534Smrg _pkg_short_errors_supported=yes 320214c0a534Smrgelse 320314c0a534Smrg _pkg_short_errors_supported=no 320414c0a534Smrgfi 320514c0a534Smrg if test $_pkg_short_errors_supported = yes; then 320614c0a534Smrg SMPROXY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xt xmu"` 320714c0a534Smrg else 320814c0a534Smrg SMPROXY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt xmu"` 320914c0a534Smrg fi 321014c0a534Smrg # Put the nasty error message in config.log where it belongs 321114c0a534Smrg echo "$SMPROXY_PKG_ERRORS" >&5 321214c0a534Smrg 321314c0a534Smrg { { echo "$as_me:$LINENO: error: Package requirements (xt xmu) were not met: 321414c0a534Smrg 321514c0a534Smrg$SMPROXY_PKG_ERRORS 321614c0a534Smrg 321714c0a534SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 321814c0a534Smrginstalled software in a non-standard prefix. 321914c0a534Smrg 322014c0a534SmrgAlternatively, you may set the environment variables SMPROXY_CFLAGS 322114c0a534Smrgand SMPROXY_LIBS to avoid the need to call pkg-config. 322214c0a534SmrgSee the pkg-config man page for more details. 322314c0a534Smrg" >&5 322414c0a534Smrgecho "$as_me: error: Package requirements (xt xmu) were not met: 322514c0a534Smrg 322614c0a534Smrg$SMPROXY_PKG_ERRORS 322714c0a534Smrg 322814c0a534SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 322914c0a534Smrginstalled software in a non-standard prefix. 323014c0a534Smrg 323114c0a534SmrgAlternatively, you may set the environment variables SMPROXY_CFLAGS 323214c0a534Smrgand SMPROXY_LIBS to avoid the need to call pkg-config. 323314c0a534SmrgSee the pkg-config man page for more details. 323414c0a534Smrg" >&2;} 323514c0a534Smrg { (exit 1); exit 1; }; } 323614c0a534Smrgelif test $pkg_failed = untried; then 323714c0a534Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 323814c0a534Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 323914c0a534Smrgpath to pkg-config. 324014c0a534Smrg 324114c0a534SmrgAlternatively, you may set the environment variables SMPROXY_CFLAGS 324214c0a534Smrgand SMPROXY_LIBS to avoid the need to call pkg-config. 324314c0a534SmrgSee the pkg-config man page for more details. 324414c0a534Smrg 324514c0a534SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 324614c0a534SmrgSee \`config.log' for more details." >&5 324714c0a534Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 324814c0a534Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 324914c0a534Smrgpath to pkg-config. 325014c0a534Smrg 325114c0a534SmrgAlternatively, you may set the environment variables SMPROXY_CFLAGS 325214c0a534Smrgand SMPROXY_LIBS to avoid the need to call pkg-config. 325314c0a534SmrgSee the pkg-config man page for more details. 325414c0a534Smrg 325514c0a534SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 325614c0a534SmrgSee \`config.log' for more details." >&2;} 325714c0a534Smrg { (exit 1); exit 1; }; } 325814c0a534Smrgelse 325914c0a534Smrg SMPROXY_CFLAGS=$pkg_cv_SMPROXY_CFLAGS 326014c0a534Smrg SMPROXY_LIBS=$pkg_cv_SMPROXY_LIBS 326114c0a534Smrg echo "$as_me:$LINENO: result: yes" >&5 326214c0a534Smrgecho "${ECHO_T}yes" >&6 326314c0a534Smrg : 326414c0a534Smrgfi 326514c0a534Smrg 326614c0a534Smrg 326714c0a534Smrg 326814c0a534Smrg# Make sure we can run config.sub. 326914c0a534Smrg$ac_config_sub sun4 >/dev/null 2>&1 || 327014c0a534Smrg { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 327114c0a534Smrgecho "$as_me: error: cannot run $ac_config_sub" >&2;} 327214c0a534Smrg { (exit 1); exit 1; }; } 327314c0a534Smrg 327414c0a534Smrgecho "$as_me:$LINENO: checking build system type" >&5 327514c0a534Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6 327614c0a534Smrgif test "${ac_cv_build+set}" = set; then 327714c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 327814c0a534Smrgelse 327914c0a534Smrg ac_cv_build_alias=$build_alias 328014c0a534Smrgtest -z "$ac_cv_build_alias" && 328114c0a534Smrg ac_cv_build_alias=`$ac_config_guess` 328214c0a534Smrgtest -z "$ac_cv_build_alias" && 328314c0a534Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 328414c0a534Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 328514c0a534Smrg { (exit 1); exit 1; }; } 328614c0a534Smrgac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 328714c0a534Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 328814c0a534Smrgecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 328914c0a534Smrg { (exit 1); exit 1; }; } 329014c0a534Smrg 329114c0a534Smrgfi 329214c0a534Smrgecho "$as_me:$LINENO: result: $ac_cv_build" >&5 329314c0a534Smrgecho "${ECHO_T}$ac_cv_build" >&6 329414c0a534Smrgbuild=$ac_cv_build 329514c0a534Smrgbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 329614c0a534Smrgbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 329714c0a534Smrgbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 329814c0a534Smrg 329914c0a534Smrg 330014c0a534Smrgecho "$as_me:$LINENO: checking host system type" >&5 330114c0a534Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6 330214c0a534Smrgif test "${ac_cv_host+set}" = set; then 330314c0a534Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 330414c0a534Smrgelse 330514c0a534Smrg ac_cv_host_alias=$host_alias 330614c0a534Smrgtest -z "$ac_cv_host_alias" && 330714c0a534Smrg ac_cv_host_alias=$ac_cv_build_alias 330814c0a534Smrgac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 330914c0a534Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 331014c0a534Smrgecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 331114c0a534Smrg { (exit 1); exit 1; }; } 331214c0a534Smrg 331314c0a534Smrgfi 331414c0a534Smrgecho "$as_me:$LINENO: result: $ac_cv_host" >&5 331514c0a534Smrgecho "${ECHO_T}$ac_cv_host" >&6 331614c0a534Smrghost=$ac_cv_host 331714c0a534Smrghost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 331814c0a534Smrghost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 331914c0a534Smrghost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 332014c0a534Smrg 332114c0a534Smrg 332214c0a534Smrg 332314c0a534Smrg 332414c0a534Smrg 332514c0a534Smrgif test x$APP_MAN_SUFFIX = x ; then 332614c0a534Smrg case $host_os in 332714c0a534Smrg linux*) APP_MAN_SUFFIX=1x ;; 332814c0a534Smrg *) APP_MAN_SUFFIX=1 ;; 332914c0a534Smrg esac 333014c0a534Smrgfi 333114c0a534Smrgif test x$APP_MAN_DIR = x ; then 333214c0a534Smrg case $host_os in 333314c0a534Smrg linux*) APP_MAN_DIR='$(mandir)/man1' ;; 333414c0a534Smrg *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;; 333514c0a534Smrg esac 333614c0a534Smrgfi 333714c0a534Smrg 333814c0a534Smrgif test x$LIB_MAN_SUFFIX = x ; then 333914c0a534Smrg case $host_os in 334014c0a534Smrg linux*) LIB_MAN_SUFFIX=3x ;; 334114c0a534Smrg *) LIB_MAN_SUFFIX=3 ;; 334214c0a534Smrg esac 334314c0a534Smrgfi 334414c0a534Smrgif test x$LIB_MAN_DIR = x ; then 334514c0a534Smrg case $host_os in 334614c0a534Smrg linux*) LIB_MAN_DIR='$(mandir)/man3' ;; 334714c0a534Smrg *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;; 334814c0a534Smrg esac 334914c0a534Smrgfi 335014c0a534Smrg 335114c0a534Smrgif test x$FILE_MAN_SUFFIX = x ; then 335214c0a534Smrg case $host_os in 335314c0a534Smrg linux*) FILE_MAN_SUFFIX=5x ;; 335414c0a534Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 335514c0a534Smrg *) FILE_MAN_SUFFIX=5 ;; 335614c0a534Smrg esac 335714c0a534Smrgfi 335814c0a534Smrgif test x$FILE_MAN_DIR = x ; then 335914c0a534Smrg case $host_os in 336014c0a534Smrg linux*) FILE_MAN_DIR='$(mandir)/man5' ;; 336114c0a534Smrg *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;; 336214c0a534Smrg esac 336314c0a534Smrgfi 336414c0a534Smrg 336514c0a534Smrg# In Imake's linux.cf, the misc man suffix & dir was only changed for 336614c0a534Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 336714c0a534Smrgif test x$MISC_MAN_SUFFIX = x ; then 336814c0a534Smrg case $host_os in 336914c0a534Smrg# linux*) MISC_MAN_SUFFIX=7x ;; 337014c0a534Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 337114c0a534Smrg *) MISC_MAN_SUFFIX=7 ;; 337214c0a534Smrg esac 337314c0a534Smrgfi 337414c0a534Smrgif test x$MISC_MAN_DIR = x ; then 337514c0a534Smrg case $host_os in 337614c0a534Smrg# linux*) MISC_MAN_DIR='$(mandir)/man7' ;; 337714c0a534Smrg *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;; 337814c0a534Smrg esac 337914c0a534Smrgfi 338014c0a534Smrg 338114c0a534Smrg# In Imake's linux.cf, the driver man suffix & dir was only changed for 338214c0a534Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 338314c0a534Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 338414c0a534Smrg case $host_os in 338514c0a534Smrg# linux*) DRIVER_MAN_SUFFIX=4x ;; 338614c0a534Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 338714c0a534Smrg *) DRIVER_MAN_SUFFIX=4 ;; 338814c0a534Smrg esac 338914c0a534Smrgfi 339014c0a534Smrgif test x$DRIVER_MAN_DIR = x ; then 339114c0a534Smrg case $host_os in 339214c0a534Smrg# linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;; 339314c0a534Smrg *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;; 339414c0a534Smrg esac 339514c0a534Smrgfi 339614c0a534Smrg 339714c0a534Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 339814c0a534Smrg case $host_os in 339914c0a534Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 340014c0a534Smrg *) ADMIN_MAN_SUFFIX=8 ;; 340114c0a534Smrg esac 340214c0a534Smrgfi 340314c0a534Smrgif test x$ADMIN_MAN_DIR = x ; then 340414c0a534Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 340514c0a534Smrgfi 340614c0a534Smrg 340714c0a534Smrg 340814c0a534Smrg 340914c0a534Smrg 341014c0a534Smrg 341114c0a534Smrg 341214c0a534Smrg 341314c0a534Smrg 341414c0a534Smrg 341514c0a534Smrg 341614c0a534Smrg 341714c0a534Smrg 341814c0a534Smrg 341914c0a534Smrg 342014c0a534Smrg 342114c0a534Smrg 342214c0a534Smrg 342314c0a534Smrg# Check whether --with-release-version or --without-release-version was given. 342414c0a534Smrgif test "${with_release_version+set}" = set; then 342514c0a534Smrg withval="$with_release_version" 342614c0a534Smrg RELEASE_VERSION="$withval" 342714c0a534Smrgelse 342814c0a534Smrg RELEASE_VERSION="" 342914c0a534Smrgfi; 343014c0a534Smrg if test "x$RELEASE_VERSION" != "x"; then 343114c0a534Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 343214c0a534Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 343314c0a534Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 343414c0a534Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 343514c0a534Smrg fi 343614c0a534Smrg 343714c0a534Smrg 343814c0a534Smrg ac_config_files="$ac_config_files Makefile" 343914c0a534Smrgcat >confcache <<\_ACEOF 344014c0a534Smrg# This file is a shell script that caches the results of configure 344114c0a534Smrg# tests run on this system so they can be shared between configure 344214c0a534Smrg# scripts and configure runs, see configure's option --config-cache. 344314c0a534Smrg# It is not useful on other systems. If it contains results you don't 344414c0a534Smrg# want to keep, you may remove or edit it. 344514c0a534Smrg# 344614c0a534Smrg# config.status only pays attention to the cache file if you give it 344714c0a534Smrg# the --recheck option to rerun configure. 344814c0a534Smrg# 344914c0a534Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 345014c0a534Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 345114c0a534Smrg# following values. 345214c0a534Smrg 345314c0a534Smrg_ACEOF 345414c0a534Smrg 345514c0a534Smrg# The following way of writing the cache mishandles newlines in values, 345614c0a534Smrg# but we know of no workaround that is simple, portable, and efficient. 345714c0a534Smrg# So, don't put newlines in cache variables' values. 345814c0a534Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 345914c0a534Smrg# and sets the high bit in the cache file unless we assign to the vars. 346014c0a534Smrg{ 346114c0a534Smrg (set) 2>&1 | 346214c0a534Smrg case `(ac_space=' '; set | grep ac_space) 2>&1` in 346314c0a534Smrg *ac_space=\ *) 346414c0a534Smrg # `set' does not quote correctly, so add quotes (double-quote 346514c0a534Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 346614c0a534Smrg sed -n \ 346714c0a534Smrg "s/'/'\\\\''/g; 346814c0a534Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 346914c0a534Smrg ;; 347014c0a534Smrg *) 347114c0a534Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 347214c0a534Smrg sed -n \ 347314c0a534Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 347414c0a534Smrg ;; 347514c0a534Smrg esac; 347614c0a534Smrg} | 347714c0a534Smrg sed ' 347814c0a534Smrg t clear 347914c0a534Smrg : clear 348014c0a534Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 348114c0a534Smrg t end 348214c0a534Smrg /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 348314c0a534Smrg : end' >>confcache 348414c0a534Smrgif diff $cache_file confcache >/dev/null 2>&1; then :; else 348514c0a534Smrg if test -w $cache_file; then 348614c0a534Smrg test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 348714c0a534Smrg cat confcache >$cache_file 348814c0a534Smrg else 348914c0a534Smrg echo "not updating unwritable cache $cache_file" 349014c0a534Smrg fi 349114c0a534Smrgfi 349214c0a534Smrgrm -f confcache 349314c0a534Smrg 349414c0a534Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 349514c0a534Smrg# Let make expand exec_prefix. 349614c0a534Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 349714c0a534Smrg 349814c0a534Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 349914c0a534Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 350014c0a534Smrg# trailing colons and then remove the whole line if VPATH becomes empty 350114c0a534Smrg# (actually we leave an empty line to preserve line numbers). 350214c0a534Smrgif test "x$srcdir" = x.; then 350314c0a534Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 350414c0a534Smrgs/:*\$(srcdir):*/:/; 350514c0a534Smrgs/:*\${srcdir}:*/:/; 350614c0a534Smrgs/:*@srcdir@:*/:/; 350714c0a534Smrgs/^\([^=]*=[ ]*\):*/\1/; 350814c0a534Smrgs/:*$//; 350914c0a534Smrgs/^[^=]*=[ ]*$//; 351014c0a534Smrg}' 351114c0a534Smrgfi 351214c0a534Smrg 351314c0a534SmrgDEFS=-DHAVE_CONFIG_H 351414c0a534Smrg 351514c0a534Smrgac_libobjs= 351614c0a534Smrgac_ltlibobjs= 351714c0a534Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 351814c0a534Smrg # 1. Remove the extension, and $U if already installed. 351914c0a534Smrg ac_i=`echo "$ac_i" | 352014c0a534Smrg sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 352114c0a534Smrg # 2. Add them. 352214c0a534Smrg ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 352314c0a534Smrg ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 352414c0a534Smrgdone 352514c0a534SmrgLIBOBJS=$ac_libobjs 352614c0a534Smrg 352714c0a534SmrgLTLIBOBJS=$ac_ltlibobjs 352814c0a534Smrg 352914c0a534Smrg 353014c0a534Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 353114c0a534Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 353214c0a534SmrgUsually this means the macro was only invoked conditionally." >&5 353314c0a534Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 353414c0a534SmrgUsually this means the macro was only invoked conditionally." >&2;} 353514c0a534Smrg { (exit 1); exit 1; }; } 353614c0a534Smrgfi 353714c0a534Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 353814c0a534Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 353914c0a534SmrgUsually this means the macro was only invoked conditionally." >&5 354014c0a534Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 354114c0a534SmrgUsually this means the macro was only invoked conditionally." >&2;} 354214c0a534Smrg { (exit 1); exit 1; }; } 354314c0a534Smrgfi 354414c0a534Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 354514c0a534Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 354614c0a534SmrgUsually this means the macro was only invoked conditionally." >&5 354714c0a534Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 354814c0a534SmrgUsually this means the macro was only invoked conditionally." >&2;} 354914c0a534Smrg { (exit 1); exit 1; }; } 355014c0a534Smrgfi 355114c0a534Smrg 355214c0a534Smrg: ${CONFIG_STATUS=./config.status} 355314c0a534Smrgac_clean_files_save=$ac_clean_files 355414c0a534Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 355514c0a534Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 355614c0a534Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 355714c0a534Smrgcat >$CONFIG_STATUS <<_ACEOF 355814c0a534Smrg#! $SHELL 355914c0a534Smrg# Generated by $as_me. 356014c0a534Smrg# Run this file to recreate the current configuration. 356114c0a534Smrg# Compiler output produced by configure, useful for debugging 356214c0a534Smrg# configure, is in config.log if it exists. 356314c0a534Smrg 356414c0a534Smrgdebug=false 356514c0a534Smrgac_cs_recheck=false 356614c0a534Smrgac_cs_silent=false 356714c0a534SmrgSHELL=\${CONFIG_SHELL-$SHELL} 356814c0a534Smrg_ACEOF 356914c0a534Smrg 357014c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 357114c0a534Smrg## --------------------- ## 357214c0a534Smrg## M4sh Initialization. ## 357314c0a534Smrg## --------------------- ## 357414c0a534Smrg 357514c0a534Smrg# Be Bourne compatible 357614c0a534Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 357714c0a534Smrg emulate sh 357814c0a534Smrg NULLCMD=: 357914c0a534Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 358014c0a534Smrg # is contrary to our usage. Disable this feature. 358114c0a534Smrg alias -g '${1+"$@"}'='"$@"' 358214c0a534Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 358314c0a534Smrg set -o posix 358414c0a534Smrgfi 358514c0a534SmrgDUALCASE=1; export DUALCASE # for MKS sh 358614c0a534Smrg 358714c0a534Smrg# Support unset when possible. 358814c0a534Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 358914c0a534Smrg as_unset=unset 359014c0a534Smrgelse 359114c0a534Smrg as_unset=false 359214c0a534Smrgfi 359314c0a534Smrg 359414c0a534Smrg 359514c0a534Smrg# Work around bugs in pre-3.0 UWIN ksh. 359614c0a534Smrg$as_unset ENV MAIL MAILPATH 359714c0a534SmrgPS1='$ ' 359814c0a534SmrgPS2='> ' 359914c0a534SmrgPS4='+ ' 360014c0a534Smrg 360114c0a534Smrg# NLS nuisances. 360214c0a534Smrgfor as_var in \ 360314c0a534Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 360414c0a534Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 360514c0a534Smrg LC_TELEPHONE LC_TIME 360614c0a534Smrgdo 360714c0a534Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 360814c0a534Smrg eval $as_var=C; export $as_var 360914c0a534Smrg else 361014c0a534Smrg $as_unset $as_var 361114c0a534Smrg fi 361214c0a534Smrgdone 361314c0a534Smrg 361414c0a534Smrg# Required to use basename. 361514c0a534Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 361614c0a534Smrg as_expr=expr 361714c0a534Smrgelse 361814c0a534Smrg as_expr=false 361914c0a534Smrgfi 362014c0a534Smrg 362114c0a534Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 362214c0a534Smrg as_basename=basename 362314c0a534Smrgelse 362414c0a534Smrg as_basename=false 362514c0a534Smrgfi 362614c0a534Smrg 362714c0a534Smrg 362814c0a534Smrg# Name of the executable. 362914c0a534Smrgas_me=`$as_basename "$0" || 363014c0a534Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 363114c0a534Smrg X"$0" : 'X\(//\)$' \| \ 363214c0a534Smrg X"$0" : 'X\(/\)$' \| \ 363314c0a534Smrg . : '\(.\)' 2>/dev/null || 363414c0a534Smrgecho X/"$0" | 363514c0a534Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 363614c0a534Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 363714c0a534Smrg /^X\/\(\/\).*/{ s//\1/; q; } 363814c0a534Smrg s/.*/./; q'` 363914c0a534Smrg 364014c0a534Smrg 364114c0a534Smrg# PATH needs CR, and LINENO needs CR and PATH. 364214c0a534Smrg# Avoid depending upon Character Ranges. 364314c0a534Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 364414c0a534Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 364514c0a534Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 364614c0a534Smrgas_cr_digits='0123456789' 364714c0a534Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 364814c0a534Smrg 364914c0a534Smrg# The user is always right. 365014c0a534Smrgif test "${PATH_SEPARATOR+set}" != set; then 365114c0a534Smrg echo "#! /bin/sh" >conf$$.sh 365214c0a534Smrg echo "exit 0" >>conf$$.sh 365314c0a534Smrg chmod +x conf$$.sh 365414c0a534Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 365514c0a534Smrg PATH_SEPARATOR=';' 365614c0a534Smrg else 365714c0a534Smrg PATH_SEPARATOR=: 365814c0a534Smrg fi 365914c0a534Smrg rm -f conf$$.sh 366014c0a534Smrgfi 366114c0a534Smrg 366214c0a534Smrg 366314c0a534Smrg as_lineno_1=$LINENO 366414c0a534Smrg as_lineno_2=$LINENO 366514c0a534Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 366614c0a534Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 366714c0a534Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 366814c0a534Smrg # Find who we are. Look in the path if we contain no path at all 366914c0a534Smrg # relative or not. 367014c0a534Smrg case $0 in 367114c0a534Smrg *[\\/]* ) as_myself=$0 ;; 367214c0a534Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 367314c0a534Smrgfor as_dir in $PATH 367414c0a534Smrgdo 367514c0a534Smrg IFS=$as_save_IFS 367614c0a534Smrg test -z "$as_dir" && as_dir=. 367714c0a534Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 367814c0a534Smrgdone 367914c0a534Smrg 368014c0a534Smrg ;; 368114c0a534Smrg esac 368214c0a534Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 368314c0a534Smrg # in which case we are not to be found in the path. 368414c0a534Smrg if test "x$as_myself" = x; then 368514c0a534Smrg as_myself=$0 368614c0a534Smrg fi 368714c0a534Smrg if test ! -f "$as_myself"; then 368814c0a534Smrg { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 368914c0a534Smrgecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 369014c0a534Smrg { (exit 1); exit 1; }; } 369114c0a534Smrg fi 369214c0a534Smrg case $CONFIG_SHELL in 369314c0a534Smrg '') 369414c0a534Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 369514c0a534Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 369614c0a534Smrgdo 369714c0a534Smrg IFS=$as_save_IFS 369814c0a534Smrg test -z "$as_dir" && as_dir=. 369914c0a534Smrg for as_base in sh bash ksh sh5; do 370014c0a534Smrg case $as_dir in 370114c0a534Smrg /*) 370214c0a534Smrg if ("$as_dir/$as_base" -c ' 370314c0a534Smrg as_lineno_1=$LINENO 370414c0a534Smrg as_lineno_2=$LINENO 370514c0a534Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 370614c0a534Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 370714c0a534Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 370814c0a534Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 370914c0a534Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 371014c0a534Smrg CONFIG_SHELL=$as_dir/$as_base 371114c0a534Smrg export CONFIG_SHELL 371214c0a534Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 371314c0a534Smrg fi;; 371414c0a534Smrg esac 371514c0a534Smrg done 371614c0a534Smrgdone 371714c0a534Smrg;; 371814c0a534Smrg esac 371914c0a534Smrg 372014c0a534Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 372114c0a534Smrg # uniformly replaced by the line number. The first 'sed' inserts a 372214c0a534Smrg # line-number line before each line; the second 'sed' does the real 372314c0a534Smrg # work. The second script uses 'N' to pair each line-number line 372414c0a534Smrg # with the numbered line, and appends trailing '-' during 372514c0a534Smrg # substitution so that $LINENO is not a special case at line end. 372614c0a534Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 372714c0a534Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 372814c0a534Smrg sed '=' <$as_myself | 372914c0a534Smrg sed ' 373014c0a534Smrg N 373114c0a534Smrg s,$,-, 373214c0a534Smrg : loop 373314c0a534Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 373414c0a534Smrg t loop 373514c0a534Smrg s,-$,, 373614c0a534Smrg s,^['$as_cr_digits']*\n,, 373714c0a534Smrg ' >$as_me.lineno && 373814c0a534Smrg chmod +x $as_me.lineno || 373914c0a534Smrg { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 374014c0a534Smrgecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 374114c0a534Smrg { (exit 1); exit 1; }; } 374214c0a534Smrg 374314c0a534Smrg # Don't try to exec as it changes $[0], causing all sort of problems 374414c0a534Smrg # (the dirname of $[0] is not the place where we might find the 374514c0a534Smrg # original and so on. Autoconf is especially sensible to this). 374614c0a534Smrg . ./$as_me.lineno 374714c0a534Smrg # Exit status is that of the last command. 374814c0a534Smrg exit 374914c0a534Smrg} 375014c0a534Smrg 375114c0a534Smrg 375214c0a534Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 375314c0a534Smrg *c*,-n*) ECHO_N= ECHO_C=' 375414c0a534Smrg' ECHO_T=' ' ;; 375514c0a534Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 375614c0a534Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 375714c0a534Smrgesac 375814c0a534Smrg 375914c0a534Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 376014c0a534Smrg as_expr=expr 376114c0a534Smrgelse 376214c0a534Smrg as_expr=false 376314c0a534Smrgfi 376414c0a534Smrg 376514c0a534Smrgrm -f conf$$ conf$$.exe conf$$.file 376614c0a534Smrgecho >conf$$.file 376714c0a534Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 376814c0a534Smrg # We could just check for DJGPP; but this test a) works b) is more generic 376914c0a534Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 377014c0a534Smrg if test -f conf$$.exe; then 377114c0a534Smrg # Don't use ln at all; we don't have any links 377214c0a534Smrg as_ln_s='cp -p' 377314c0a534Smrg else 377414c0a534Smrg as_ln_s='ln -s' 377514c0a534Smrg fi 377614c0a534Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 377714c0a534Smrg as_ln_s=ln 377814c0a534Smrgelse 377914c0a534Smrg as_ln_s='cp -p' 378014c0a534Smrgfi 378114c0a534Smrgrm -f conf$$ conf$$.exe conf$$.file 378214c0a534Smrg 378314c0a534Smrgif mkdir -p . 2>/dev/null; then 378414c0a534Smrg as_mkdir_p=: 378514c0a534Smrgelse 378614c0a534Smrg test -d ./-p && rmdir ./-p 378714c0a534Smrg as_mkdir_p=false 378814c0a534Smrgfi 378914c0a534Smrg 379014c0a534Smrgas_executable_p="test -f" 379114c0a534Smrg 379214c0a534Smrg# Sed expression to map a string onto a valid CPP name. 379314c0a534Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 379414c0a534Smrg 379514c0a534Smrg# Sed expression to map a string onto a valid variable name. 379614c0a534Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 379714c0a534Smrg 379814c0a534Smrg 379914c0a534Smrg# IFS 380014c0a534Smrg# We need space, tab and new line, in precisely that order. 380114c0a534Smrgas_nl=' 380214c0a534Smrg' 380314c0a534SmrgIFS=" $as_nl" 380414c0a534Smrg 380514c0a534Smrg# CDPATH. 380614c0a534Smrg$as_unset CDPATH 380714c0a534Smrg 380814c0a534Smrgexec 6>&1 380914c0a534Smrg 381014c0a534Smrg# Open the log real soon, to keep \$[0] and so on meaningful, and to 381114c0a534Smrg# report actual input values of CONFIG_FILES etc. instead of their 381214c0a534Smrg# values after options handling. Logging --version etc. is OK. 381314c0a534Smrgexec 5>>config.log 381414c0a534Smrg{ 381514c0a534Smrg echo 381614c0a534Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 381714c0a534Smrg## Running $as_me. ## 381814c0a534Smrg_ASBOX 381914c0a534Smrg} >&5 382014c0a534Smrgcat >&5 <<_CSEOF 382114c0a534Smrg 382214c0a534SmrgThis file was extended by smproxy $as_me 1.0.2, which was 382314c0a534Smrggenerated by GNU Autoconf 2.59. Invocation command line was 382414c0a534Smrg 382514c0a534Smrg CONFIG_FILES = $CONFIG_FILES 382614c0a534Smrg CONFIG_HEADERS = $CONFIG_HEADERS 382714c0a534Smrg CONFIG_LINKS = $CONFIG_LINKS 382814c0a534Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 382914c0a534Smrg $ $0 $@ 383014c0a534Smrg 383114c0a534Smrg_CSEOF 383214c0a534Smrgecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 383314c0a534Smrgecho >&5 383414c0a534Smrg_ACEOF 383514c0a534Smrg 383614c0a534Smrg# Files that config.status was made for. 383714c0a534Smrgif test -n "$ac_config_files"; then 383814c0a534Smrg echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 383914c0a534Smrgfi 384014c0a534Smrg 384114c0a534Smrgif test -n "$ac_config_headers"; then 384214c0a534Smrg echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 384314c0a534Smrgfi 384414c0a534Smrg 384514c0a534Smrgif test -n "$ac_config_links"; then 384614c0a534Smrg echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 384714c0a534Smrgfi 384814c0a534Smrg 384914c0a534Smrgif test -n "$ac_config_commands"; then 385014c0a534Smrg echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 385114c0a534Smrgfi 385214c0a534Smrg 385314c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 385414c0a534Smrg 385514c0a534Smrgac_cs_usage="\ 385614c0a534Smrg\`$as_me' instantiates files from templates according to the 385714c0a534Smrgcurrent configuration. 385814c0a534Smrg 385914c0a534SmrgUsage: $0 [OPTIONS] [FILE]... 386014c0a534Smrg 386114c0a534Smrg -h, --help print this help, then exit 386214c0a534Smrg -V, --version print version number, then exit 386314c0a534Smrg -q, --quiet do not print progress messages 386414c0a534Smrg -d, --debug don't remove temporary files 386514c0a534Smrg --recheck update $as_me by reconfiguring in the same conditions 386614c0a534Smrg --file=FILE[:TEMPLATE] 386714c0a534Smrg instantiate the configuration file FILE 386814c0a534Smrg --header=FILE[:TEMPLATE] 386914c0a534Smrg instantiate the configuration header FILE 387014c0a534Smrg 387114c0a534SmrgConfiguration files: 387214c0a534Smrg$config_files 387314c0a534Smrg 387414c0a534SmrgConfiguration headers: 387514c0a534Smrg$config_headers 387614c0a534Smrg 387714c0a534SmrgConfiguration commands: 387814c0a534Smrg$config_commands 387914c0a534Smrg 388014c0a534SmrgReport bugs to <bug-autoconf@gnu.org>." 388114c0a534Smrg_ACEOF 388214c0a534Smrg 388314c0a534Smrgcat >>$CONFIG_STATUS <<_ACEOF 388414c0a534Smrgac_cs_version="\\ 388514c0a534Smrgsmproxy config.status 1.0.2 388614c0a534Smrgconfigured by $0, generated by GNU Autoconf 2.59, 388714c0a534Smrg with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 388814c0a534Smrg 388914c0a534SmrgCopyright (C) 2003 Free Software Foundation, Inc. 389014c0a534SmrgThis config.status script is free software; the Free Software Foundation 389114c0a534Smrggives unlimited permission to copy, distribute and modify it." 389214c0a534Smrgsrcdir=$srcdir 389314c0a534SmrgINSTALL="$INSTALL" 389414c0a534Smrg_ACEOF 389514c0a534Smrg 389614c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 389714c0a534Smrg# If no file are specified by the user, then we need to provide default 389814c0a534Smrg# value. By we need to know if files were specified by the user. 389914c0a534Smrgac_need_defaults=: 390014c0a534Smrgwhile test $# != 0 390114c0a534Smrgdo 390214c0a534Smrg case $1 in 390314c0a534Smrg --*=*) 390414c0a534Smrg ac_option=`expr "x$1" : 'x\([^=]*\)='` 390514c0a534Smrg ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 390614c0a534Smrg ac_shift=: 390714c0a534Smrg ;; 390814c0a534Smrg -*) 390914c0a534Smrg ac_option=$1 391014c0a534Smrg ac_optarg=$2 391114c0a534Smrg ac_shift=shift 391214c0a534Smrg ;; 391314c0a534Smrg *) # This is not an option, so the user has probably given explicit 391414c0a534Smrg # arguments. 391514c0a534Smrg ac_option=$1 391614c0a534Smrg ac_need_defaults=false;; 391714c0a534Smrg esac 391814c0a534Smrg 391914c0a534Smrg case $ac_option in 392014c0a534Smrg # Handling of the options. 392114c0a534Smrg_ACEOF 392214c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 392314c0a534Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 392414c0a534Smrg ac_cs_recheck=: ;; 392514c0a534Smrg --version | --vers* | -V ) 392614c0a534Smrg echo "$ac_cs_version"; exit 0 ;; 392714c0a534Smrg --he | --h) 392814c0a534Smrg # Conflict between --help and --header 392914c0a534Smrg { { echo "$as_me:$LINENO: error: ambiguous option: $1 393014c0a534SmrgTry \`$0 --help' for more information." >&5 393114c0a534Smrgecho "$as_me: error: ambiguous option: $1 393214c0a534SmrgTry \`$0 --help' for more information." >&2;} 393314c0a534Smrg { (exit 1); exit 1; }; };; 393414c0a534Smrg --help | --hel | -h ) 393514c0a534Smrg echo "$ac_cs_usage"; exit 0 ;; 393614c0a534Smrg --debug | --d* | -d ) 393714c0a534Smrg debug=: ;; 393814c0a534Smrg --file | --fil | --fi | --f ) 393914c0a534Smrg $ac_shift 394014c0a534Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 394114c0a534Smrg ac_need_defaults=false;; 394214c0a534Smrg --header | --heade | --head | --hea ) 394314c0a534Smrg $ac_shift 394414c0a534Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 394514c0a534Smrg ac_need_defaults=false;; 394614c0a534Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 394714c0a534Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 394814c0a534Smrg ac_cs_silent=: ;; 394914c0a534Smrg 395014c0a534Smrg # This is an error. 395114c0a534Smrg -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 395214c0a534SmrgTry \`$0 --help' for more information." >&5 395314c0a534Smrgecho "$as_me: error: unrecognized option: $1 395414c0a534SmrgTry \`$0 --help' for more information." >&2;} 395514c0a534Smrg { (exit 1); exit 1; }; } ;; 395614c0a534Smrg 395714c0a534Smrg *) ac_config_targets="$ac_config_targets $1" ;; 395814c0a534Smrg 395914c0a534Smrg esac 396014c0a534Smrg shift 396114c0a534Smrgdone 396214c0a534Smrg 396314c0a534Smrgac_configure_extra_args= 396414c0a534Smrg 396514c0a534Smrgif $ac_cs_silent; then 396614c0a534Smrg exec 6>/dev/null 396714c0a534Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 396814c0a534Smrgfi 396914c0a534Smrg 397014c0a534Smrg_ACEOF 397114c0a534Smrgcat >>$CONFIG_STATUS <<_ACEOF 397214c0a534Smrgif \$ac_cs_recheck; then 397314c0a534Smrg echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 397414c0a534Smrg exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 397514c0a534Smrgfi 397614c0a534Smrg 397714c0a534Smrg_ACEOF 397814c0a534Smrg 397914c0a534Smrgcat >>$CONFIG_STATUS <<_ACEOF 398014c0a534Smrg# 398114c0a534Smrg# INIT-COMMANDS section. 398214c0a534Smrg# 398314c0a534Smrg 398414c0a534SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 398514c0a534Smrg 398614c0a534Smrg_ACEOF 398714c0a534Smrg 398814c0a534Smrg 398914c0a534Smrg 399014c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 399114c0a534Smrgfor ac_config_target in $ac_config_targets 399214c0a534Smrgdo 399314c0a534Smrg case "$ac_config_target" in 399414c0a534Smrg # Handling of arguments. 399514c0a534Smrg "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 399614c0a534Smrg "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 399714c0a534Smrg "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 399814c0a534Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 399914c0a534Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 400014c0a534Smrg { (exit 1); exit 1; }; };; 400114c0a534Smrg esac 400214c0a534Smrgdone 400314c0a534Smrg 400414c0a534Smrg# If the user did not use the arguments to specify the items to instantiate, 400514c0a534Smrg# then the envvar interface is used. Set only those that are not. 400614c0a534Smrg# We use the long form for the default assignment because of an extremely 400714c0a534Smrg# bizarre bug on SunOS 4.1.3. 400814c0a534Smrgif $ac_need_defaults; then 400914c0a534Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 401014c0a534Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 401114c0a534Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 401214c0a534Smrgfi 401314c0a534Smrg 401414c0a534Smrg# Have a temporary directory for convenience. Make it in the build tree 401514c0a534Smrg# simply because there is no reason to put it here, and in addition, 401614c0a534Smrg# creating and moving files from /tmp can sometimes cause problems. 401714c0a534Smrg# Create a temporary directory, and hook for its removal unless debugging. 401814c0a534Smrg$debug || 401914c0a534Smrg{ 402014c0a534Smrg trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 402114c0a534Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 402214c0a534Smrg} 402314c0a534Smrg 402414c0a534Smrg# Create a (secure) tmp directory for tmp files. 402514c0a534Smrg 402614c0a534Smrg{ 402714c0a534Smrg tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 402814c0a534Smrg test -n "$tmp" && test -d "$tmp" 402914c0a534Smrg} || 403014c0a534Smrg{ 403114c0a534Smrg tmp=./confstat$$-$RANDOM 403214c0a534Smrg (umask 077 && mkdir $tmp) 403314c0a534Smrg} || 403414c0a534Smrg{ 403514c0a534Smrg echo "$me: cannot create a temporary directory in ." >&2 403614c0a534Smrg { (exit 1); exit 1; } 403714c0a534Smrg} 403814c0a534Smrg 403914c0a534Smrg_ACEOF 404014c0a534Smrg 404114c0a534Smrgcat >>$CONFIG_STATUS <<_ACEOF 404214c0a534Smrg 404314c0a534Smrg# 404414c0a534Smrg# CONFIG_FILES section. 404514c0a534Smrg# 404614c0a534Smrg 404714c0a534Smrg# No need to generate the scripts if there are no CONFIG_FILES. 404814c0a534Smrg# This happens for instance when ./config.status config.h 404914c0a534Smrgif test -n "\$CONFIG_FILES"; then 405014c0a534Smrg # Protect against being on the right side of a sed subst in config.status. 405114c0a534Smrg sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 405214c0a534Smrg s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 405314c0a534Smrgs,@SHELL@,$SHELL,;t t 405414c0a534Smrgs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 405514c0a534Smrgs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 405614c0a534Smrgs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 405714c0a534Smrgs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 405814c0a534Smrgs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 405914c0a534Smrgs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 406014c0a534Smrgs,@exec_prefix@,$exec_prefix,;t t 406114c0a534Smrgs,@prefix@,$prefix,;t t 406214c0a534Smrgs,@program_transform_name@,$program_transform_name,;t t 406314c0a534Smrgs,@bindir@,$bindir,;t t 406414c0a534Smrgs,@sbindir@,$sbindir,;t t 406514c0a534Smrgs,@libexecdir@,$libexecdir,;t t 406614c0a534Smrgs,@datadir@,$datadir,;t t 406714c0a534Smrgs,@sysconfdir@,$sysconfdir,;t t 406814c0a534Smrgs,@sharedstatedir@,$sharedstatedir,;t t 406914c0a534Smrgs,@localstatedir@,$localstatedir,;t t 407014c0a534Smrgs,@libdir@,$libdir,;t t 407114c0a534Smrgs,@includedir@,$includedir,;t t 407214c0a534Smrgs,@oldincludedir@,$oldincludedir,;t t 407314c0a534Smrgs,@infodir@,$infodir,;t t 407414c0a534Smrgs,@mandir@,$mandir,;t t 407514c0a534Smrgs,@build_alias@,$build_alias,;t t 407614c0a534Smrgs,@host_alias@,$host_alias,;t t 407714c0a534Smrgs,@target_alias@,$target_alias,;t t 407814c0a534Smrgs,@DEFS@,$DEFS,;t t 407914c0a534Smrgs,@ECHO_C@,$ECHO_C,;t t 408014c0a534Smrgs,@ECHO_N@,$ECHO_N,;t t 408114c0a534Smrgs,@ECHO_T@,$ECHO_T,;t t 408214c0a534Smrgs,@LIBS@,$LIBS,;t t 408314c0a534Smrgs,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 408414c0a534Smrgs,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 408514c0a534Smrgs,@INSTALL_DATA@,$INSTALL_DATA,;t t 408614c0a534Smrgs,@CYGPATH_W@,$CYGPATH_W,;t t 408714c0a534Smrgs,@PACKAGE@,$PACKAGE,;t t 408814c0a534Smrgs,@VERSION@,$VERSION,;t t 408914c0a534Smrgs,@ACLOCAL@,$ACLOCAL,;t t 409014c0a534Smrgs,@AUTOCONF@,$AUTOCONF,;t t 409114c0a534Smrgs,@AUTOMAKE@,$AUTOMAKE,;t t 409214c0a534Smrgs,@AUTOHEADER@,$AUTOHEADER,;t t 409314c0a534Smrgs,@MAKEINFO@,$MAKEINFO,;t t 409414c0a534Smrgs,@install_sh@,$install_sh,;t t 409514c0a534Smrgs,@STRIP@,$STRIP,;t t 409614c0a534Smrgs,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 409714c0a534Smrgs,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 409814c0a534Smrgs,@mkdir_p@,$mkdir_p,;t t 409914c0a534Smrgs,@AWK@,$AWK,;t t 410014c0a534Smrgs,@SET_MAKE@,$SET_MAKE,;t t 410114c0a534Smrgs,@am__leading_dot@,$am__leading_dot,;t t 410214c0a534Smrgs,@AMTAR@,$AMTAR,;t t 410314c0a534Smrgs,@am__tar@,$am__tar,;t t 410414c0a534Smrgs,@am__untar@,$am__untar,;t t 410514c0a534Smrgs,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 410614c0a534Smrgs,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 410714c0a534Smrgs,@MAINT@,$MAINT,;t t 410814c0a534Smrgs,@CC@,$CC,;t t 410914c0a534Smrgs,@CFLAGS@,$CFLAGS,;t t 411014c0a534Smrgs,@LDFLAGS@,$LDFLAGS,;t t 411114c0a534Smrgs,@CPPFLAGS@,$CPPFLAGS,;t t 411214c0a534Smrgs,@ac_ct_CC@,$ac_ct_CC,;t t 411314c0a534Smrgs,@EXEEXT@,$EXEEXT,;t t 411414c0a534Smrgs,@OBJEXT@,$OBJEXT,;t t 411514c0a534Smrgs,@DEPDIR@,$DEPDIR,;t t 411614c0a534Smrgs,@am__include@,$am__include,;t t 411714c0a534Smrgs,@am__quote@,$am__quote,;t t 411814c0a534Smrgs,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 411914c0a534Smrgs,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 412014c0a534Smrgs,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 412114c0a534Smrgs,@CCDEPMODE@,$CCDEPMODE,;t t 412214c0a534Smrgs,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 412314c0a534Smrgs,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 412414c0a534Smrgs,@PKG_CONFIG@,$PKG_CONFIG,;t t 412514c0a534Smrgs,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 412614c0a534Smrgs,@SMPROXY_CFLAGS@,$SMPROXY_CFLAGS,;t t 412714c0a534Smrgs,@SMPROXY_LIBS@,$SMPROXY_LIBS,;t t 412814c0a534Smrgs,@build@,$build,;t t 412914c0a534Smrgs,@build_cpu@,$build_cpu,;t t 413014c0a534Smrgs,@build_vendor@,$build_vendor,;t t 413114c0a534Smrgs,@build_os@,$build_os,;t t 413214c0a534Smrgs,@host@,$host,;t t 413314c0a534Smrgs,@host_cpu@,$host_cpu,;t t 413414c0a534Smrgs,@host_vendor@,$host_vendor,;t t 413514c0a534Smrgs,@host_os@,$host_os,;t t 413614c0a534Smrgs,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t 413714c0a534Smrgs,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t 413814c0a534Smrgs,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t 413914c0a534Smrgs,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t 414014c0a534Smrgs,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t 414114c0a534Smrgs,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t 414214c0a534Smrgs,@APP_MAN_DIR@,$APP_MAN_DIR,;t t 414314c0a534Smrgs,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t 414414c0a534Smrgs,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t 414514c0a534Smrgs,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t 414614c0a534Smrgs,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t 414714c0a534Smrgs,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t 414814c0a534Smrgs,@LIBOBJS@,$LIBOBJS,;t t 414914c0a534Smrgs,@LTLIBOBJS@,$LTLIBOBJS,;t t 415014c0a534SmrgCEOF 415114c0a534Smrg 415214c0a534Smrg_ACEOF 415314c0a534Smrg 415414c0a534Smrg cat >>$CONFIG_STATUS <<\_ACEOF 415514c0a534Smrg # Split the substitutions into bite-sized pieces for seds with 415614c0a534Smrg # small command number limits, like on Digital OSF/1 and HP-UX. 415714c0a534Smrg ac_max_sed_lines=48 415814c0a534Smrg ac_sed_frag=1 # Number of current file. 415914c0a534Smrg ac_beg=1 # First line for current file. 416014c0a534Smrg ac_end=$ac_max_sed_lines # Line after last line for current file. 416114c0a534Smrg ac_more_lines=: 416214c0a534Smrg ac_sed_cmds= 416314c0a534Smrg while $ac_more_lines; do 416414c0a534Smrg if test $ac_beg -gt 1; then 416514c0a534Smrg sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 416614c0a534Smrg else 416714c0a534Smrg sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 416814c0a534Smrg fi 416914c0a534Smrg if test ! -s $tmp/subs.frag; then 417014c0a534Smrg ac_more_lines=false 417114c0a534Smrg else 417214c0a534Smrg # The purpose of the label and of the branching condition is to 417314c0a534Smrg # speed up the sed processing (if there are no `@' at all, there 417414c0a534Smrg # is no need to browse any of the substitutions). 417514c0a534Smrg # These are the two extra sed commands mentioned above. 417614c0a534Smrg (echo ':t 417714c0a534Smrg /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 417814c0a534Smrg if test -z "$ac_sed_cmds"; then 417914c0a534Smrg ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 418014c0a534Smrg else 418114c0a534Smrg ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 418214c0a534Smrg fi 418314c0a534Smrg ac_sed_frag=`expr $ac_sed_frag + 1` 418414c0a534Smrg ac_beg=$ac_end 418514c0a534Smrg ac_end=`expr $ac_end + $ac_max_sed_lines` 418614c0a534Smrg fi 418714c0a534Smrg done 418814c0a534Smrg if test -z "$ac_sed_cmds"; then 418914c0a534Smrg ac_sed_cmds=cat 419014c0a534Smrg fi 419114c0a534Smrgfi # test -n "$CONFIG_FILES" 419214c0a534Smrg 419314c0a534Smrg_ACEOF 419414c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 419514c0a534Smrgfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 419614c0a534Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 419714c0a534Smrg case $ac_file in 419814c0a534Smrg - | *:- | *:-:* ) # input from stdin 419914c0a534Smrg cat >$tmp/stdin 420014c0a534Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 420114c0a534Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 420214c0a534Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 420314c0a534Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 420414c0a534Smrg * ) ac_file_in=$ac_file.in ;; 420514c0a534Smrg esac 420614c0a534Smrg 420714c0a534Smrg # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 420814c0a534Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 420914c0a534Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 421014c0a534Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 421114c0a534Smrg X"$ac_file" : 'X\(//\)$' \| \ 421214c0a534Smrg X"$ac_file" : 'X\(/\)' \| \ 421314c0a534Smrg . : '\(.\)' 2>/dev/null || 421414c0a534Smrgecho X"$ac_file" | 421514c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 421614c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 421714c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 421814c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 421914c0a534Smrg s/.*/./; q'` 422014c0a534Smrg { if $as_mkdir_p; then 422114c0a534Smrg mkdir -p "$ac_dir" 422214c0a534Smrg else 422314c0a534Smrg as_dir="$ac_dir" 422414c0a534Smrg as_dirs= 422514c0a534Smrg while test ! -d "$as_dir"; do 422614c0a534Smrg as_dirs="$as_dir $as_dirs" 422714c0a534Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 422814c0a534Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 422914c0a534Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 423014c0a534Smrg X"$as_dir" : 'X\(//\)$' \| \ 423114c0a534Smrg X"$as_dir" : 'X\(/\)' \| \ 423214c0a534Smrg . : '\(.\)' 2>/dev/null || 423314c0a534Smrgecho X"$as_dir" | 423414c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 423514c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 423614c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 423714c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 423814c0a534Smrg s/.*/./; q'` 423914c0a534Smrg done 424014c0a534Smrg test ! -n "$as_dirs" || mkdir $as_dirs 424114c0a534Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 424214c0a534Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 424314c0a534Smrg { (exit 1); exit 1; }; }; } 424414c0a534Smrg 424514c0a534Smrg ac_builddir=. 424614c0a534Smrg 424714c0a534Smrgif test "$ac_dir" != .; then 424814c0a534Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 424914c0a534Smrg # A "../" for each directory in $ac_dir_suffix. 425014c0a534Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 425114c0a534Smrgelse 425214c0a534Smrg ac_dir_suffix= ac_top_builddir= 425314c0a534Smrgfi 425414c0a534Smrg 425514c0a534Smrgcase $srcdir in 425614c0a534Smrg .) # No --srcdir option. We are building in place. 425714c0a534Smrg ac_srcdir=. 425814c0a534Smrg if test -z "$ac_top_builddir"; then 425914c0a534Smrg ac_top_srcdir=. 426014c0a534Smrg else 426114c0a534Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 426214c0a534Smrg fi ;; 426314c0a534Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 426414c0a534Smrg ac_srcdir=$srcdir$ac_dir_suffix; 426514c0a534Smrg ac_top_srcdir=$srcdir ;; 426614c0a534Smrg *) # Relative path. 426714c0a534Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 426814c0a534Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 426914c0a534Smrgesac 427014c0a534Smrg 427114c0a534Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 427214c0a534Smrg# the directories may not exist. 427314c0a534Smrgcase `pwd` in 427414c0a534Smrg.) ac_abs_builddir="$ac_dir";; 427514c0a534Smrg*) 427614c0a534Smrg case "$ac_dir" in 427714c0a534Smrg .) ac_abs_builddir=`pwd`;; 427814c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 427914c0a534Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 428014c0a534Smrg esac;; 428114c0a534Smrgesac 428214c0a534Smrgcase $ac_abs_builddir in 428314c0a534Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 428414c0a534Smrg*) 428514c0a534Smrg case ${ac_top_builddir}. in 428614c0a534Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 428714c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 428814c0a534Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 428914c0a534Smrg esac;; 429014c0a534Smrgesac 429114c0a534Smrgcase $ac_abs_builddir in 429214c0a534Smrg.) ac_abs_srcdir=$ac_srcdir;; 429314c0a534Smrg*) 429414c0a534Smrg case $ac_srcdir in 429514c0a534Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 429614c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 429714c0a534Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 429814c0a534Smrg esac;; 429914c0a534Smrgesac 430014c0a534Smrgcase $ac_abs_builddir in 430114c0a534Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 430214c0a534Smrg*) 430314c0a534Smrg case $ac_top_srcdir in 430414c0a534Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 430514c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 430614c0a534Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 430714c0a534Smrg esac;; 430814c0a534Smrgesac 430914c0a534Smrg 431014c0a534Smrg 431114c0a534Smrg case $INSTALL in 431214c0a534Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 431314c0a534Smrg *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 431414c0a534Smrg esac 431514c0a534Smrg 431614c0a534Smrg if test x"$ac_file" != x-; then 431714c0a534Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 431814c0a534Smrgecho "$as_me: creating $ac_file" >&6;} 431914c0a534Smrg rm -f "$ac_file" 432014c0a534Smrg fi 432114c0a534Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 432214c0a534Smrg # use $as_me), people would be surprised to read: 432314c0a534Smrg # /* config.h. Generated by config.status. */ 432414c0a534Smrg if test x"$ac_file" = x-; then 432514c0a534Smrg configure_input= 432614c0a534Smrg else 432714c0a534Smrg configure_input="$ac_file. " 432814c0a534Smrg fi 432914c0a534Smrg configure_input=$configure_input"Generated from `echo $ac_file_in | 433014c0a534Smrg sed 's,.*/,,'` by configure." 433114c0a534Smrg 433214c0a534Smrg # First look for the input files in the build tree, otherwise in the 433314c0a534Smrg # src tree. 433414c0a534Smrg ac_file_inputs=`IFS=: 433514c0a534Smrg for f in $ac_file_in; do 433614c0a534Smrg case $f in 433714c0a534Smrg -) echo $tmp/stdin ;; 433814c0a534Smrg [\\/$]*) 433914c0a534Smrg # Absolute (can't be DOS-style, as IFS=:) 434014c0a534Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 434114c0a534Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 434214c0a534Smrg { (exit 1); exit 1; }; } 434314c0a534Smrg echo "$f";; 434414c0a534Smrg *) # Relative 434514c0a534Smrg if test -f "$f"; then 434614c0a534Smrg # Build tree 434714c0a534Smrg echo "$f" 434814c0a534Smrg elif test -f "$srcdir/$f"; then 434914c0a534Smrg # Source tree 435014c0a534Smrg echo "$srcdir/$f" 435114c0a534Smrg else 435214c0a534Smrg # /dev/null tree 435314c0a534Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 435414c0a534Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 435514c0a534Smrg { (exit 1); exit 1; }; } 435614c0a534Smrg fi;; 435714c0a534Smrg esac 435814c0a534Smrg done` || { (exit 1); exit 1; } 435914c0a534Smrg_ACEOF 436014c0a534Smrgcat >>$CONFIG_STATUS <<_ACEOF 436114c0a534Smrg sed "$ac_vpsub 436214c0a534Smrg$extrasub 436314c0a534Smrg_ACEOF 436414c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 436514c0a534Smrg:t 436614c0a534Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 436714c0a534Smrgs,@configure_input@,$configure_input,;t t 436814c0a534Smrgs,@srcdir@,$ac_srcdir,;t t 436914c0a534Smrgs,@abs_srcdir@,$ac_abs_srcdir,;t t 437014c0a534Smrgs,@top_srcdir@,$ac_top_srcdir,;t t 437114c0a534Smrgs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 437214c0a534Smrgs,@builddir@,$ac_builddir,;t t 437314c0a534Smrgs,@abs_builddir@,$ac_abs_builddir,;t t 437414c0a534Smrgs,@top_builddir@,$ac_top_builddir,;t t 437514c0a534Smrgs,@abs_top_builddir@,$ac_abs_top_builddir,;t t 437614c0a534Smrgs,@INSTALL@,$ac_INSTALL,;t t 437714c0a534Smrg" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 437814c0a534Smrg rm -f $tmp/stdin 437914c0a534Smrg if test x"$ac_file" != x-; then 438014c0a534Smrg mv $tmp/out $ac_file 438114c0a534Smrg else 438214c0a534Smrg cat $tmp/out 438314c0a534Smrg rm -f $tmp/out 438414c0a534Smrg fi 438514c0a534Smrg 438614c0a534Smrgdone 438714c0a534Smrg_ACEOF 438814c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 438914c0a534Smrg 439014c0a534Smrg# 439114c0a534Smrg# CONFIG_HEADER section. 439214c0a534Smrg# 439314c0a534Smrg 439414c0a534Smrg# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 439514c0a534Smrg# NAME is the cpp macro being defined and VALUE is the value it is being given. 439614c0a534Smrg# 439714c0a534Smrg# ac_d sets the value in "#define NAME VALUE" lines. 439814c0a534Smrgac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 439914c0a534Smrgac_dB='[ ].*$,\1#\2' 440014c0a534Smrgac_dC=' ' 440114c0a534Smrgac_dD=',;t' 440214c0a534Smrg# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 440314c0a534Smrgac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 440414c0a534Smrgac_uB='$,\1#\2define\3' 440514c0a534Smrgac_uC=' ' 440614c0a534Smrgac_uD=',;t' 440714c0a534Smrg 440814c0a534Smrgfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 440914c0a534Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 441014c0a534Smrg case $ac_file in 441114c0a534Smrg - | *:- | *:-:* ) # input from stdin 441214c0a534Smrg cat >$tmp/stdin 441314c0a534Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 441414c0a534Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 441514c0a534Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 441614c0a534Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 441714c0a534Smrg * ) ac_file_in=$ac_file.in ;; 441814c0a534Smrg esac 441914c0a534Smrg 442014c0a534Smrg test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 442114c0a534Smrgecho "$as_me: creating $ac_file" >&6;} 442214c0a534Smrg 442314c0a534Smrg # First look for the input files in the build tree, otherwise in the 442414c0a534Smrg # src tree. 442514c0a534Smrg ac_file_inputs=`IFS=: 442614c0a534Smrg for f in $ac_file_in; do 442714c0a534Smrg case $f in 442814c0a534Smrg -) echo $tmp/stdin ;; 442914c0a534Smrg [\\/$]*) 443014c0a534Smrg # Absolute (can't be DOS-style, as IFS=:) 443114c0a534Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 443214c0a534Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 443314c0a534Smrg { (exit 1); exit 1; }; } 443414c0a534Smrg # Do quote $f, to prevent DOS paths from being IFS'd. 443514c0a534Smrg echo "$f";; 443614c0a534Smrg *) # Relative 443714c0a534Smrg if test -f "$f"; then 443814c0a534Smrg # Build tree 443914c0a534Smrg echo "$f" 444014c0a534Smrg elif test -f "$srcdir/$f"; then 444114c0a534Smrg # Source tree 444214c0a534Smrg echo "$srcdir/$f" 444314c0a534Smrg else 444414c0a534Smrg # /dev/null tree 444514c0a534Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 444614c0a534Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 444714c0a534Smrg { (exit 1); exit 1; }; } 444814c0a534Smrg fi;; 444914c0a534Smrg esac 445014c0a534Smrg done` || { (exit 1); exit 1; } 445114c0a534Smrg # Remove the trailing spaces. 445214c0a534Smrg sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 445314c0a534Smrg 445414c0a534Smrg_ACEOF 445514c0a534Smrg 445614c0a534Smrg# Transform confdefs.h into two sed scripts, `conftest.defines' and 445714c0a534Smrg# `conftest.undefs', that substitutes the proper values into 445814c0a534Smrg# config.h.in to produce config.h. The first handles `#define' 445914c0a534Smrg# templates, and the second `#undef' templates. 446014c0a534Smrg# And first: Protect against being on the right side of a sed subst in 446114c0a534Smrg# config.status. Protect against being in an unquoted here document 446214c0a534Smrg# in config.status. 446314c0a534Smrgrm -f conftest.defines conftest.undefs 446414c0a534Smrg# Using a here document instead of a string reduces the quoting nightmare. 446514c0a534Smrg# Putting comments in sed scripts is not portable. 446614c0a534Smrg# 446714c0a534Smrg# `end' is used to avoid that the second main sed command (meant for 446814c0a534Smrg# 0-ary CPP macros) applies to n-ary macro definitions. 446914c0a534Smrg# See the Autoconf documentation for `clear'. 447014c0a534Smrgcat >confdef2sed.sed <<\_ACEOF 447114c0a534Smrgs/[\\&,]/\\&/g 447214c0a534Smrgs,[\\$`],\\&,g 447314c0a534Smrgt clear 447414c0a534Smrg: clear 447514c0a534Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 447614c0a534Smrgt end 447714c0a534Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 447814c0a534Smrg: end 447914c0a534Smrg_ACEOF 448014c0a534Smrg# If some macros were called several times there might be several times 448114c0a534Smrg# the same #defines, which is useless. Nevertheless, we may not want to 448214c0a534Smrg# sort them, since we want the *last* AC-DEFINE to be honored. 448314c0a534Smrguniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 448414c0a534Smrgsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 448514c0a534Smrgrm -f confdef2sed.sed 448614c0a534Smrg 448714c0a534Smrg# This sed command replaces #undef with comments. This is necessary, for 448814c0a534Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 448914c0a534Smrg# on some systems where configure will not decide to define it. 449014c0a534Smrgcat >>conftest.undefs <<\_ACEOF 449114c0a534Smrgs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 449214c0a534Smrg_ACEOF 449314c0a534Smrg 449414c0a534Smrg# Break up conftest.defines because some shells have a limit on the size 449514c0a534Smrg# of here documents, and old seds have small limits too (100 cmds). 449614c0a534Smrgecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 449714c0a534Smrgecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 449814c0a534Smrgecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 449914c0a534Smrgecho ' :' >>$CONFIG_STATUS 450014c0a534Smrgrm -f conftest.tail 450114c0a534Smrgwhile grep . conftest.defines >/dev/null 450214c0a534Smrgdo 450314c0a534Smrg # Write a limited-size here document to $tmp/defines.sed. 450414c0a534Smrg echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 450514c0a534Smrg # Speed up: don't consider the non `#define' lines. 450614c0a534Smrg echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 450714c0a534Smrg # Work around the forget-to-reset-the-flag bug. 450814c0a534Smrg echo 't clr' >>$CONFIG_STATUS 450914c0a534Smrg echo ': clr' >>$CONFIG_STATUS 451014c0a534Smrg sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 451114c0a534Smrg echo 'CEOF 451214c0a534Smrg sed -f $tmp/defines.sed $tmp/in >$tmp/out 451314c0a534Smrg rm -f $tmp/in 451414c0a534Smrg mv $tmp/out $tmp/in 451514c0a534Smrg' >>$CONFIG_STATUS 451614c0a534Smrg sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 451714c0a534Smrg rm -f conftest.defines 451814c0a534Smrg mv conftest.tail conftest.defines 451914c0a534Smrgdone 452014c0a534Smrgrm -f conftest.defines 452114c0a534Smrgecho ' fi # grep' >>$CONFIG_STATUS 452214c0a534Smrgecho >>$CONFIG_STATUS 452314c0a534Smrg 452414c0a534Smrg# Break up conftest.undefs because some shells have a limit on the size 452514c0a534Smrg# of here documents, and old seds have small limits too (100 cmds). 452614c0a534Smrgecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 452714c0a534Smrgrm -f conftest.tail 452814c0a534Smrgwhile grep . conftest.undefs >/dev/null 452914c0a534Smrgdo 453014c0a534Smrg # Write a limited-size here document to $tmp/undefs.sed. 453114c0a534Smrg echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 453214c0a534Smrg # Speed up: don't consider the non `#undef' 453314c0a534Smrg echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 453414c0a534Smrg # Work around the forget-to-reset-the-flag bug. 453514c0a534Smrg echo 't clr' >>$CONFIG_STATUS 453614c0a534Smrg echo ': clr' >>$CONFIG_STATUS 453714c0a534Smrg sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 453814c0a534Smrg echo 'CEOF 453914c0a534Smrg sed -f $tmp/undefs.sed $tmp/in >$tmp/out 454014c0a534Smrg rm -f $tmp/in 454114c0a534Smrg mv $tmp/out $tmp/in 454214c0a534Smrg' >>$CONFIG_STATUS 454314c0a534Smrg sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 454414c0a534Smrg rm -f conftest.undefs 454514c0a534Smrg mv conftest.tail conftest.undefs 454614c0a534Smrgdone 454714c0a534Smrgrm -f conftest.undefs 454814c0a534Smrg 454914c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 455014c0a534Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 455114c0a534Smrg # use $as_me), people would be surprised to read: 455214c0a534Smrg # /* config.h. Generated by config.status. */ 455314c0a534Smrg if test x"$ac_file" = x-; then 455414c0a534Smrg echo "/* Generated by configure. */" >$tmp/config.h 455514c0a534Smrg else 455614c0a534Smrg echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 455714c0a534Smrg fi 455814c0a534Smrg cat $tmp/in >>$tmp/config.h 455914c0a534Smrg rm -f $tmp/in 456014c0a534Smrg if test x"$ac_file" != x-; then 456114c0a534Smrg if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 456214c0a534Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 456314c0a534Smrgecho "$as_me: $ac_file is unchanged" >&6;} 456414c0a534Smrg else 456514c0a534Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 456614c0a534Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 456714c0a534Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 456814c0a534Smrg X"$ac_file" : 'X\(//\)$' \| \ 456914c0a534Smrg X"$ac_file" : 'X\(/\)' \| \ 457014c0a534Smrg . : '\(.\)' 2>/dev/null || 457114c0a534Smrgecho X"$ac_file" | 457214c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 457314c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 457414c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 457514c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 457614c0a534Smrg s/.*/./; q'` 457714c0a534Smrg { if $as_mkdir_p; then 457814c0a534Smrg mkdir -p "$ac_dir" 457914c0a534Smrg else 458014c0a534Smrg as_dir="$ac_dir" 458114c0a534Smrg as_dirs= 458214c0a534Smrg while test ! -d "$as_dir"; do 458314c0a534Smrg as_dirs="$as_dir $as_dirs" 458414c0a534Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 458514c0a534Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 458614c0a534Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 458714c0a534Smrg X"$as_dir" : 'X\(//\)$' \| \ 458814c0a534Smrg X"$as_dir" : 'X\(/\)' \| \ 458914c0a534Smrg . : '\(.\)' 2>/dev/null || 459014c0a534Smrgecho X"$as_dir" | 459114c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 459214c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 459314c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 459414c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 459514c0a534Smrg s/.*/./; q'` 459614c0a534Smrg done 459714c0a534Smrg test ! -n "$as_dirs" || mkdir $as_dirs 459814c0a534Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 459914c0a534Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 460014c0a534Smrg { (exit 1); exit 1; }; }; } 460114c0a534Smrg 460214c0a534Smrg rm -f $ac_file 460314c0a534Smrg mv $tmp/config.h $ac_file 460414c0a534Smrg fi 460514c0a534Smrg else 460614c0a534Smrg cat $tmp/config.h 460714c0a534Smrg rm -f $tmp/config.h 460814c0a534Smrg fi 460914c0a534Smrg# Compute $ac_file's index in $config_headers. 461014c0a534Smrg_am_stamp_count=1 461114c0a534Smrgfor _am_header in $config_headers :; do 461214c0a534Smrg case $_am_header in 461314c0a534Smrg $ac_file | $ac_file:* ) 461414c0a534Smrg break ;; 461514c0a534Smrg * ) 461614c0a534Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 461714c0a534Smrg esac 461814c0a534Smrgdone 461914c0a534Smrgecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 462014c0a534Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 462114c0a534Smrg X$ac_file : 'X\(//\)[^/]' \| \ 462214c0a534Smrg X$ac_file : 'X\(//\)$' \| \ 462314c0a534Smrg X$ac_file : 'X\(/\)' \| \ 462414c0a534Smrg . : '\(.\)' 2>/dev/null || 462514c0a534Smrgecho X$ac_file | 462614c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 462714c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 462814c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 462914c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 463014c0a534Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 463114c0a534Smrgdone 463214c0a534Smrg_ACEOF 463314c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 463414c0a534Smrg 463514c0a534Smrg# 463614c0a534Smrg# CONFIG_COMMANDS section. 463714c0a534Smrg# 463814c0a534Smrgfor ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 463914c0a534Smrg ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 464014c0a534Smrg ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 464114c0a534Smrg ac_dir=`(dirname "$ac_dest") 2>/dev/null || 464214c0a534Smrg$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 464314c0a534Smrg X"$ac_dest" : 'X\(//\)[^/]' \| \ 464414c0a534Smrg X"$ac_dest" : 'X\(//\)$' \| \ 464514c0a534Smrg X"$ac_dest" : 'X\(/\)' \| \ 464614c0a534Smrg . : '\(.\)' 2>/dev/null || 464714c0a534Smrgecho X"$ac_dest" | 464814c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 464914c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 465014c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 465114c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 465214c0a534Smrg s/.*/./; q'` 465314c0a534Smrg { if $as_mkdir_p; then 465414c0a534Smrg mkdir -p "$ac_dir" 465514c0a534Smrg else 465614c0a534Smrg as_dir="$ac_dir" 465714c0a534Smrg as_dirs= 465814c0a534Smrg while test ! -d "$as_dir"; do 465914c0a534Smrg as_dirs="$as_dir $as_dirs" 466014c0a534Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 466114c0a534Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 466214c0a534Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 466314c0a534Smrg X"$as_dir" : 'X\(//\)$' \| \ 466414c0a534Smrg X"$as_dir" : 'X\(/\)' \| \ 466514c0a534Smrg . : '\(.\)' 2>/dev/null || 466614c0a534Smrgecho X"$as_dir" | 466714c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 466814c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 466914c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 467014c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 467114c0a534Smrg s/.*/./; q'` 467214c0a534Smrg done 467314c0a534Smrg test ! -n "$as_dirs" || mkdir $as_dirs 467414c0a534Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 467514c0a534Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 467614c0a534Smrg { (exit 1); exit 1; }; }; } 467714c0a534Smrg 467814c0a534Smrg ac_builddir=. 467914c0a534Smrg 468014c0a534Smrgif test "$ac_dir" != .; then 468114c0a534Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 468214c0a534Smrg # A "../" for each directory in $ac_dir_suffix. 468314c0a534Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 468414c0a534Smrgelse 468514c0a534Smrg ac_dir_suffix= ac_top_builddir= 468614c0a534Smrgfi 468714c0a534Smrg 468814c0a534Smrgcase $srcdir in 468914c0a534Smrg .) # No --srcdir option. We are building in place. 469014c0a534Smrg ac_srcdir=. 469114c0a534Smrg if test -z "$ac_top_builddir"; then 469214c0a534Smrg ac_top_srcdir=. 469314c0a534Smrg else 469414c0a534Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 469514c0a534Smrg fi ;; 469614c0a534Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 469714c0a534Smrg ac_srcdir=$srcdir$ac_dir_suffix; 469814c0a534Smrg ac_top_srcdir=$srcdir ;; 469914c0a534Smrg *) # Relative path. 470014c0a534Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 470114c0a534Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 470214c0a534Smrgesac 470314c0a534Smrg 470414c0a534Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 470514c0a534Smrg# the directories may not exist. 470614c0a534Smrgcase `pwd` in 470714c0a534Smrg.) ac_abs_builddir="$ac_dir";; 470814c0a534Smrg*) 470914c0a534Smrg case "$ac_dir" in 471014c0a534Smrg .) ac_abs_builddir=`pwd`;; 471114c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 471214c0a534Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 471314c0a534Smrg esac;; 471414c0a534Smrgesac 471514c0a534Smrgcase $ac_abs_builddir in 471614c0a534Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 471714c0a534Smrg*) 471814c0a534Smrg case ${ac_top_builddir}. in 471914c0a534Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 472014c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 472114c0a534Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 472214c0a534Smrg esac;; 472314c0a534Smrgesac 472414c0a534Smrgcase $ac_abs_builddir in 472514c0a534Smrg.) ac_abs_srcdir=$ac_srcdir;; 472614c0a534Smrg*) 472714c0a534Smrg case $ac_srcdir in 472814c0a534Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 472914c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 473014c0a534Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 473114c0a534Smrg esac;; 473214c0a534Smrgesac 473314c0a534Smrgcase $ac_abs_builddir in 473414c0a534Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 473514c0a534Smrg*) 473614c0a534Smrg case $ac_top_srcdir in 473714c0a534Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 473814c0a534Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 473914c0a534Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 474014c0a534Smrg esac;; 474114c0a534Smrgesac 474214c0a534Smrg 474314c0a534Smrg 474414c0a534Smrg { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 474514c0a534Smrgecho "$as_me: executing $ac_dest commands" >&6;} 474614c0a534Smrg case $ac_dest in 474714c0a534Smrg depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 474814c0a534Smrg # Strip MF so we end up with the name of the file. 474914c0a534Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 475014c0a534Smrg # Check whether this is an Automake generated Makefile or not. 475114c0a534Smrg # We used to match only the files named `Makefile.in', but 475214c0a534Smrg # some people rename them; so instead we look at the file content. 475314c0a534Smrg # Grep'ing the first line is not enough: some people post-process 475414c0a534Smrg # each Makefile.in and add a new line on top of each file to say so. 475514c0a534Smrg # So let's grep whole file. 475614c0a534Smrg if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 475714c0a534Smrg dirpart=`(dirname "$mf") 2>/dev/null || 475814c0a534Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 475914c0a534Smrg X"$mf" : 'X\(//\)[^/]' \| \ 476014c0a534Smrg X"$mf" : 'X\(//\)$' \| \ 476114c0a534Smrg X"$mf" : 'X\(/\)' \| \ 476214c0a534Smrg . : '\(.\)' 2>/dev/null || 476314c0a534Smrgecho X"$mf" | 476414c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 476514c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 476614c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 476714c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 476814c0a534Smrg s/.*/./; q'` 476914c0a534Smrg else 477014c0a534Smrg continue 477114c0a534Smrg fi 477214c0a534Smrg # Extract the definition of DEPDIR, am__include, and am__quote 477314c0a534Smrg # from the Makefile without running `make'. 477414c0a534Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 477514c0a534Smrg test -z "$DEPDIR" && continue 477614c0a534Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 477714c0a534Smrg test -z "am__include" && continue 477814c0a534Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 477914c0a534Smrg # When using ansi2knr, U may be empty or an underscore; expand it 478014c0a534Smrg U=`sed -n 's/^U = //p' < "$mf"` 478114c0a534Smrg # Find all dependency output files, they are included files with 478214c0a534Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 478314c0a534Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 478414c0a534Smrg # expansion. 478514c0a534Smrg for file in `sed -n " 478614c0a534Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 478714c0a534Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 478814c0a534Smrg # Make sure the directory exists. 478914c0a534Smrg test -f "$dirpart/$file" && continue 479014c0a534Smrg fdir=`(dirname "$file") 2>/dev/null || 479114c0a534Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 479214c0a534Smrg X"$file" : 'X\(//\)[^/]' \| \ 479314c0a534Smrg X"$file" : 'X\(//\)$' \| \ 479414c0a534Smrg X"$file" : 'X\(/\)' \| \ 479514c0a534Smrg . : '\(.\)' 2>/dev/null || 479614c0a534Smrgecho X"$file" | 479714c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 479814c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 479914c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 480014c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 480114c0a534Smrg s/.*/./; q'` 480214c0a534Smrg { if $as_mkdir_p; then 480314c0a534Smrg mkdir -p $dirpart/$fdir 480414c0a534Smrg else 480514c0a534Smrg as_dir=$dirpart/$fdir 480614c0a534Smrg as_dirs= 480714c0a534Smrg while test ! -d "$as_dir"; do 480814c0a534Smrg as_dirs="$as_dir $as_dirs" 480914c0a534Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 481014c0a534Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 481114c0a534Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 481214c0a534Smrg X"$as_dir" : 'X\(//\)$' \| \ 481314c0a534Smrg X"$as_dir" : 'X\(/\)' \| \ 481414c0a534Smrg . : '\(.\)' 2>/dev/null || 481514c0a534Smrgecho X"$as_dir" | 481614c0a534Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 481714c0a534Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 481814c0a534Smrg /^X\(\/\/\)$/{ s//\1/; q; } 481914c0a534Smrg /^X\(\/\).*/{ s//\1/; q; } 482014c0a534Smrg s/.*/./; q'` 482114c0a534Smrg done 482214c0a534Smrg test ! -n "$as_dirs" || mkdir $as_dirs 482314c0a534Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 482414c0a534Smrgecho "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 482514c0a534Smrg { (exit 1); exit 1; }; }; } 482614c0a534Smrg 482714c0a534Smrg # echo "creating $dirpart/$file" 482814c0a534Smrg echo '# dummy' > "$dirpart/$file" 482914c0a534Smrg done 483014c0a534Smrgdone 483114c0a534Smrg ;; 483214c0a534Smrg esac 483314c0a534Smrgdone 483414c0a534Smrg_ACEOF 483514c0a534Smrg 483614c0a534Smrgcat >>$CONFIG_STATUS <<\_ACEOF 483714c0a534Smrg 483814c0a534Smrg{ (exit 0); exit 0; } 483914c0a534Smrg_ACEOF 484014c0a534Smrgchmod +x $CONFIG_STATUS 484114c0a534Smrgac_clean_files=$ac_clean_files_save 484214c0a534Smrg 484314c0a534Smrg 484414c0a534Smrg# configure is writing to config.log, and then calls config.status. 484514c0a534Smrg# config.status does its own redirection, appending to config.log. 484614c0a534Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 484714c0a534Smrg# by configure, so config.status won't be able to write to it; its 484814c0a534Smrg# output is simply discarded. So we exec the FD to /dev/null, 484914c0a534Smrg# effectively closing config.log, so it can be properly (re)opened and 485014c0a534Smrg# appended to by config.status. When coming back to configure, we 485114c0a534Smrg# need to make the FD available again. 485214c0a534Smrgif test "$no_create" != yes; then 485314c0a534Smrg ac_cs_success=: 485414c0a534Smrg ac_config_status_args= 485514c0a534Smrg test "$silent" = yes && 485614c0a534Smrg ac_config_status_args="$ac_config_status_args --quiet" 485714c0a534Smrg exec 5>/dev/null 485814c0a534Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 485914c0a534Smrg exec 5>>config.log 486014c0a534Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 486114c0a534Smrg # would make configure fail if this is the last instruction. 486214c0a534Smrg $ac_cs_success || { (exit 1); exit 1; } 486314c0a534Smrgfi 486414c0a534Smrg 4865