configure revision c19de146
1c19de146Smrg#! /bin/sh 2c19de146Smrg# Guess values for system-dependent variables and create Makefiles. 3c19de146Smrg# Generated by GNU Autoconf 2.59 for xbiff 1.0.1. 4c19de146Smrg# 5c19de146Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6c19de146Smrg# 7c19de146Smrg# Copyright (C) 2003 Free Software Foundation, Inc. 8c19de146Smrg# This configure script is free software; the Free Software Foundation 9c19de146Smrg# gives unlimited permission to copy, distribute and modify it. 10c19de146Smrg## --------------------- ## 11c19de146Smrg## M4sh Initialization. ## 12c19de146Smrg## --------------------- ## 13c19de146Smrg 14c19de146Smrg# Be Bourne compatible 15c19de146Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16c19de146Smrg emulate sh 17c19de146Smrg NULLCMD=: 18c19de146Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19c19de146Smrg # is contrary to our usage. Disable this feature. 20c19de146Smrg alias -g '${1+"$@"}'='"$@"' 21c19de146Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22c19de146Smrg set -o posix 23c19de146Smrgfi 24c19de146SmrgDUALCASE=1; export DUALCASE # for MKS sh 25c19de146Smrg 26c19de146Smrg# Support unset when possible. 27c19de146Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 28c19de146Smrg as_unset=unset 29c19de146Smrgelse 30c19de146Smrg as_unset=false 31c19de146Smrgfi 32c19de146Smrg 33c19de146Smrg 34c19de146Smrg# Work around bugs in pre-3.0 UWIN ksh. 35c19de146Smrg$as_unset ENV MAIL MAILPATH 36c19de146SmrgPS1='$ ' 37c19de146SmrgPS2='> ' 38c19de146SmrgPS4='+ ' 39c19de146Smrg 40c19de146Smrg# NLS nuisances. 41c19de146Smrgfor as_var in \ 42c19de146Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 43c19de146Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 44c19de146Smrg LC_TELEPHONE LC_TIME 45c19de146Smrgdo 46c19de146Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47c19de146Smrg eval $as_var=C; export $as_var 48c19de146Smrg else 49c19de146Smrg $as_unset $as_var 50c19de146Smrg fi 51c19de146Smrgdone 52c19de146Smrg 53c19de146Smrg# Required to use basename. 54c19de146Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 55c19de146Smrg as_expr=expr 56c19de146Smrgelse 57c19de146Smrg as_expr=false 58c19de146Smrgfi 59c19de146Smrg 60c19de146Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 61c19de146Smrg as_basename=basename 62c19de146Smrgelse 63c19de146Smrg as_basename=false 64c19de146Smrgfi 65c19de146Smrg 66c19de146Smrg 67c19de146Smrg# Name of the executable. 68c19de146Smrgas_me=`$as_basename "$0" || 69c19de146Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70c19de146Smrg X"$0" : 'X\(//\)$' \| \ 71c19de146Smrg X"$0" : 'X\(/\)$' \| \ 72c19de146Smrg . : '\(.\)' 2>/dev/null || 73c19de146Smrgecho X/"$0" | 74c19de146Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75c19de146Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 76c19de146Smrg /^X\/\(\/\).*/{ s//\1/; q; } 77c19de146Smrg s/.*/./; q'` 78c19de146Smrg 79c19de146Smrg 80c19de146Smrg# PATH needs CR, and LINENO needs CR and PATH. 81c19de146Smrg# Avoid depending upon Character Ranges. 82c19de146Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 83c19de146Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 84c19de146Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 85c19de146Smrgas_cr_digits='0123456789' 86c19de146Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 87c19de146Smrg 88c19de146Smrg# The user is always right. 89c19de146Smrgif test "${PATH_SEPARATOR+set}" != set; then 90c19de146Smrg echo "#! /bin/sh" >conf$$.sh 91c19de146Smrg echo "exit 0" >>conf$$.sh 92c19de146Smrg chmod +x conf$$.sh 93c19de146Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 94c19de146Smrg PATH_SEPARATOR=';' 95c19de146Smrg else 96c19de146Smrg PATH_SEPARATOR=: 97c19de146Smrg fi 98c19de146Smrg rm -f conf$$.sh 99c19de146Smrgfi 100c19de146Smrg 101c19de146Smrg 102c19de146Smrg as_lineno_1=$LINENO 103c19de146Smrg as_lineno_2=$LINENO 104c19de146Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 105c19de146Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 106c19de146Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 107c19de146Smrg # Find who we are. Look in the path if we contain no path at all 108c19de146Smrg # relative or not. 109c19de146Smrg case $0 in 110c19de146Smrg *[\\/]* ) as_myself=$0 ;; 111c19de146Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 112c19de146Smrgfor as_dir in $PATH 113c19de146Smrgdo 114c19de146Smrg IFS=$as_save_IFS 115c19de146Smrg test -z "$as_dir" && as_dir=. 116c19de146Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 117c19de146Smrgdone 118c19de146Smrg 119c19de146Smrg ;; 120c19de146Smrg esac 121c19de146Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 122c19de146Smrg # in which case we are not to be found in the path. 123c19de146Smrg if test "x$as_myself" = x; then 124c19de146Smrg as_myself=$0 125c19de146Smrg fi 126c19de146Smrg if test ! -f "$as_myself"; then 127c19de146Smrg { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 128c19de146Smrg { (exit 1); exit 1; }; } 129c19de146Smrg fi 130c19de146Smrg case $CONFIG_SHELL in 131c19de146Smrg '') 132c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 133c19de146Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 134c19de146Smrgdo 135c19de146Smrg IFS=$as_save_IFS 136c19de146Smrg test -z "$as_dir" && as_dir=. 137c19de146Smrg for as_base in sh bash ksh sh5; do 138c19de146Smrg case $as_dir in 139c19de146Smrg /*) 140c19de146Smrg if ("$as_dir/$as_base" -c ' 141c19de146Smrg as_lineno_1=$LINENO 142c19de146Smrg as_lineno_2=$LINENO 143c19de146Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 144c19de146Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 145c19de146Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 146c19de146Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 147c19de146Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 148c19de146Smrg CONFIG_SHELL=$as_dir/$as_base 149c19de146Smrg export CONFIG_SHELL 150c19de146Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 151c19de146Smrg fi;; 152c19de146Smrg esac 153c19de146Smrg done 154c19de146Smrgdone 155c19de146Smrg;; 156c19de146Smrg esac 157c19de146Smrg 158c19de146Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 159c19de146Smrg # uniformly replaced by the line number. The first 'sed' inserts a 160c19de146Smrg # line-number line before each line; the second 'sed' does the real 161c19de146Smrg # work. The second script uses 'N' to pair each line-number line 162c19de146Smrg # with the numbered line, and appends trailing '-' during 163c19de146Smrg # substitution so that $LINENO is not a special case at line end. 164c19de146Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 165c19de146Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 166c19de146Smrg sed '=' <$as_myself | 167c19de146Smrg sed ' 168c19de146Smrg N 169c19de146Smrg s,$,-, 170c19de146Smrg : loop 171c19de146Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 172c19de146Smrg t loop 173c19de146Smrg s,-$,, 174c19de146Smrg s,^['$as_cr_digits']*\n,, 175c19de146Smrg ' >$as_me.lineno && 176c19de146Smrg chmod +x $as_me.lineno || 177c19de146Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 178c19de146Smrg { (exit 1); exit 1; }; } 179c19de146Smrg 180c19de146Smrg # Don't try to exec as it changes $[0], causing all sort of problems 181c19de146Smrg # (the dirname of $[0] is not the place where we might find the 182c19de146Smrg # original and so on. Autoconf is especially sensible to this). 183c19de146Smrg . ./$as_me.lineno 184c19de146Smrg # Exit status is that of the last command. 185c19de146Smrg exit 186c19de146Smrg} 187c19de146Smrg 188c19de146Smrg 189c19de146Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 190c19de146Smrg *c*,-n*) ECHO_N= ECHO_C=' 191c19de146Smrg' ECHO_T=' ' ;; 192c19de146Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 193c19de146Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 194c19de146Smrgesac 195c19de146Smrg 196c19de146Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 197c19de146Smrg as_expr=expr 198c19de146Smrgelse 199c19de146Smrg as_expr=false 200c19de146Smrgfi 201c19de146Smrg 202c19de146Smrgrm -f conf$$ conf$$.exe conf$$.file 203c19de146Smrgecho >conf$$.file 204c19de146Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 205c19de146Smrg # We could just check for DJGPP; but this test a) works b) is more generic 206c19de146Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 207c19de146Smrg if test -f conf$$.exe; then 208c19de146Smrg # Don't use ln at all; we don't have any links 209c19de146Smrg as_ln_s='cp -p' 210c19de146Smrg else 211c19de146Smrg as_ln_s='ln -s' 212c19de146Smrg fi 213c19de146Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 214c19de146Smrg as_ln_s=ln 215c19de146Smrgelse 216c19de146Smrg as_ln_s='cp -p' 217c19de146Smrgfi 218c19de146Smrgrm -f conf$$ conf$$.exe conf$$.file 219c19de146Smrg 220c19de146Smrgif mkdir -p . 2>/dev/null; then 221c19de146Smrg as_mkdir_p=: 222c19de146Smrgelse 223c19de146Smrg test -d ./-p && rmdir ./-p 224c19de146Smrg as_mkdir_p=false 225c19de146Smrgfi 226c19de146Smrg 227c19de146Smrgas_executable_p="test -f" 228c19de146Smrg 229c19de146Smrg# Sed expression to map a string onto a valid CPP name. 230c19de146Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 231c19de146Smrg 232c19de146Smrg# Sed expression to map a string onto a valid variable name. 233c19de146Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 234c19de146Smrg 235c19de146Smrg 236c19de146Smrg# IFS 237c19de146Smrg# We need space, tab and new line, in precisely that order. 238c19de146Smrgas_nl=' 239c19de146Smrg' 240c19de146SmrgIFS=" $as_nl" 241c19de146Smrg 242c19de146Smrg# CDPATH. 243c19de146Smrg$as_unset CDPATH 244c19de146Smrg 245c19de146Smrg 246c19de146Smrg# Name of the host. 247c19de146Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 248c19de146Smrg# so uname gets run too. 249c19de146Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 250c19de146Smrg 251c19de146Smrgexec 6>&1 252c19de146Smrg 253c19de146Smrg# 254c19de146Smrg# Initializations. 255c19de146Smrg# 256c19de146Smrgac_default_prefix=/usr/local 257c19de146Smrgac_config_libobj_dir=. 258c19de146Smrgcross_compiling=no 259c19de146Smrgsubdirs= 260c19de146SmrgMFLAGS= 261c19de146SmrgMAKEFLAGS= 262c19de146SmrgSHELL=${CONFIG_SHELL-/bin/sh} 263c19de146Smrg 264c19de146Smrg# Maximum number of lines to put in a shell here document. 265c19de146Smrg# This variable seems obsolete. It should probably be removed, and 266c19de146Smrg# only ac_max_sed_lines should be used. 267c19de146Smrg: ${ac_max_here_lines=38} 268c19de146Smrg 269c19de146Smrg# Identity of this package. 270c19de146SmrgPACKAGE_NAME='xbiff' 271c19de146SmrgPACKAGE_TARNAME='xbiff' 272c19de146SmrgPACKAGE_VERSION='1.0.1' 273c19de146SmrgPACKAGE_STRING='xbiff 1.0.1' 274c19de146SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 275c19de146Smrg 276c19de146Smrgac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG ac_pt_PKG_CONFIG TMP_XAW_CFLAGS TMP_XAW_LIBS XAW_USE_XPRINT_TRUE XAW_USE_XPRINT_FALSE XBIFF_CFLAGS XBIFF_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' 277c19de146Smrgac_subst_files='' 278c19de146Smrg 279c19de146Smrg# Initialize some variables set by options. 280c19de146Smrgac_init_help= 281c19de146Smrgac_init_version=false 282c19de146Smrg# The variables have the same names as the options, with 283c19de146Smrg# dashes changed to underlines. 284c19de146Smrgcache_file=/dev/null 285c19de146Smrgexec_prefix=NONE 286c19de146Smrgno_create= 287c19de146Smrgno_recursion= 288c19de146Smrgprefix=NONE 289c19de146Smrgprogram_prefix=NONE 290c19de146Smrgprogram_suffix=NONE 291c19de146Smrgprogram_transform_name=s,x,x, 292c19de146Smrgsilent= 293c19de146Smrgsite= 294c19de146Smrgsrcdir= 295c19de146Smrgverbose= 296c19de146Smrgx_includes=NONE 297c19de146Smrgx_libraries=NONE 298c19de146Smrg 299c19de146Smrg# Installation directory options. 300c19de146Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 301c19de146Smrg# and all the variables that are supposed to be based on exec_prefix 302c19de146Smrg# by default will actually change. 303c19de146Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 304c19de146Smrgbindir='${exec_prefix}/bin' 305c19de146Smrgsbindir='${exec_prefix}/sbin' 306c19de146Smrglibexecdir='${exec_prefix}/libexec' 307c19de146Smrgdatadir='${prefix}/share' 308c19de146Smrgsysconfdir='${prefix}/etc' 309c19de146Smrgsharedstatedir='${prefix}/com' 310c19de146Smrglocalstatedir='${prefix}/var' 311c19de146Smrglibdir='${exec_prefix}/lib' 312c19de146Smrgincludedir='${prefix}/include' 313c19de146Smrgoldincludedir='/usr/include' 314c19de146Smrginfodir='${prefix}/info' 315c19de146Smrgmandir='${prefix}/man' 316c19de146Smrg 317c19de146Smrgac_prev= 318c19de146Smrgfor ac_option 319c19de146Smrgdo 320c19de146Smrg # If the previous option needs an argument, assign it. 321c19de146Smrg if test -n "$ac_prev"; then 322c19de146Smrg eval "$ac_prev=\$ac_option" 323c19de146Smrg ac_prev= 324c19de146Smrg continue 325c19de146Smrg fi 326c19de146Smrg 327c19de146Smrg ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 328c19de146Smrg 329c19de146Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 330c19de146Smrg 331c19de146Smrg case $ac_option in 332c19de146Smrg 333c19de146Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 334c19de146Smrg ac_prev=bindir ;; 335c19de146Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 336c19de146Smrg bindir=$ac_optarg ;; 337c19de146Smrg 338c19de146Smrg -build | --build | --buil | --bui | --bu) 339c19de146Smrg ac_prev=build_alias ;; 340c19de146Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 341c19de146Smrg build_alias=$ac_optarg ;; 342c19de146Smrg 343c19de146Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 344c19de146Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 345c19de146Smrg ac_prev=cache_file ;; 346c19de146Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 347c19de146Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 348c19de146Smrg cache_file=$ac_optarg ;; 349c19de146Smrg 350c19de146Smrg --config-cache | -C) 351c19de146Smrg cache_file=config.cache ;; 352c19de146Smrg 353c19de146Smrg -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 354c19de146Smrg ac_prev=datadir ;; 355c19de146Smrg -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 356c19de146Smrg | --da=*) 357c19de146Smrg datadir=$ac_optarg ;; 358c19de146Smrg 359c19de146Smrg -disable-* | --disable-*) 360c19de146Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 361c19de146Smrg # Reject names that are not valid shell variable names. 362c19de146Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 363c19de146Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 364c19de146Smrg { (exit 1); exit 1; }; } 365c19de146Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 366c19de146Smrg eval "enable_$ac_feature=no" ;; 367c19de146Smrg 368c19de146Smrg -enable-* | --enable-*) 369c19de146Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 370c19de146Smrg # Reject names that are not valid shell variable names. 371c19de146Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 372c19de146Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 373c19de146Smrg { (exit 1); exit 1; }; } 374c19de146Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 375c19de146Smrg case $ac_option in 376c19de146Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 377c19de146Smrg *) ac_optarg=yes ;; 378c19de146Smrg esac 379c19de146Smrg eval "enable_$ac_feature='$ac_optarg'" ;; 380c19de146Smrg 381c19de146Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 382c19de146Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 383c19de146Smrg | --exec | --exe | --ex) 384c19de146Smrg ac_prev=exec_prefix ;; 385c19de146Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 386c19de146Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 387c19de146Smrg | --exec=* | --exe=* | --ex=*) 388c19de146Smrg exec_prefix=$ac_optarg ;; 389c19de146Smrg 390c19de146Smrg -gas | --gas | --ga | --g) 391c19de146Smrg # Obsolete; use --with-gas. 392c19de146Smrg with_gas=yes ;; 393c19de146Smrg 394c19de146Smrg -help | --help | --hel | --he | -h) 395c19de146Smrg ac_init_help=long ;; 396c19de146Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 397c19de146Smrg ac_init_help=recursive ;; 398c19de146Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 399c19de146Smrg ac_init_help=short ;; 400c19de146Smrg 401c19de146Smrg -host | --host | --hos | --ho) 402c19de146Smrg ac_prev=host_alias ;; 403c19de146Smrg -host=* | --host=* | --hos=* | --ho=*) 404c19de146Smrg host_alias=$ac_optarg ;; 405c19de146Smrg 406c19de146Smrg -includedir | --includedir | --includedi | --included | --include \ 407c19de146Smrg | --includ | --inclu | --incl | --inc) 408c19de146Smrg ac_prev=includedir ;; 409c19de146Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 410c19de146Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 411c19de146Smrg includedir=$ac_optarg ;; 412c19de146Smrg 413c19de146Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 414c19de146Smrg ac_prev=infodir ;; 415c19de146Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 416c19de146Smrg infodir=$ac_optarg ;; 417c19de146Smrg 418c19de146Smrg -libdir | --libdir | --libdi | --libd) 419c19de146Smrg ac_prev=libdir ;; 420c19de146Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 421c19de146Smrg libdir=$ac_optarg ;; 422c19de146Smrg 423c19de146Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 424c19de146Smrg | --libexe | --libex | --libe) 425c19de146Smrg ac_prev=libexecdir ;; 426c19de146Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 427c19de146Smrg | --libexe=* | --libex=* | --libe=*) 428c19de146Smrg libexecdir=$ac_optarg ;; 429c19de146Smrg 430c19de146Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 431c19de146Smrg | --localstate | --localstat | --localsta | --localst \ 432c19de146Smrg | --locals | --local | --loca | --loc | --lo) 433c19de146Smrg ac_prev=localstatedir ;; 434c19de146Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 435c19de146Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 436c19de146Smrg | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 437c19de146Smrg localstatedir=$ac_optarg ;; 438c19de146Smrg 439c19de146Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 440c19de146Smrg ac_prev=mandir ;; 441c19de146Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 442c19de146Smrg mandir=$ac_optarg ;; 443c19de146Smrg 444c19de146Smrg -nfp | --nfp | --nf) 445c19de146Smrg # Obsolete; use --without-fp. 446c19de146Smrg with_fp=no ;; 447c19de146Smrg 448c19de146Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 449c19de146Smrg | --no-cr | --no-c | -n) 450c19de146Smrg no_create=yes ;; 451c19de146Smrg 452c19de146Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 453c19de146Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 454c19de146Smrg no_recursion=yes ;; 455c19de146Smrg 456c19de146Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 457c19de146Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 458c19de146Smrg | --oldin | --oldi | --old | --ol | --o) 459c19de146Smrg ac_prev=oldincludedir ;; 460c19de146Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 461c19de146Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 462c19de146Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 463c19de146Smrg oldincludedir=$ac_optarg ;; 464c19de146Smrg 465c19de146Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 466c19de146Smrg ac_prev=prefix ;; 467c19de146Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 468c19de146Smrg prefix=$ac_optarg ;; 469c19de146Smrg 470c19de146Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 471c19de146Smrg | --program-pre | --program-pr | --program-p) 472c19de146Smrg ac_prev=program_prefix ;; 473c19de146Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 474c19de146Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 475c19de146Smrg program_prefix=$ac_optarg ;; 476c19de146Smrg 477c19de146Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 478c19de146Smrg | --program-suf | --program-su | --program-s) 479c19de146Smrg ac_prev=program_suffix ;; 480c19de146Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 481c19de146Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 482c19de146Smrg program_suffix=$ac_optarg ;; 483c19de146Smrg 484c19de146Smrg -program-transform-name | --program-transform-name \ 485c19de146Smrg | --program-transform-nam | --program-transform-na \ 486c19de146Smrg | --program-transform-n | --program-transform- \ 487c19de146Smrg | --program-transform | --program-transfor \ 488c19de146Smrg | --program-transfo | --program-transf \ 489c19de146Smrg | --program-trans | --program-tran \ 490c19de146Smrg | --progr-tra | --program-tr | --program-t) 491c19de146Smrg ac_prev=program_transform_name ;; 492c19de146Smrg -program-transform-name=* | --program-transform-name=* \ 493c19de146Smrg | --program-transform-nam=* | --program-transform-na=* \ 494c19de146Smrg | --program-transform-n=* | --program-transform-=* \ 495c19de146Smrg | --program-transform=* | --program-transfor=* \ 496c19de146Smrg | --program-transfo=* | --program-transf=* \ 497c19de146Smrg | --program-trans=* | --program-tran=* \ 498c19de146Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 499c19de146Smrg program_transform_name=$ac_optarg ;; 500c19de146Smrg 501c19de146Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 502c19de146Smrg | -silent | --silent | --silen | --sile | --sil) 503c19de146Smrg silent=yes ;; 504c19de146Smrg 505c19de146Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 506c19de146Smrg ac_prev=sbindir ;; 507c19de146Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 508c19de146Smrg | --sbi=* | --sb=*) 509c19de146Smrg sbindir=$ac_optarg ;; 510c19de146Smrg 511c19de146Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 512c19de146Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 513c19de146Smrg | --sharedst | --shareds | --shared | --share | --shar \ 514c19de146Smrg | --sha | --sh) 515c19de146Smrg ac_prev=sharedstatedir ;; 516c19de146Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 517c19de146Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 518c19de146Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 519c19de146Smrg | --sha=* | --sh=*) 520c19de146Smrg sharedstatedir=$ac_optarg ;; 521c19de146Smrg 522c19de146Smrg -site | --site | --sit) 523c19de146Smrg ac_prev=site ;; 524c19de146Smrg -site=* | --site=* | --sit=*) 525c19de146Smrg site=$ac_optarg ;; 526c19de146Smrg 527c19de146Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 528c19de146Smrg ac_prev=srcdir ;; 529c19de146Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 530c19de146Smrg srcdir=$ac_optarg ;; 531c19de146Smrg 532c19de146Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 533c19de146Smrg | --syscon | --sysco | --sysc | --sys | --sy) 534c19de146Smrg ac_prev=sysconfdir ;; 535c19de146Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 536c19de146Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 537c19de146Smrg sysconfdir=$ac_optarg ;; 538c19de146Smrg 539c19de146Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 540c19de146Smrg ac_prev=target_alias ;; 541c19de146Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 542c19de146Smrg target_alias=$ac_optarg ;; 543c19de146Smrg 544c19de146Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 545c19de146Smrg verbose=yes ;; 546c19de146Smrg 547c19de146Smrg -version | --version | --versio | --versi | --vers | -V) 548c19de146Smrg ac_init_version=: ;; 549c19de146Smrg 550c19de146Smrg -with-* | --with-*) 551c19de146Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 552c19de146Smrg # Reject names that are not valid shell variable names. 553c19de146Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 554c19de146Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 555c19de146Smrg { (exit 1); exit 1; }; } 556c19de146Smrg ac_package=`echo $ac_package| sed 's/-/_/g'` 557c19de146Smrg case $ac_option in 558c19de146Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 559c19de146Smrg *) ac_optarg=yes ;; 560c19de146Smrg esac 561c19de146Smrg eval "with_$ac_package='$ac_optarg'" ;; 562c19de146Smrg 563c19de146Smrg -without-* | --without-*) 564c19de146Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 565c19de146Smrg # Reject names that are not valid shell variable names. 566c19de146Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 567c19de146Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 568c19de146Smrg { (exit 1); exit 1; }; } 569c19de146Smrg ac_package=`echo $ac_package | sed 's/-/_/g'` 570c19de146Smrg eval "with_$ac_package=no" ;; 571c19de146Smrg 572c19de146Smrg --x) 573c19de146Smrg # Obsolete; use --with-x. 574c19de146Smrg with_x=yes ;; 575c19de146Smrg 576c19de146Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 577c19de146Smrg | --x-incl | --x-inc | --x-in | --x-i) 578c19de146Smrg ac_prev=x_includes ;; 579c19de146Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 580c19de146Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 581c19de146Smrg x_includes=$ac_optarg ;; 582c19de146Smrg 583c19de146Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 584c19de146Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 585c19de146Smrg ac_prev=x_libraries ;; 586c19de146Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 587c19de146Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 588c19de146Smrg x_libraries=$ac_optarg ;; 589c19de146Smrg 590c19de146Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 591c19de146SmrgTry \`$0 --help' for more information." >&2 592c19de146Smrg { (exit 1); exit 1; }; } 593c19de146Smrg ;; 594c19de146Smrg 595c19de146Smrg *=*) 596c19de146Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 597c19de146Smrg # Reject names that are not valid shell variable names. 598c19de146Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 599c19de146Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 600c19de146Smrg { (exit 1); exit 1; }; } 601c19de146Smrg ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 602c19de146Smrg eval "$ac_envvar='$ac_optarg'" 603c19de146Smrg export $ac_envvar ;; 604c19de146Smrg 605c19de146Smrg *) 606c19de146Smrg # FIXME: should be removed in autoconf 3.0. 607c19de146Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 608c19de146Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 609c19de146Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 610c19de146Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 611c19de146Smrg ;; 612c19de146Smrg 613c19de146Smrg esac 614c19de146Smrgdone 615c19de146Smrg 616c19de146Smrgif test -n "$ac_prev"; then 617c19de146Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 618c19de146Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 619c19de146Smrg { (exit 1); exit 1; }; } 620c19de146Smrgfi 621c19de146Smrg 622c19de146Smrg# Be sure to have absolute paths. 623c19de146Smrgfor ac_var in exec_prefix prefix 624c19de146Smrgdo 625c19de146Smrg eval ac_val=$`echo $ac_var` 626c19de146Smrg case $ac_val in 627c19de146Smrg [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 628c19de146Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 629c19de146Smrg { (exit 1); exit 1; }; };; 630c19de146Smrg esac 631c19de146Smrgdone 632c19de146Smrg 633c19de146Smrg# Be sure to have absolute paths. 634c19de146Smrgfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 635c19de146Smrg localstatedir libdir includedir oldincludedir infodir mandir 636c19de146Smrgdo 637c19de146Smrg eval ac_val=$`echo $ac_var` 638c19de146Smrg case $ac_val in 639c19de146Smrg [\\/$]* | ?:[\\/]* ) ;; 640c19de146Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 641c19de146Smrg { (exit 1); exit 1; }; };; 642c19de146Smrg esac 643c19de146Smrgdone 644c19de146Smrg 645c19de146Smrg# There might be people who depend on the old broken behavior: `$host' 646c19de146Smrg# used to hold the argument of --host etc. 647c19de146Smrg# FIXME: To remove some day. 648c19de146Smrgbuild=$build_alias 649c19de146Smrghost=$host_alias 650c19de146Smrgtarget=$target_alias 651c19de146Smrg 652c19de146Smrg# FIXME: To remove some day. 653c19de146Smrgif test "x$host_alias" != x; then 654c19de146Smrg if test "x$build_alias" = x; then 655c19de146Smrg cross_compiling=maybe 656c19de146Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 657c19de146Smrg If a cross compiler is detected then cross compile mode will be used." >&2 658c19de146Smrg elif test "x$build_alias" != "x$host_alias"; then 659c19de146Smrg cross_compiling=yes 660c19de146Smrg fi 661c19de146Smrgfi 662c19de146Smrg 663c19de146Smrgac_tool_prefix= 664c19de146Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 665c19de146Smrg 666c19de146Smrgtest "$silent" = yes && exec 6>/dev/null 667c19de146Smrg 668c19de146Smrg 669c19de146Smrg# Find the source files, if location was not specified. 670c19de146Smrgif test -z "$srcdir"; then 671c19de146Smrg ac_srcdir_defaulted=yes 672c19de146Smrg # Try the directory containing this script, then its parent. 673c19de146Smrg ac_confdir=`(dirname "$0") 2>/dev/null || 674c19de146Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 675c19de146Smrg X"$0" : 'X\(//\)[^/]' \| \ 676c19de146Smrg X"$0" : 'X\(//\)$' \| \ 677c19de146Smrg X"$0" : 'X\(/\)' \| \ 678c19de146Smrg . : '\(.\)' 2>/dev/null || 679c19de146Smrgecho X"$0" | 680c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 681c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 682c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 683c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 684c19de146Smrg s/.*/./; q'` 685c19de146Smrg srcdir=$ac_confdir 686c19de146Smrg if test ! -r $srcdir/$ac_unique_file; then 687c19de146Smrg srcdir=.. 688c19de146Smrg fi 689c19de146Smrgelse 690c19de146Smrg ac_srcdir_defaulted=no 691c19de146Smrgfi 692c19de146Smrgif test ! -r $srcdir/$ac_unique_file; then 693c19de146Smrg if test "$ac_srcdir_defaulted" = yes; then 694c19de146Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 695c19de146Smrg { (exit 1); exit 1; }; } 696c19de146Smrg else 697c19de146Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 698c19de146Smrg { (exit 1); exit 1; }; } 699c19de146Smrg fi 700c19de146Smrgfi 701c19de146Smrg(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 702c19de146Smrg { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 703c19de146Smrg { (exit 1); exit 1; }; } 704c19de146Smrgsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 705c19de146Smrgac_env_build_alias_set=${build_alias+set} 706c19de146Smrgac_env_build_alias_value=$build_alias 707c19de146Smrgac_cv_env_build_alias_set=${build_alias+set} 708c19de146Smrgac_cv_env_build_alias_value=$build_alias 709c19de146Smrgac_env_host_alias_set=${host_alias+set} 710c19de146Smrgac_env_host_alias_value=$host_alias 711c19de146Smrgac_cv_env_host_alias_set=${host_alias+set} 712c19de146Smrgac_cv_env_host_alias_value=$host_alias 713c19de146Smrgac_env_target_alias_set=${target_alias+set} 714c19de146Smrgac_env_target_alias_value=$target_alias 715c19de146Smrgac_cv_env_target_alias_set=${target_alias+set} 716c19de146Smrgac_cv_env_target_alias_value=$target_alias 717c19de146Smrgac_env_CC_set=${CC+set} 718c19de146Smrgac_env_CC_value=$CC 719c19de146Smrgac_cv_env_CC_set=${CC+set} 720c19de146Smrgac_cv_env_CC_value=$CC 721c19de146Smrgac_env_CFLAGS_set=${CFLAGS+set} 722c19de146Smrgac_env_CFLAGS_value=$CFLAGS 723c19de146Smrgac_cv_env_CFLAGS_set=${CFLAGS+set} 724c19de146Smrgac_cv_env_CFLAGS_value=$CFLAGS 725c19de146Smrgac_env_LDFLAGS_set=${LDFLAGS+set} 726c19de146Smrgac_env_LDFLAGS_value=$LDFLAGS 727c19de146Smrgac_cv_env_LDFLAGS_set=${LDFLAGS+set} 728c19de146Smrgac_cv_env_LDFLAGS_value=$LDFLAGS 729c19de146Smrgac_env_CPPFLAGS_set=${CPPFLAGS+set} 730c19de146Smrgac_env_CPPFLAGS_value=$CPPFLAGS 731c19de146Smrgac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 732c19de146Smrgac_cv_env_CPPFLAGS_value=$CPPFLAGS 733c19de146Smrgac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 734c19de146Smrgac_env_PKG_CONFIG_value=$PKG_CONFIG 735c19de146Smrgac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 736c19de146Smrgac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 737c19de146Smrgac_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set} 738c19de146Smrgac_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS 739c19de146Smrgac_cv_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set} 740c19de146Smrgac_cv_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS 741c19de146Smrgac_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set} 742c19de146Smrgac_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS 743c19de146Smrgac_cv_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set} 744c19de146Smrgac_cv_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS 745c19de146Smrgac_env_XBIFF_CFLAGS_set=${XBIFF_CFLAGS+set} 746c19de146Smrgac_env_XBIFF_CFLAGS_value=$XBIFF_CFLAGS 747c19de146Smrgac_cv_env_XBIFF_CFLAGS_set=${XBIFF_CFLAGS+set} 748c19de146Smrgac_cv_env_XBIFF_CFLAGS_value=$XBIFF_CFLAGS 749c19de146Smrgac_env_XBIFF_LIBS_set=${XBIFF_LIBS+set} 750c19de146Smrgac_env_XBIFF_LIBS_value=$XBIFF_LIBS 751c19de146Smrgac_cv_env_XBIFF_LIBS_set=${XBIFF_LIBS+set} 752c19de146Smrgac_cv_env_XBIFF_LIBS_value=$XBIFF_LIBS 753c19de146Smrg 754c19de146Smrg# 755c19de146Smrg# Report the --help message. 756c19de146Smrg# 757c19de146Smrgif test "$ac_init_help" = "long"; then 758c19de146Smrg # Omit some internal or obsolete options to make the list less imposing. 759c19de146Smrg # This message is too long to be a string in the A/UX 3.1 sh. 760c19de146Smrg cat <<_ACEOF 761c19de146Smrg\`configure' configures xbiff 1.0.1 to adapt to many kinds of systems. 762c19de146Smrg 763c19de146SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 764c19de146Smrg 765c19de146SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 766c19de146SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 767c19de146Smrg 768c19de146SmrgDefaults for the options are specified in brackets. 769c19de146Smrg 770c19de146SmrgConfiguration: 771c19de146Smrg -h, --help display this help and exit 772c19de146Smrg --help=short display options specific to this package 773c19de146Smrg --help=recursive display the short help of all the included packages 774c19de146Smrg -V, --version display version information and exit 775c19de146Smrg -q, --quiet, --silent do not print \`checking...' messages 776c19de146Smrg --cache-file=FILE cache test results in FILE [disabled] 777c19de146Smrg -C, --config-cache alias for \`--cache-file=config.cache' 778c19de146Smrg -n, --no-create do not create output files 779c19de146Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 780c19de146Smrg 781c19de146Smrg_ACEOF 782c19de146Smrg 783c19de146Smrg cat <<_ACEOF 784c19de146SmrgInstallation directories: 785c19de146Smrg --prefix=PREFIX install architecture-independent files in PREFIX 786c19de146Smrg [$ac_default_prefix] 787c19de146Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 788c19de146Smrg [PREFIX] 789c19de146Smrg 790c19de146SmrgBy default, \`make install' will install all the files in 791c19de146Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 792c19de146Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 793c19de146Smrgfor instance \`--prefix=\$HOME'. 794c19de146Smrg 795c19de146SmrgFor better control, use the options below. 796c19de146Smrg 797c19de146SmrgFine tuning of the installation directories: 798c19de146Smrg --bindir=DIR user executables [EPREFIX/bin] 799c19de146Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 800c19de146Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 801c19de146Smrg --datadir=DIR read-only architecture-independent data [PREFIX/share] 802c19de146Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 803c19de146Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 804c19de146Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 805c19de146Smrg --libdir=DIR object code libraries [EPREFIX/lib] 806c19de146Smrg --includedir=DIR C header files [PREFIX/include] 807c19de146Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 808c19de146Smrg --infodir=DIR info documentation [PREFIX/info] 809c19de146Smrg --mandir=DIR man documentation [PREFIX/man] 810c19de146Smrg_ACEOF 811c19de146Smrg 812c19de146Smrg cat <<\_ACEOF 813c19de146Smrg 814c19de146SmrgProgram names: 815c19de146Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 816c19de146Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 817c19de146Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 818c19de146Smrg 819c19de146SmrgSystem types: 820c19de146Smrg --build=BUILD configure for building on BUILD [guessed] 821c19de146Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 822c19de146Smrg_ACEOF 823c19de146Smrgfi 824c19de146Smrg 825c19de146Smrgif test -n "$ac_init_help"; then 826c19de146Smrg case $ac_init_help in 827c19de146Smrg short | recursive ) echo "Configuration of xbiff 1.0.1:";; 828c19de146Smrg esac 829c19de146Smrg cat <<\_ACEOF 830c19de146Smrg 831c19de146SmrgOptional Features: 832c19de146Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 833c19de146Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 834c19de146Smrg --enable-maintainer-mode enable make rules and dependencies not useful 835c19de146Smrg (and sometimes confusing) to the casual installer 836c19de146Smrg --disable-dependency-tracking Speeds up one-time builds 837c19de146Smrg --enable-dependency-tracking Do not reject slow dependency extractors 838c19de146Smrg --enable-xprint Enable XPrint support 839c19de146Smrg 840c19de146SmrgOptional Packages: 841c19de146Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 842c19de146Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 843c19de146Smrg --with-release-version=STRING 844c19de146Smrg Use release version string in package name 845c19de146Smrg 846c19de146SmrgSome influential environment variables: 847c19de146Smrg CC C compiler command 848c19de146Smrg CFLAGS C compiler flags 849c19de146Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 850c19de146Smrg nonstandard directory <lib dir> 851c19de146Smrg CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 852c19de146Smrg headers in a nonstandard directory <include dir> 853c19de146Smrg PKG_CONFIG path to pkg-config utility 854c19de146Smrg TMP_XAW_CFLAGS 855c19de146Smrg C compiler flags for TMP_XAW, overriding pkg-config 856c19de146Smrg TMP_XAW_LIBS 857c19de146Smrg linker flags for TMP_XAW, overriding pkg-config 858c19de146Smrg XBIFF_CFLAGS 859c19de146Smrg C compiler flags for XBIFF, overriding pkg-config 860c19de146Smrg XBIFF_LIBS linker flags for XBIFF, overriding pkg-config 861c19de146Smrg 862c19de146SmrgUse these variables to override the choices made by `configure' or to help 863c19de146Smrgit to find libraries and programs with nonstandard names/locations. 864c19de146Smrg 865c19de146SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 866c19de146Smrg_ACEOF 867c19de146Smrgfi 868c19de146Smrg 869c19de146Smrgif test "$ac_init_help" = "recursive"; then 870c19de146Smrg # If there are subdirs, report their specific --help. 871c19de146Smrg ac_popdir=`pwd` 872c19de146Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 873c19de146Smrg test -d $ac_dir || continue 874c19de146Smrg ac_builddir=. 875c19de146Smrg 876c19de146Smrgif test "$ac_dir" != .; then 877c19de146Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 878c19de146Smrg # A "../" for each directory in $ac_dir_suffix. 879c19de146Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 880c19de146Smrgelse 881c19de146Smrg ac_dir_suffix= ac_top_builddir= 882c19de146Smrgfi 883c19de146Smrg 884c19de146Smrgcase $srcdir in 885c19de146Smrg .) # No --srcdir option. We are building in place. 886c19de146Smrg ac_srcdir=. 887c19de146Smrg if test -z "$ac_top_builddir"; then 888c19de146Smrg ac_top_srcdir=. 889c19de146Smrg else 890c19de146Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 891c19de146Smrg fi ;; 892c19de146Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 893c19de146Smrg ac_srcdir=$srcdir$ac_dir_suffix; 894c19de146Smrg ac_top_srcdir=$srcdir ;; 895c19de146Smrg *) # Relative path. 896c19de146Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 897c19de146Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 898c19de146Smrgesac 899c19de146Smrg 900c19de146Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 901c19de146Smrg# the directories may not exist. 902c19de146Smrgcase `pwd` in 903c19de146Smrg.) ac_abs_builddir="$ac_dir";; 904c19de146Smrg*) 905c19de146Smrg case "$ac_dir" in 906c19de146Smrg .) ac_abs_builddir=`pwd`;; 907c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 908c19de146Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 909c19de146Smrg esac;; 910c19de146Smrgesac 911c19de146Smrgcase $ac_abs_builddir in 912c19de146Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 913c19de146Smrg*) 914c19de146Smrg case ${ac_top_builddir}. in 915c19de146Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 916c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 917c19de146Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 918c19de146Smrg esac;; 919c19de146Smrgesac 920c19de146Smrgcase $ac_abs_builddir in 921c19de146Smrg.) ac_abs_srcdir=$ac_srcdir;; 922c19de146Smrg*) 923c19de146Smrg case $ac_srcdir in 924c19de146Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 925c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 926c19de146Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 927c19de146Smrg esac;; 928c19de146Smrgesac 929c19de146Smrgcase $ac_abs_builddir in 930c19de146Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 931c19de146Smrg*) 932c19de146Smrg case $ac_top_srcdir in 933c19de146Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 934c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 935c19de146Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 936c19de146Smrg esac;; 937c19de146Smrgesac 938c19de146Smrg 939c19de146Smrg cd $ac_dir 940c19de146Smrg # Check for guested configure; otherwise get Cygnus style configure. 941c19de146Smrg if test -f $ac_srcdir/configure.gnu; then 942c19de146Smrg echo 943c19de146Smrg $SHELL $ac_srcdir/configure.gnu --help=recursive 944c19de146Smrg elif test -f $ac_srcdir/configure; then 945c19de146Smrg echo 946c19de146Smrg $SHELL $ac_srcdir/configure --help=recursive 947c19de146Smrg elif test -f $ac_srcdir/configure.ac || 948c19de146Smrg test -f $ac_srcdir/configure.in; then 949c19de146Smrg echo 950c19de146Smrg $ac_configure --help 951c19de146Smrg else 952c19de146Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 953c19de146Smrg fi 954c19de146Smrg cd $ac_popdir 955c19de146Smrg done 956c19de146Smrgfi 957c19de146Smrg 958c19de146Smrgtest -n "$ac_init_help" && exit 0 959c19de146Smrgif $ac_init_version; then 960c19de146Smrg cat <<\_ACEOF 961c19de146Smrgxbiff configure 1.0.1 962c19de146Smrggenerated by GNU Autoconf 2.59 963c19de146Smrg 964c19de146SmrgCopyright (C) 2003 Free Software Foundation, Inc. 965c19de146SmrgThis configure script is free software; the Free Software Foundation 966c19de146Smrggives unlimited permission to copy, distribute and modify it. 967c19de146Smrg_ACEOF 968c19de146Smrg exit 0 969c19de146Smrgfi 970c19de146Smrgexec 5>config.log 971c19de146Smrgcat >&5 <<_ACEOF 972c19de146SmrgThis file contains any messages produced by compilers while 973c19de146Smrgrunning configure, to aid debugging if configure makes a mistake. 974c19de146Smrg 975c19de146SmrgIt was created by xbiff $as_me 1.0.1, which was 976c19de146Smrggenerated by GNU Autoconf 2.59. Invocation command line was 977c19de146Smrg 978c19de146Smrg $ $0 $@ 979c19de146Smrg 980c19de146Smrg_ACEOF 981c19de146Smrg{ 982c19de146Smrgcat <<_ASUNAME 983c19de146Smrg## --------- ## 984c19de146Smrg## Platform. ## 985c19de146Smrg## --------- ## 986c19de146Smrg 987c19de146Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 988c19de146Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 989c19de146Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 990c19de146Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 991c19de146Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 992c19de146Smrg 993c19de146Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 994c19de146Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 995c19de146Smrg 996c19de146Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 997c19de146Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 998c19de146Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 999c19de146Smrghostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1000c19de146Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1001c19de146Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1002c19de146Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1003c19de146Smrg 1004c19de146Smrg_ASUNAME 1005c19de146Smrg 1006c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1007c19de146Smrgfor as_dir in $PATH 1008c19de146Smrgdo 1009c19de146Smrg IFS=$as_save_IFS 1010c19de146Smrg test -z "$as_dir" && as_dir=. 1011c19de146Smrg echo "PATH: $as_dir" 1012c19de146Smrgdone 1013c19de146Smrg 1014c19de146Smrg} >&5 1015c19de146Smrg 1016c19de146Smrgcat >&5 <<_ACEOF 1017c19de146Smrg 1018c19de146Smrg 1019c19de146Smrg## ----------- ## 1020c19de146Smrg## Core tests. ## 1021c19de146Smrg## ----------- ## 1022c19de146Smrg 1023c19de146Smrg_ACEOF 1024c19de146Smrg 1025c19de146Smrg 1026c19de146Smrg# Keep a trace of the command line. 1027c19de146Smrg# Strip out --no-create and --no-recursion so they do not pile up. 1028c19de146Smrg# Strip out --silent because we don't want to record it for future runs. 1029c19de146Smrg# Also quote any args containing shell meta-characters. 1030c19de146Smrg# Make two passes to allow for proper duplicate-argument suppression. 1031c19de146Smrgac_configure_args= 1032c19de146Smrgac_configure_args0= 1033c19de146Smrgac_configure_args1= 1034c19de146Smrgac_sep= 1035c19de146Smrgac_must_keep_next=false 1036c19de146Smrgfor ac_pass in 1 2 1037c19de146Smrgdo 1038c19de146Smrg for ac_arg 1039c19de146Smrg do 1040c19de146Smrg case $ac_arg in 1041c19de146Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1042c19de146Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1043c19de146Smrg | -silent | --silent | --silen | --sile | --sil) 1044c19de146Smrg continue ;; 1045c19de146Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1046c19de146Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1047c19de146Smrg esac 1048c19de146Smrg case $ac_pass in 1049c19de146Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1050c19de146Smrg 2) 1051c19de146Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1052c19de146Smrg if test $ac_must_keep_next = true; then 1053c19de146Smrg ac_must_keep_next=false # Got value, back to normal. 1054c19de146Smrg else 1055c19de146Smrg case $ac_arg in 1056c19de146Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1057c19de146Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1058c19de146Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1059c19de146Smrg | -with-* | --with-* | -without-* | --without-* | --x) 1060c19de146Smrg case "$ac_configure_args0 " in 1061c19de146Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1062c19de146Smrg esac 1063c19de146Smrg ;; 1064c19de146Smrg -* ) ac_must_keep_next=true ;; 1065c19de146Smrg esac 1066c19de146Smrg fi 1067c19de146Smrg ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1068c19de146Smrg # Get rid of the leading space. 1069c19de146Smrg ac_sep=" " 1070c19de146Smrg ;; 1071c19de146Smrg esac 1072c19de146Smrg done 1073c19de146Smrgdone 1074c19de146Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1075c19de146Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1076c19de146Smrg 1077c19de146Smrg# When interrupted or exit'd, cleanup temporary files, and complete 1078c19de146Smrg# config.log. We remove comments because anyway the quotes in there 1079c19de146Smrg# would cause problems or look ugly. 1080c19de146Smrg# WARNING: Be sure not to use single quotes in there, as some shells, 1081c19de146Smrg# such as our DU 5.0 friend, will then `close' the trap. 1082c19de146Smrgtrap 'exit_status=$? 1083c19de146Smrg # Save into config.log some information that might help in debugging. 1084c19de146Smrg { 1085c19de146Smrg echo 1086c19de146Smrg 1087c19de146Smrg cat <<\_ASBOX 1088c19de146Smrg## ---------------- ## 1089c19de146Smrg## Cache variables. ## 1090c19de146Smrg## ---------------- ## 1091c19de146Smrg_ASBOX 1092c19de146Smrg echo 1093c19de146Smrg # The following way of writing the cache mishandles newlines in values, 1094c19de146Smrg{ 1095c19de146Smrg (set) 2>&1 | 1096c19de146Smrg case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1097c19de146Smrg *ac_space=\ *) 1098c19de146Smrg sed -n \ 1099c19de146Smrg "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1100c19de146Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1101c19de146Smrg ;; 1102c19de146Smrg *) 1103c19de146Smrg sed -n \ 1104c19de146Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1105c19de146Smrg ;; 1106c19de146Smrg esac; 1107c19de146Smrg} 1108c19de146Smrg echo 1109c19de146Smrg 1110c19de146Smrg cat <<\_ASBOX 1111c19de146Smrg## ----------------- ## 1112c19de146Smrg## Output variables. ## 1113c19de146Smrg## ----------------- ## 1114c19de146Smrg_ASBOX 1115c19de146Smrg echo 1116c19de146Smrg for ac_var in $ac_subst_vars 1117c19de146Smrg do 1118c19de146Smrg eval ac_val=$`echo $ac_var` 1119c19de146Smrg echo "$ac_var='"'"'$ac_val'"'"'" 1120c19de146Smrg done | sort 1121c19de146Smrg echo 1122c19de146Smrg 1123c19de146Smrg if test -n "$ac_subst_files"; then 1124c19de146Smrg cat <<\_ASBOX 1125c19de146Smrg## ------------- ## 1126c19de146Smrg## Output files. ## 1127c19de146Smrg## ------------- ## 1128c19de146Smrg_ASBOX 1129c19de146Smrg echo 1130c19de146Smrg for ac_var in $ac_subst_files 1131c19de146Smrg do 1132c19de146Smrg eval ac_val=$`echo $ac_var` 1133c19de146Smrg echo "$ac_var='"'"'$ac_val'"'"'" 1134c19de146Smrg done | sort 1135c19de146Smrg echo 1136c19de146Smrg fi 1137c19de146Smrg 1138c19de146Smrg if test -s confdefs.h; then 1139c19de146Smrg cat <<\_ASBOX 1140c19de146Smrg## ----------- ## 1141c19de146Smrg## confdefs.h. ## 1142c19de146Smrg## ----------- ## 1143c19de146Smrg_ASBOX 1144c19de146Smrg echo 1145c19de146Smrg sed "/^$/d" confdefs.h | sort 1146c19de146Smrg echo 1147c19de146Smrg fi 1148c19de146Smrg test "$ac_signal" != 0 && 1149c19de146Smrg echo "$as_me: caught signal $ac_signal" 1150c19de146Smrg echo "$as_me: exit $exit_status" 1151c19de146Smrg } >&5 1152c19de146Smrg rm -f core *.core && 1153c19de146Smrg rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1154c19de146Smrg exit $exit_status 1155c19de146Smrg ' 0 1156c19de146Smrgfor ac_signal in 1 2 13 15; do 1157c19de146Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1158c19de146Smrgdone 1159c19de146Smrgac_signal=0 1160c19de146Smrg 1161c19de146Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1162c19de146Smrgrm -rf conftest* confdefs.h 1163c19de146Smrg# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1164c19de146Smrgecho >confdefs.h 1165c19de146Smrg 1166c19de146Smrg# Predefined preprocessor variables. 1167c19de146Smrg 1168c19de146Smrgcat >>confdefs.h <<_ACEOF 1169c19de146Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 1170c19de146Smrg_ACEOF 1171c19de146Smrg 1172c19de146Smrg 1173c19de146Smrgcat >>confdefs.h <<_ACEOF 1174c19de146Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1175c19de146Smrg_ACEOF 1176c19de146Smrg 1177c19de146Smrg 1178c19de146Smrgcat >>confdefs.h <<_ACEOF 1179c19de146Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1180c19de146Smrg_ACEOF 1181c19de146Smrg 1182c19de146Smrg 1183c19de146Smrgcat >>confdefs.h <<_ACEOF 1184c19de146Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 1185c19de146Smrg_ACEOF 1186c19de146Smrg 1187c19de146Smrg 1188c19de146Smrgcat >>confdefs.h <<_ACEOF 1189c19de146Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1190c19de146Smrg_ACEOF 1191c19de146Smrg 1192c19de146Smrg 1193c19de146Smrg# Let the site file select an alternate cache file if it wants to. 1194c19de146Smrg# Prefer explicitly selected file to automatically selected ones. 1195c19de146Smrgif test -z "$CONFIG_SITE"; then 1196c19de146Smrg if test "x$prefix" != xNONE; then 1197c19de146Smrg CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1198c19de146Smrg else 1199c19de146Smrg CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1200c19de146Smrg fi 1201c19de146Smrgfi 1202c19de146Smrgfor ac_site_file in $CONFIG_SITE; do 1203c19de146Smrg if test -r "$ac_site_file"; then 1204c19de146Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1205c19de146Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 1206c19de146Smrg sed 's/^/| /' "$ac_site_file" >&5 1207c19de146Smrg . "$ac_site_file" 1208c19de146Smrg fi 1209c19de146Smrgdone 1210c19de146Smrg 1211c19de146Smrgif test -r "$cache_file"; then 1212c19de146Smrg # Some versions of bash will fail to source /dev/null (special 1213c19de146Smrg # files actually), so we avoid doing that. 1214c19de146Smrg if test -f "$cache_file"; then 1215c19de146Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1216c19de146Smrgecho "$as_me: loading cache $cache_file" >&6;} 1217c19de146Smrg case $cache_file in 1218c19de146Smrg [\\/]* | ?:[\\/]* ) . $cache_file;; 1219c19de146Smrg *) . ./$cache_file;; 1220c19de146Smrg esac 1221c19de146Smrg fi 1222c19de146Smrgelse 1223c19de146Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1224c19de146Smrgecho "$as_me: creating cache $cache_file" >&6;} 1225c19de146Smrg >$cache_file 1226c19de146Smrgfi 1227c19de146Smrg 1228c19de146Smrg# Check that the precious variables saved in the cache have kept the same 1229c19de146Smrg# value. 1230c19de146Smrgac_cache_corrupted=false 1231c19de146Smrgfor ac_var in `(set) 2>&1 | 1232c19de146Smrg sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1233c19de146Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1234c19de146Smrg eval ac_new_set=\$ac_env_${ac_var}_set 1235c19de146Smrg eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1236c19de146Smrg eval ac_new_val="\$ac_env_${ac_var}_value" 1237c19de146Smrg case $ac_old_set,$ac_new_set in 1238c19de146Smrg set,) 1239c19de146Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1240c19de146Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1241c19de146Smrg ac_cache_corrupted=: ;; 1242c19de146Smrg ,set) 1243c19de146Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1244c19de146Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1245c19de146Smrg ac_cache_corrupted=: ;; 1246c19de146Smrg ,);; 1247c19de146Smrg *) 1248c19de146Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 1249c19de146Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1250c19de146Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1251c19de146Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1252c19de146Smrgecho "$as_me: former value: $ac_old_val" >&2;} 1253c19de146Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1254c19de146Smrgecho "$as_me: current value: $ac_new_val" >&2;} 1255c19de146Smrg ac_cache_corrupted=: 1256c19de146Smrg fi;; 1257c19de146Smrg esac 1258c19de146Smrg # Pass precious variables to config.status. 1259c19de146Smrg if test "$ac_new_set" = set; then 1260c19de146Smrg case $ac_new_val in 1261c19de146Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1262c19de146Smrg ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1263c19de146Smrg *) ac_arg=$ac_var=$ac_new_val ;; 1264c19de146Smrg esac 1265c19de146Smrg case " $ac_configure_args " in 1266c19de146Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1267c19de146Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1268c19de146Smrg esac 1269c19de146Smrg fi 1270c19de146Smrgdone 1271c19de146Smrgif $ac_cache_corrupted; then 1272c19de146Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1273c19de146Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 1274c19de146Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1275c19de146Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1276c19de146Smrg { (exit 1); exit 1; }; } 1277c19de146Smrgfi 1278c19de146Smrg 1279c19de146Smrgac_ext=c 1280c19de146Smrgac_cpp='$CPP $CPPFLAGS' 1281c19de146Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1282c19de146Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1283c19de146Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1284c19de146Smrg 1285c19de146Smrg 1286c19de146Smrg 1287c19de146Smrg 1288c19de146Smrg 1289c19de146Smrg 1290c19de146Smrg 1291c19de146Smrg 1292c19de146Smrg 1293c19de146Smrg 1294c19de146Smrg 1295c19de146Smrg 1296c19de146Smrg 1297c19de146Smrg 1298c19de146Smrg 1299c19de146Smrg 1300c19de146Smrg 1301c19de146Smrg 1302c19de146Smrg 1303c19de146Smrg 1304c19de146Smrg 1305c19de146Smrg 1306c19de146Smrg 1307c19de146Smrg 1308c19de146Smrg 1309c19de146Smrg 1310c19de146Smrg 1311c19de146Smrgam__api_version="1.7" 1312c19de146Smrgac_aux_dir= 1313c19de146Smrgfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1314c19de146Smrg if test -f $ac_dir/install-sh; then 1315c19de146Smrg ac_aux_dir=$ac_dir 1316c19de146Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 1317c19de146Smrg break 1318c19de146Smrg elif test -f $ac_dir/install.sh; then 1319c19de146Smrg ac_aux_dir=$ac_dir 1320c19de146Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 1321c19de146Smrg break 1322c19de146Smrg elif test -f $ac_dir/shtool; then 1323c19de146Smrg ac_aux_dir=$ac_dir 1324c19de146Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 1325c19de146Smrg break 1326c19de146Smrg fi 1327c19de146Smrgdone 1328c19de146Smrgif test -z "$ac_aux_dir"; then 1329c19de146Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1330c19de146Smrgecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1331c19de146Smrg { (exit 1); exit 1; }; } 1332c19de146Smrgfi 1333c19de146Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" 1334c19de146Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" 1335c19de146Smrgac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1336c19de146Smrg 1337c19de146Smrg# Find a good install program. We prefer a C program (faster), 1338c19de146Smrg# so one script is as good as another. But avoid the broken or 1339c19de146Smrg# incompatible versions: 1340c19de146Smrg# SysV /etc/install, /usr/sbin/install 1341c19de146Smrg# SunOS /usr/etc/install 1342c19de146Smrg# IRIX /sbin/install 1343c19de146Smrg# AIX /bin/install 1344c19de146Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1345c19de146Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1346c19de146Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1347c19de146Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1348c19de146Smrg# OS/2's system install, which has a completely different semantic 1349c19de146Smrg# ./install, which can be erroneously created by make from ./install.sh. 1350c19de146Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1351c19de146Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1352c19de146Smrgif test -z "$INSTALL"; then 1353c19de146Smrgif test "${ac_cv_path_install+set}" = set; then 1354c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1355c19de146Smrgelse 1356c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1357c19de146Smrgfor as_dir in $PATH 1358c19de146Smrgdo 1359c19de146Smrg IFS=$as_save_IFS 1360c19de146Smrg test -z "$as_dir" && as_dir=. 1361c19de146Smrg # Account for people who put trailing slashes in PATH elements. 1362c19de146Smrgcase $as_dir/ in 1363c19de146Smrg ./ | .// | /cC/* | \ 1364c19de146Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1365c19de146Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1366c19de146Smrg /usr/ucb/* ) ;; 1367c19de146Smrg *) 1368c19de146Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 1369c19de146Smrg # Don't use installbsd from OSF since it installs stuff as root 1370c19de146Smrg # by default. 1371c19de146Smrg for ac_prog in ginstall scoinst install; do 1372c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1373c19de146Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1374c19de146Smrg if test $ac_prog = install && 1375c19de146Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1376c19de146Smrg # AIX install. It has an incompatible calling convention. 1377c19de146Smrg : 1378c19de146Smrg elif test $ac_prog = install && 1379c19de146Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1380c19de146Smrg # program-specific install script used by HP pwplus--don't use. 1381c19de146Smrg : 1382c19de146Smrg else 1383c19de146Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1384c19de146Smrg break 3 1385c19de146Smrg fi 1386c19de146Smrg fi 1387c19de146Smrg done 1388c19de146Smrg done 1389c19de146Smrg ;; 1390c19de146Smrgesac 1391c19de146Smrgdone 1392c19de146Smrg 1393c19de146Smrg 1394c19de146Smrgfi 1395c19de146Smrg if test "${ac_cv_path_install+set}" = set; then 1396c19de146Smrg INSTALL=$ac_cv_path_install 1397c19de146Smrg else 1398c19de146Smrg # As a last resort, use the slow shell script. We don't cache a 1399c19de146Smrg # path for INSTALL within a source directory, because that will 1400c19de146Smrg # break other packages using the cache if that directory is 1401c19de146Smrg # removed, or if the path is relative. 1402c19de146Smrg INSTALL=$ac_install_sh 1403c19de146Smrg fi 1404c19de146Smrgfi 1405c19de146Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 1406c19de146Smrgecho "${ECHO_T}$INSTALL" >&6 1407c19de146Smrg 1408c19de146Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1409c19de146Smrg# It thinks the first close brace ends the variable substitution. 1410c19de146Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1411c19de146Smrg 1412c19de146Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1413c19de146Smrg 1414c19de146Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1415c19de146Smrg 1416c19de146Smrgecho "$as_me:$LINENO: checking whether build environment is sane" >&5 1417c19de146Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1418c19de146Smrg# Just in case 1419c19de146Smrgsleep 1 1420c19de146Smrgecho timestamp > conftest.file 1421c19de146Smrg# Do `set' in a subshell so we don't clobber the current shell's 1422c19de146Smrg# arguments. Must try -L first in case configure is actually a 1423c19de146Smrg# symlink; some systems play weird games with the mod time of symlinks 1424c19de146Smrg# (eg FreeBSD returns the mod time of the symlink's containing 1425c19de146Smrg# directory). 1426c19de146Smrgif ( 1427c19de146Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1428c19de146Smrg if test "$*" = "X"; then 1429c19de146Smrg # -L didn't work. 1430c19de146Smrg set X `ls -t $srcdir/configure conftest.file` 1431c19de146Smrg fi 1432c19de146Smrg rm -f conftest.file 1433c19de146Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 1434c19de146Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 1435c19de146Smrg 1436c19de146Smrg # If neither matched, then we have a broken ls. This can happen 1437c19de146Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 1438c19de146Smrg # broken ls alias from the environment. This has actually 1439c19de146Smrg # happened. Such a system could not be considered "sane". 1440c19de146Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1441c19de146Smrgalias in your environment" >&5 1442c19de146Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1443c19de146Smrgalias in your environment" >&2;} 1444c19de146Smrg { (exit 1); exit 1; }; } 1445c19de146Smrg fi 1446c19de146Smrg 1447c19de146Smrg test "$2" = conftest.file 1448c19de146Smrg ) 1449c19de146Smrgthen 1450c19de146Smrg # Ok. 1451c19de146Smrg : 1452c19de146Smrgelse 1453c19de146Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1454c19de146SmrgCheck your system clock" >&5 1455c19de146Smrgecho "$as_me: error: newly created file is older than distributed files! 1456c19de146SmrgCheck your system clock" >&2;} 1457c19de146Smrg { (exit 1); exit 1; }; } 1458c19de146Smrgfi 1459c19de146Smrgecho "$as_me:$LINENO: result: yes" >&5 1460c19de146Smrgecho "${ECHO_T}yes" >&6 1461c19de146Smrgtest "$program_prefix" != NONE && 1462c19de146Smrg program_transform_name="s,^,$program_prefix,;$program_transform_name" 1463c19de146Smrg# Use a double $ so make ignores it. 1464c19de146Smrgtest "$program_suffix" != NONE && 1465c19de146Smrg program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1466c19de146Smrg# Double any \ or $. echo might interpret backslashes. 1467c19de146Smrg# By default was `s,x,x', remove it if useless. 1468c19de146Smrgcat <<\_ACEOF >conftest.sed 1469c19de146Smrgs/[\\$]/&&/g;s/;s,x,x,$// 1470c19de146Smrg_ACEOF 1471c19de146Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1472c19de146Smrgrm conftest.sed 1473c19de146Smrg 1474c19de146Smrg 1475c19de146Smrg# expand $ac_aux_dir to an absolute path 1476c19de146Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 1477c19de146Smrg 1478c19de146Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1479c19de146Smrg# Use eval to expand $SHELL 1480c19de146Smrgif eval "$MISSING --run true"; then 1481c19de146Smrg am_missing_run="$MISSING --run " 1482c19de146Smrgelse 1483c19de146Smrg am_missing_run= 1484c19de146Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1485c19de146Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1486c19de146Smrgfi 1487c19de146Smrg 1488c19de146Smrgfor ac_prog in gawk mawk nawk awk 1489c19de146Smrgdo 1490c19de146Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 1491c19de146Smrgset dummy $ac_prog; ac_word=$2 1492c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 1493c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1494c19de146Smrgif test "${ac_cv_prog_AWK+set}" = set; then 1495c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1496c19de146Smrgelse 1497c19de146Smrg if test -n "$AWK"; then 1498c19de146Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 1499c19de146Smrgelse 1500c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1501c19de146Smrgfor as_dir in $PATH 1502c19de146Smrgdo 1503c19de146Smrg IFS=$as_save_IFS 1504c19de146Smrg test -z "$as_dir" && as_dir=. 1505c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1506c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1507c19de146Smrg ac_cv_prog_AWK="$ac_prog" 1508c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1509c19de146Smrg break 2 1510c19de146Smrg fi 1511c19de146Smrgdone 1512c19de146Smrgdone 1513c19de146Smrg 1514c19de146Smrgfi 1515c19de146Smrgfi 1516c19de146SmrgAWK=$ac_cv_prog_AWK 1517c19de146Smrgif test -n "$AWK"; then 1518c19de146Smrg echo "$as_me:$LINENO: result: $AWK" >&5 1519c19de146Smrgecho "${ECHO_T}$AWK" >&6 1520c19de146Smrgelse 1521c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1522c19de146Smrgecho "${ECHO_T}no" >&6 1523c19de146Smrgfi 1524c19de146Smrg 1525c19de146Smrg test -n "$AWK" && break 1526c19de146Smrgdone 1527c19de146Smrg 1528c19de146Smrgecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1529c19de146Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1530c19de146Smrgset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1531c19de146Smrgif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1532c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1533c19de146Smrgelse 1534c19de146Smrg cat >conftest.make <<\_ACEOF 1535c19de146Smrgall: 1536c19de146Smrg @echo 'ac_maketemp="$(MAKE)"' 1537c19de146Smrg_ACEOF 1538c19de146Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1539c19de146Smrgeval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1540c19de146Smrgif test -n "$ac_maketemp"; then 1541c19de146Smrg eval ac_cv_prog_make_${ac_make}_set=yes 1542c19de146Smrgelse 1543c19de146Smrg eval ac_cv_prog_make_${ac_make}_set=no 1544c19de146Smrgfi 1545c19de146Smrgrm -f conftest.make 1546c19de146Smrgfi 1547c19de146Smrgif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1548c19de146Smrg echo "$as_me:$LINENO: result: yes" >&5 1549c19de146Smrgecho "${ECHO_T}yes" >&6 1550c19de146Smrg SET_MAKE= 1551c19de146Smrgelse 1552c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1553c19de146Smrgecho "${ECHO_T}no" >&6 1554c19de146Smrg SET_MAKE="MAKE=${MAKE-make}" 1555c19de146Smrgfi 1556c19de146Smrg 1557c19de146Smrgrm -rf .tst 2>/dev/null 1558c19de146Smrgmkdir .tst 2>/dev/null 1559c19de146Smrgif test -d .tst; then 1560c19de146Smrg am__leading_dot=. 1561c19de146Smrgelse 1562c19de146Smrg am__leading_dot=_ 1563c19de146Smrgfi 1564c19de146Smrgrmdir .tst 2>/dev/null 1565c19de146Smrg 1566c19de146Smrg # test to see if srcdir already configured 1567c19de146Smrgif test "`cd $srcdir && pwd`" != "`pwd`" && 1568c19de146Smrg test -f $srcdir/config.status; then 1569c19de146Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1570c19de146Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1571c19de146Smrg { (exit 1); exit 1; }; } 1572c19de146Smrgfi 1573c19de146Smrg 1574c19de146Smrg# test whether we have cygpath 1575c19de146Smrgif test -z "$CYGPATH_W"; then 1576c19de146Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 1577c19de146Smrg CYGPATH_W='cygpath -w' 1578c19de146Smrg else 1579c19de146Smrg CYGPATH_W=echo 1580c19de146Smrg fi 1581c19de146Smrgfi 1582c19de146Smrg 1583c19de146Smrg 1584c19de146Smrg# Define the identity of the package. 1585c19de146Smrg PACKAGE='xbiff' 1586c19de146Smrg VERSION='1.0.1' 1587c19de146Smrg 1588c19de146Smrg 1589c19de146Smrgcat >>confdefs.h <<_ACEOF 1590c19de146Smrg#define PACKAGE "$PACKAGE" 1591c19de146Smrg_ACEOF 1592c19de146Smrg 1593c19de146Smrg 1594c19de146Smrgcat >>confdefs.h <<_ACEOF 1595c19de146Smrg#define VERSION "$VERSION" 1596c19de146Smrg_ACEOF 1597c19de146Smrg 1598c19de146Smrg# Some tools Automake needs. 1599c19de146Smrg 1600c19de146SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1601c19de146Smrg 1602c19de146Smrg 1603c19de146SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1604c19de146Smrg 1605c19de146Smrg 1606c19de146SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1607c19de146Smrg 1608c19de146Smrg 1609c19de146SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1610c19de146Smrg 1611c19de146Smrg 1612c19de146SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1613c19de146Smrg 1614c19de146Smrg 1615c19de146SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 1616c19de146Smrg 1617c19de146Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"} 1618c19de146Smrg 1619c19de146Smrg# Installed binaries are usually stripped using `strip' when the user 1620c19de146Smrg# run `make install-strip'. However `strip' might not be the right 1621c19de146Smrg# tool to use in cross-compilation environments, therefore Automake 1622c19de146Smrg# will honor the `STRIP' environment variable to overrule this program. 1623c19de146Smrgif test "$cross_compiling" != no; then 1624c19de146Smrg if test -n "$ac_tool_prefix"; then 1625c19de146Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1626c19de146Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 1627c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 1628c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1629c19de146Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 1630c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1631c19de146Smrgelse 1632c19de146Smrg if test -n "$STRIP"; then 1633c19de146Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1634c19de146Smrgelse 1635c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1636c19de146Smrgfor as_dir in $PATH 1637c19de146Smrgdo 1638c19de146Smrg IFS=$as_save_IFS 1639c19de146Smrg test -z "$as_dir" && as_dir=. 1640c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1641c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1642c19de146Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1643c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1644c19de146Smrg break 2 1645c19de146Smrg fi 1646c19de146Smrgdone 1647c19de146Smrgdone 1648c19de146Smrg 1649c19de146Smrgfi 1650c19de146Smrgfi 1651c19de146SmrgSTRIP=$ac_cv_prog_STRIP 1652c19de146Smrgif test -n "$STRIP"; then 1653c19de146Smrg echo "$as_me:$LINENO: result: $STRIP" >&5 1654c19de146Smrgecho "${ECHO_T}$STRIP" >&6 1655c19de146Smrgelse 1656c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1657c19de146Smrgecho "${ECHO_T}no" >&6 1658c19de146Smrgfi 1659c19de146Smrg 1660c19de146Smrgfi 1661c19de146Smrgif test -z "$ac_cv_prog_STRIP"; then 1662c19de146Smrg ac_ct_STRIP=$STRIP 1663c19de146Smrg # Extract the first word of "strip", so it can be a program name with args. 1664c19de146Smrgset dummy strip; ac_word=$2 1665c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 1666c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1667c19de146Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1668c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1669c19de146Smrgelse 1670c19de146Smrg if test -n "$ac_ct_STRIP"; then 1671c19de146Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1672c19de146Smrgelse 1673c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1674c19de146Smrgfor as_dir in $PATH 1675c19de146Smrgdo 1676c19de146Smrg IFS=$as_save_IFS 1677c19de146Smrg test -z "$as_dir" && as_dir=. 1678c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1679c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1680c19de146Smrg ac_cv_prog_ac_ct_STRIP="strip" 1681c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1682c19de146Smrg break 2 1683c19de146Smrg fi 1684c19de146Smrgdone 1685c19de146Smrgdone 1686c19de146Smrg 1687c19de146Smrg test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1688c19de146Smrgfi 1689c19de146Smrgfi 1690c19de146Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1691c19de146Smrgif test -n "$ac_ct_STRIP"; then 1692c19de146Smrg echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1693c19de146Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6 1694c19de146Smrgelse 1695c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1696c19de146Smrgecho "${ECHO_T}no" >&6 1697c19de146Smrgfi 1698c19de146Smrg 1699c19de146Smrg STRIP=$ac_ct_STRIP 1700c19de146Smrgelse 1701c19de146Smrg STRIP="$ac_cv_prog_STRIP" 1702c19de146Smrgfi 1703c19de146Smrg 1704c19de146Smrgfi 1705c19de146SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1706c19de146Smrg 1707c19de146Smrg# We need awk for the "check" target. The system "awk" is bad on 1708c19de146Smrg# some platforms. 1709c19de146Smrg 1710c19de146Smrg 1711c19de146Smrg 1712c19de146Smrgecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 1713c19de146Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 1714c19de146Smrg # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1715c19de146Smrgif test "${enable_maintainer_mode+set}" = set; then 1716c19de146Smrg enableval="$enable_maintainer_mode" 1717c19de146Smrg USE_MAINTAINER_MODE=$enableval 1718c19de146Smrgelse 1719c19de146Smrg USE_MAINTAINER_MODE=no 1720c19de146Smrgfi; 1721c19de146Smrg echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 1722c19de146Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6 1723c19de146Smrg 1724c19de146Smrg 1725c19de146Smrgif test $USE_MAINTAINER_MODE = yes; then 1726c19de146Smrg MAINTAINER_MODE_TRUE= 1727c19de146Smrg MAINTAINER_MODE_FALSE='#' 1728c19de146Smrgelse 1729c19de146Smrg MAINTAINER_MODE_TRUE='#' 1730c19de146Smrg MAINTAINER_MODE_FALSE= 1731c19de146Smrgfi 1732c19de146Smrg 1733c19de146Smrg MAINT=$MAINTAINER_MODE_TRUE 1734c19de146Smrg 1735c19de146Smrg 1736c19de146Smrg 1737c19de146Smrg ac_config_headers="$ac_config_headers config.h" 1738c19de146Smrg 1739c19de146Smrg 1740c19de146Smrgac_ext=c 1741c19de146Smrgac_cpp='$CPP $CPPFLAGS' 1742c19de146Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1743c19de146Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1744c19de146Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1745c19de146Smrgif test -n "$ac_tool_prefix"; then 1746c19de146Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1747c19de146Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 1748c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 1749c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1750c19de146Smrgif test "${ac_cv_prog_CC+set}" = set; then 1751c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1752c19de146Smrgelse 1753c19de146Smrg if test -n "$CC"; then 1754c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 1755c19de146Smrgelse 1756c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1757c19de146Smrgfor as_dir in $PATH 1758c19de146Smrgdo 1759c19de146Smrg IFS=$as_save_IFS 1760c19de146Smrg test -z "$as_dir" && as_dir=. 1761c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1762c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1763c19de146Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 1764c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1765c19de146Smrg break 2 1766c19de146Smrg fi 1767c19de146Smrgdone 1768c19de146Smrgdone 1769c19de146Smrg 1770c19de146Smrgfi 1771c19de146Smrgfi 1772c19de146SmrgCC=$ac_cv_prog_CC 1773c19de146Smrgif test -n "$CC"; then 1774c19de146Smrg echo "$as_me:$LINENO: result: $CC" >&5 1775c19de146Smrgecho "${ECHO_T}$CC" >&6 1776c19de146Smrgelse 1777c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1778c19de146Smrgecho "${ECHO_T}no" >&6 1779c19de146Smrgfi 1780c19de146Smrg 1781c19de146Smrgfi 1782c19de146Smrgif test -z "$ac_cv_prog_CC"; then 1783c19de146Smrg ac_ct_CC=$CC 1784c19de146Smrg # Extract the first word of "gcc", so it can be a program name with args. 1785c19de146Smrgset dummy gcc; ac_word=$2 1786c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 1787c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1788c19de146Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1789c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1790c19de146Smrgelse 1791c19de146Smrg if test -n "$ac_ct_CC"; then 1792c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1793c19de146Smrgelse 1794c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1795c19de146Smrgfor as_dir in $PATH 1796c19de146Smrgdo 1797c19de146Smrg IFS=$as_save_IFS 1798c19de146Smrg test -z "$as_dir" && as_dir=. 1799c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1800c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1801c19de146Smrg ac_cv_prog_ac_ct_CC="gcc" 1802c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1803c19de146Smrg break 2 1804c19de146Smrg fi 1805c19de146Smrgdone 1806c19de146Smrgdone 1807c19de146Smrg 1808c19de146Smrgfi 1809c19de146Smrgfi 1810c19de146Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 1811c19de146Smrgif test -n "$ac_ct_CC"; then 1812c19de146Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1813c19de146Smrgecho "${ECHO_T}$ac_ct_CC" >&6 1814c19de146Smrgelse 1815c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1816c19de146Smrgecho "${ECHO_T}no" >&6 1817c19de146Smrgfi 1818c19de146Smrg 1819c19de146Smrg CC=$ac_ct_CC 1820c19de146Smrgelse 1821c19de146Smrg CC="$ac_cv_prog_CC" 1822c19de146Smrgfi 1823c19de146Smrg 1824c19de146Smrgif test -z "$CC"; then 1825c19de146Smrg if test -n "$ac_tool_prefix"; then 1826c19de146Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1827c19de146Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 1828c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 1829c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1830c19de146Smrgif test "${ac_cv_prog_CC+set}" = set; then 1831c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1832c19de146Smrgelse 1833c19de146Smrg if test -n "$CC"; then 1834c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 1835c19de146Smrgelse 1836c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1837c19de146Smrgfor as_dir in $PATH 1838c19de146Smrgdo 1839c19de146Smrg IFS=$as_save_IFS 1840c19de146Smrg test -z "$as_dir" && as_dir=. 1841c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1842c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1843c19de146Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 1844c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1845c19de146Smrg break 2 1846c19de146Smrg fi 1847c19de146Smrgdone 1848c19de146Smrgdone 1849c19de146Smrg 1850c19de146Smrgfi 1851c19de146Smrgfi 1852c19de146SmrgCC=$ac_cv_prog_CC 1853c19de146Smrgif test -n "$CC"; then 1854c19de146Smrg echo "$as_me:$LINENO: result: $CC" >&5 1855c19de146Smrgecho "${ECHO_T}$CC" >&6 1856c19de146Smrgelse 1857c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1858c19de146Smrgecho "${ECHO_T}no" >&6 1859c19de146Smrgfi 1860c19de146Smrg 1861c19de146Smrgfi 1862c19de146Smrgif test -z "$ac_cv_prog_CC"; then 1863c19de146Smrg ac_ct_CC=$CC 1864c19de146Smrg # Extract the first word of "cc", so it can be a program name with args. 1865c19de146Smrgset dummy cc; ac_word=$2 1866c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 1867c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1868c19de146Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1869c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1870c19de146Smrgelse 1871c19de146Smrg if test -n "$ac_ct_CC"; then 1872c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1873c19de146Smrgelse 1874c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1875c19de146Smrgfor as_dir in $PATH 1876c19de146Smrgdo 1877c19de146Smrg IFS=$as_save_IFS 1878c19de146Smrg test -z "$as_dir" && as_dir=. 1879c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1880c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1881c19de146Smrg ac_cv_prog_ac_ct_CC="cc" 1882c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1883c19de146Smrg break 2 1884c19de146Smrg fi 1885c19de146Smrgdone 1886c19de146Smrgdone 1887c19de146Smrg 1888c19de146Smrgfi 1889c19de146Smrgfi 1890c19de146Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 1891c19de146Smrgif test -n "$ac_ct_CC"; then 1892c19de146Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1893c19de146Smrgecho "${ECHO_T}$ac_ct_CC" >&6 1894c19de146Smrgelse 1895c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1896c19de146Smrgecho "${ECHO_T}no" >&6 1897c19de146Smrgfi 1898c19de146Smrg 1899c19de146Smrg CC=$ac_ct_CC 1900c19de146Smrgelse 1901c19de146Smrg CC="$ac_cv_prog_CC" 1902c19de146Smrgfi 1903c19de146Smrg 1904c19de146Smrgfi 1905c19de146Smrgif test -z "$CC"; then 1906c19de146Smrg # Extract the first word of "cc", so it can be a program name with args. 1907c19de146Smrgset dummy cc; ac_word=$2 1908c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 1909c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1910c19de146Smrgif test "${ac_cv_prog_CC+set}" = set; then 1911c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1912c19de146Smrgelse 1913c19de146Smrg if test -n "$CC"; then 1914c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 1915c19de146Smrgelse 1916c19de146Smrg ac_prog_rejected=no 1917c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1918c19de146Smrgfor as_dir in $PATH 1919c19de146Smrgdo 1920c19de146Smrg IFS=$as_save_IFS 1921c19de146Smrg test -z "$as_dir" && as_dir=. 1922c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1923c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1924c19de146Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1925c19de146Smrg ac_prog_rejected=yes 1926c19de146Smrg continue 1927c19de146Smrg fi 1928c19de146Smrg ac_cv_prog_CC="cc" 1929c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1930c19de146Smrg break 2 1931c19de146Smrg fi 1932c19de146Smrgdone 1933c19de146Smrgdone 1934c19de146Smrg 1935c19de146Smrgif test $ac_prog_rejected = yes; then 1936c19de146Smrg # We found a bogon in the path, so make sure we never use it. 1937c19de146Smrg set dummy $ac_cv_prog_CC 1938c19de146Smrg shift 1939c19de146Smrg if test $# != 0; then 1940c19de146Smrg # We chose a different compiler from the bogus one. 1941c19de146Smrg # However, it has the same basename, so the bogon will be chosen 1942c19de146Smrg # first if we set CC to just the basename; use the full file name. 1943c19de146Smrg shift 1944c19de146Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1945c19de146Smrg fi 1946c19de146Smrgfi 1947c19de146Smrgfi 1948c19de146Smrgfi 1949c19de146SmrgCC=$ac_cv_prog_CC 1950c19de146Smrgif test -n "$CC"; then 1951c19de146Smrg echo "$as_me:$LINENO: result: $CC" >&5 1952c19de146Smrgecho "${ECHO_T}$CC" >&6 1953c19de146Smrgelse 1954c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1955c19de146Smrgecho "${ECHO_T}no" >&6 1956c19de146Smrgfi 1957c19de146Smrg 1958c19de146Smrgfi 1959c19de146Smrgif test -z "$CC"; then 1960c19de146Smrg if test -n "$ac_tool_prefix"; then 1961c19de146Smrg for ac_prog in cl 1962c19de146Smrg do 1963c19de146Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1964c19de146Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 1965c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 1966c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1967c19de146Smrgif test "${ac_cv_prog_CC+set}" = set; then 1968c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 1969c19de146Smrgelse 1970c19de146Smrg if test -n "$CC"; then 1971c19de146Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 1972c19de146Smrgelse 1973c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1974c19de146Smrgfor as_dir in $PATH 1975c19de146Smrgdo 1976c19de146Smrg IFS=$as_save_IFS 1977c19de146Smrg test -z "$as_dir" && as_dir=. 1978c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 1979c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1980c19de146Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1981c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1982c19de146Smrg break 2 1983c19de146Smrg fi 1984c19de146Smrgdone 1985c19de146Smrgdone 1986c19de146Smrg 1987c19de146Smrgfi 1988c19de146Smrgfi 1989c19de146SmrgCC=$ac_cv_prog_CC 1990c19de146Smrgif test -n "$CC"; then 1991c19de146Smrg echo "$as_me:$LINENO: result: $CC" >&5 1992c19de146Smrgecho "${ECHO_T}$CC" >&6 1993c19de146Smrgelse 1994c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 1995c19de146Smrgecho "${ECHO_T}no" >&6 1996c19de146Smrgfi 1997c19de146Smrg 1998c19de146Smrg test -n "$CC" && break 1999c19de146Smrg done 2000c19de146Smrgfi 2001c19de146Smrgif test -z "$CC"; then 2002c19de146Smrg ac_ct_CC=$CC 2003c19de146Smrg for ac_prog in cl 2004c19de146Smrgdo 2005c19de146Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2006c19de146Smrgset dummy $ac_prog; ac_word=$2 2007c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 2008c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2009c19de146Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2010c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 2011c19de146Smrgelse 2012c19de146Smrg if test -n "$ac_ct_CC"; then 2013c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2014c19de146Smrgelse 2015c19de146Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2016c19de146Smrgfor as_dir in $PATH 2017c19de146Smrgdo 2018c19de146Smrg IFS=$as_save_IFS 2019c19de146Smrg test -z "$as_dir" && as_dir=. 2020c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2021c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2022c19de146Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 2023c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2024c19de146Smrg break 2 2025c19de146Smrg fi 2026c19de146Smrgdone 2027c19de146Smrgdone 2028c19de146Smrg 2029c19de146Smrgfi 2030c19de146Smrgfi 2031c19de146Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2032c19de146Smrgif test -n "$ac_ct_CC"; then 2033c19de146Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2034c19de146Smrgecho "${ECHO_T}$ac_ct_CC" >&6 2035c19de146Smrgelse 2036c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 2037c19de146Smrgecho "${ECHO_T}no" >&6 2038c19de146Smrgfi 2039c19de146Smrg 2040c19de146Smrg test -n "$ac_ct_CC" && break 2041c19de146Smrgdone 2042c19de146Smrg 2043c19de146Smrg CC=$ac_ct_CC 2044c19de146Smrgfi 2045c19de146Smrg 2046c19de146Smrgfi 2047c19de146Smrg 2048c19de146Smrg 2049c19de146Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2050c19de146SmrgSee \`config.log' for more details." >&5 2051c19de146Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 2052c19de146SmrgSee \`config.log' for more details." >&2;} 2053c19de146Smrg { (exit 1); exit 1; }; } 2054c19de146Smrg 2055c19de146Smrg# Provide some information about the compiler. 2056c19de146Smrgecho "$as_me:$LINENO:" \ 2057c19de146Smrg "checking for C compiler version" >&5 2058c19de146Smrgac_compiler=`set X $ac_compile; echo $2` 2059c19de146Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2060c19de146Smrg (eval $ac_compiler --version </dev/null >&5) 2>&5 2061c19de146Smrg ac_status=$? 2062c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2063c19de146Smrg (exit $ac_status); } 2064c19de146Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2065c19de146Smrg (eval $ac_compiler -v </dev/null >&5) 2>&5 2066c19de146Smrg ac_status=$? 2067c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2068c19de146Smrg (exit $ac_status); } 2069c19de146Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2070c19de146Smrg (eval $ac_compiler -V </dev/null >&5) 2>&5 2071c19de146Smrg ac_status=$? 2072c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2073c19de146Smrg (exit $ac_status); } 2074c19de146Smrg 2075c19de146Smrgcat >conftest.$ac_ext <<_ACEOF 2076c19de146Smrg/* confdefs.h. */ 2077c19de146Smrg_ACEOF 2078c19de146Smrgcat confdefs.h >>conftest.$ac_ext 2079c19de146Smrgcat >>conftest.$ac_ext <<_ACEOF 2080c19de146Smrg/* end confdefs.h. */ 2081c19de146Smrg 2082c19de146Smrgint 2083c19de146Smrgmain () 2084c19de146Smrg{ 2085c19de146Smrg 2086c19de146Smrg ; 2087c19de146Smrg return 0; 2088c19de146Smrg} 2089c19de146Smrg_ACEOF 2090c19de146Smrgac_clean_files_save=$ac_clean_files 2091c19de146Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 2092c19de146Smrg# Try to create an executable without -o first, disregard a.out. 2093c19de146Smrg# It will help us diagnose broken compilers, and finding out an intuition 2094c19de146Smrg# of exeext. 2095c19de146Smrgecho "$as_me:$LINENO: checking for C compiler default output file name" >&5 2096c19de146Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2097c19de146Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2098c19de146Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2099c19de146Smrg (eval $ac_link_default) 2>&5 2100c19de146Smrg ac_status=$? 2101c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2102c19de146Smrg (exit $ac_status); }; then 2103c19de146Smrg # Find the output, starting from the most likely. This scheme is 2104c19de146Smrg# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2105c19de146Smrg# resort. 2106c19de146Smrg 2107c19de146Smrg# Be careful to initialize this variable, since it used to be cached. 2108c19de146Smrg# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2109c19de146Smrgac_cv_exeext= 2110c19de146Smrg# b.out is created by i960 compilers. 2111c19de146Smrgfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2112c19de146Smrgdo 2113c19de146Smrg test -f "$ac_file" || continue 2114c19de146Smrg case $ac_file in 2115c19de146Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2116c19de146Smrg ;; 2117c19de146Smrg conftest.$ac_ext ) 2118c19de146Smrg # This is the source file. 2119c19de146Smrg ;; 2120c19de146Smrg [ab].out ) 2121c19de146Smrg # We found the default executable, but exeext='' is most 2122c19de146Smrg # certainly right. 2123c19de146Smrg break;; 2124c19de146Smrg *.* ) 2125c19de146Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2126c19de146Smrg # FIXME: I believe we export ac_cv_exeext for Libtool, 2127c19de146Smrg # but it would be cool to find out if it's true. Does anybody 2128c19de146Smrg # maintain Libtool? --akim. 2129c19de146Smrg export ac_cv_exeext 2130c19de146Smrg break;; 2131c19de146Smrg * ) 2132c19de146Smrg break;; 2133c19de146Smrg esac 2134c19de146Smrgdone 2135c19de146Smrgelse 2136c19de146Smrg echo "$as_me: failed program was:" >&5 2137c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 2138c19de146Smrg 2139c19de146Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2140c19de146SmrgSee \`config.log' for more details." >&5 2141c19de146Smrgecho "$as_me: error: C compiler cannot create executables 2142c19de146SmrgSee \`config.log' for more details." >&2;} 2143c19de146Smrg { (exit 77); exit 77; }; } 2144c19de146Smrgfi 2145c19de146Smrg 2146c19de146Smrgac_exeext=$ac_cv_exeext 2147c19de146Smrgecho "$as_me:$LINENO: result: $ac_file" >&5 2148c19de146Smrgecho "${ECHO_T}$ac_file" >&6 2149c19de146Smrg 2150c19de146Smrg# Check the compiler produces executables we can run. If not, either 2151c19de146Smrg# the compiler is broken, or we cross compile. 2152c19de146Smrgecho "$as_me:$LINENO: checking whether the C compiler works" >&5 2153c19de146Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2154c19de146Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2155c19de146Smrg# If not cross compiling, check that we can run a simple program. 2156c19de146Smrgif test "$cross_compiling" != yes; then 2157c19de146Smrg if { ac_try='./$ac_file' 2158c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2159c19de146Smrg (eval $ac_try) 2>&5 2160c19de146Smrg ac_status=$? 2161c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2162c19de146Smrg (exit $ac_status); }; }; then 2163c19de146Smrg cross_compiling=no 2164c19de146Smrg else 2165c19de146Smrg if test "$cross_compiling" = maybe; then 2166c19de146Smrg cross_compiling=yes 2167c19de146Smrg else 2168c19de146Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2169c19de146SmrgIf you meant to cross compile, use \`--host'. 2170c19de146SmrgSee \`config.log' for more details." >&5 2171c19de146Smrgecho "$as_me: error: cannot run C compiled programs. 2172c19de146SmrgIf you meant to cross compile, use \`--host'. 2173c19de146SmrgSee \`config.log' for more details." >&2;} 2174c19de146Smrg { (exit 1); exit 1; }; } 2175c19de146Smrg fi 2176c19de146Smrg fi 2177c19de146Smrgfi 2178c19de146Smrgecho "$as_me:$LINENO: result: yes" >&5 2179c19de146Smrgecho "${ECHO_T}yes" >&6 2180c19de146Smrg 2181c19de146Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 2182c19de146Smrgac_clean_files=$ac_clean_files_save 2183c19de146Smrg# Check the compiler produces executables we can run. If not, either 2184c19de146Smrg# the compiler is broken, or we cross compile. 2185c19de146Smrgecho "$as_me:$LINENO: checking whether we are cross compiling" >&5 2186c19de146Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2187c19de146Smrgecho "$as_me:$LINENO: result: $cross_compiling" >&5 2188c19de146Smrgecho "${ECHO_T}$cross_compiling" >&6 2189c19de146Smrg 2190c19de146Smrgecho "$as_me:$LINENO: checking for suffix of executables" >&5 2191c19de146Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2192c19de146Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2193c19de146Smrg (eval $ac_link) 2>&5 2194c19de146Smrg ac_status=$? 2195c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2196c19de146Smrg (exit $ac_status); }; then 2197c19de146Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 2198c19de146Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2199c19de146Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 2200c19de146Smrg# `rm'. 2201c19de146Smrgfor ac_file in conftest.exe conftest conftest.*; do 2202c19de146Smrg test -f "$ac_file" || continue 2203c19de146Smrg case $ac_file in 2204c19de146Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2205c19de146Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2206c19de146Smrg export ac_cv_exeext 2207c19de146Smrg break;; 2208c19de146Smrg * ) break;; 2209c19de146Smrg esac 2210c19de146Smrgdone 2211c19de146Smrgelse 2212c19de146Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2213c19de146SmrgSee \`config.log' for more details." >&5 2214c19de146Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 2215c19de146SmrgSee \`config.log' for more details." >&2;} 2216c19de146Smrg { (exit 1); exit 1; }; } 2217c19de146Smrgfi 2218c19de146Smrg 2219c19de146Smrgrm -f conftest$ac_cv_exeext 2220c19de146Smrgecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2221c19de146Smrgecho "${ECHO_T}$ac_cv_exeext" >&6 2222c19de146Smrg 2223c19de146Smrgrm -f conftest.$ac_ext 2224c19de146SmrgEXEEXT=$ac_cv_exeext 2225c19de146Smrgac_exeext=$EXEEXT 2226c19de146Smrgecho "$as_me:$LINENO: checking for suffix of object files" >&5 2227c19de146Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2228c19de146Smrgif test "${ac_cv_objext+set}" = set; then 2229c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 2230c19de146Smrgelse 2231c19de146Smrg cat >conftest.$ac_ext <<_ACEOF 2232c19de146Smrg/* confdefs.h. */ 2233c19de146Smrg_ACEOF 2234c19de146Smrgcat confdefs.h >>conftest.$ac_ext 2235c19de146Smrgcat >>conftest.$ac_ext <<_ACEOF 2236c19de146Smrg/* end confdefs.h. */ 2237c19de146Smrg 2238c19de146Smrgint 2239c19de146Smrgmain () 2240c19de146Smrg{ 2241c19de146Smrg 2242c19de146Smrg ; 2243c19de146Smrg return 0; 2244c19de146Smrg} 2245c19de146Smrg_ACEOF 2246c19de146Smrgrm -f conftest.o conftest.obj 2247c19de146Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2248c19de146Smrg (eval $ac_compile) 2>&5 2249c19de146Smrg ac_status=$? 2250c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2251c19de146Smrg (exit $ac_status); }; then 2252c19de146Smrg for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2253c19de146Smrg case $ac_file in 2254c19de146Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2255c19de146Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2256c19de146Smrg break;; 2257c19de146Smrg esac 2258c19de146Smrgdone 2259c19de146Smrgelse 2260c19de146Smrg echo "$as_me: failed program was:" >&5 2261c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 2262c19de146Smrg 2263c19de146Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2264c19de146SmrgSee \`config.log' for more details." >&5 2265c19de146Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 2266c19de146SmrgSee \`config.log' for more details." >&2;} 2267c19de146Smrg { (exit 1); exit 1; }; } 2268c19de146Smrgfi 2269c19de146Smrg 2270c19de146Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 2271c19de146Smrgfi 2272c19de146Smrgecho "$as_me:$LINENO: result: $ac_cv_objext" >&5 2273c19de146Smrgecho "${ECHO_T}$ac_cv_objext" >&6 2274c19de146SmrgOBJEXT=$ac_cv_objext 2275c19de146Smrgac_objext=$OBJEXT 2276c19de146Smrgecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2277c19de146Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2278c19de146Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 2279c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 2280c19de146Smrgelse 2281c19de146Smrg cat >conftest.$ac_ext <<_ACEOF 2282c19de146Smrg/* confdefs.h. */ 2283c19de146Smrg_ACEOF 2284c19de146Smrgcat confdefs.h >>conftest.$ac_ext 2285c19de146Smrgcat >>conftest.$ac_ext <<_ACEOF 2286c19de146Smrg/* end confdefs.h. */ 2287c19de146Smrg 2288c19de146Smrgint 2289c19de146Smrgmain () 2290c19de146Smrg{ 2291c19de146Smrg#ifndef __GNUC__ 2292c19de146Smrg choke me 2293c19de146Smrg#endif 2294c19de146Smrg 2295c19de146Smrg ; 2296c19de146Smrg return 0; 2297c19de146Smrg} 2298c19de146Smrg_ACEOF 2299c19de146Smrgrm -f conftest.$ac_objext 2300c19de146Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2301c19de146Smrg (eval $ac_compile) 2>conftest.er1 2302c19de146Smrg ac_status=$? 2303c19de146Smrg grep -v '^ *+' conftest.er1 >conftest.err 2304c19de146Smrg rm -f conftest.er1 2305c19de146Smrg cat conftest.err >&5 2306c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2307c19de146Smrg (exit $ac_status); } && 2308c19de146Smrg { ac_try='test -z "$ac_c_werror_flag" 2309c19de146Smrg || test ! -s conftest.err' 2310c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2311c19de146Smrg (eval $ac_try) 2>&5 2312c19de146Smrg ac_status=$? 2313c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2314c19de146Smrg (exit $ac_status); }; } && 2315c19de146Smrg { ac_try='test -s conftest.$ac_objext' 2316c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2317c19de146Smrg (eval $ac_try) 2>&5 2318c19de146Smrg ac_status=$? 2319c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2320c19de146Smrg (exit $ac_status); }; }; then 2321c19de146Smrg ac_compiler_gnu=yes 2322c19de146Smrgelse 2323c19de146Smrg echo "$as_me: failed program was:" >&5 2324c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 2325c19de146Smrg 2326c19de146Smrgac_compiler_gnu=no 2327c19de146Smrgfi 2328c19de146Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2329c19de146Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 2330c19de146Smrg 2331c19de146Smrgfi 2332c19de146Smrgecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2333c19de146Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2334c19de146SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 2335c19de146Smrgac_test_CFLAGS=${CFLAGS+set} 2336c19de146Smrgac_save_CFLAGS=$CFLAGS 2337c19de146SmrgCFLAGS="-g" 2338c19de146Smrgecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2339c19de146Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2340c19de146Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 2341c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 2342c19de146Smrgelse 2343c19de146Smrg cat >conftest.$ac_ext <<_ACEOF 2344c19de146Smrg/* confdefs.h. */ 2345c19de146Smrg_ACEOF 2346c19de146Smrgcat confdefs.h >>conftest.$ac_ext 2347c19de146Smrgcat >>conftest.$ac_ext <<_ACEOF 2348c19de146Smrg/* end confdefs.h. */ 2349c19de146Smrg 2350c19de146Smrgint 2351c19de146Smrgmain () 2352c19de146Smrg{ 2353c19de146Smrg 2354c19de146Smrg ; 2355c19de146Smrg return 0; 2356c19de146Smrg} 2357c19de146Smrg_ACEOF 2358c19de146Smrgrm -f conftest.$ac_objext 2359c19de146Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2360c19de146Smrg (eval $ac_compile) 2>conftest.er1 2361c19de146Smrg ac_status=$? 2362c19de146Smrg grep -v '^ *+' conftest.er1 >conftest.err 2363c19de146Smrg rm -f conftest.er1 2364c19de146Smrg cat conftest.err >&5 2365c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2366c19de146Smrg (exit $ac_status); } && 2367c19de146Smrg { ac_try='test -z "$ac_c_werror_flag" 2368c19de146Smrg || test ! -s conftest.err' 2369c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2370c19de146Smrg (eval $ac_try) 2>&5 2371c19de146Smrg ac_status=$? 2372c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2373c19de146Smrg (exit $ac_status); }; } && 2374c19de146Smrg { ac_try='test -s conftest.$ac_objext' 2375c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2376c19de146Smrg (eval $ac_try) 2>&5 2377c19de146Smrg ac_status=$? 2378c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2379c19de146Smrg (exit $ac_status); }; }; then 2380c19de146Smrg ac_cv_prog_cc_g=yes 2381c19de146Smrgelse 2382c19de146Smrg echo "$as_me: failed program was:" >&5 2383c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 2384c19de146Smrg 2385c19de146Smrgac_cv_prog_cc_g=no 2386c19de146Smrgfi 2387c19de146Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2388c19de146Smrgfi 2389c19de146Smrgecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2390c19de146Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6 2391c19de146Smrgif test "$ac_test_CFLAGS" = set; then 2392c19de146Smrg CFLAGS=$ac_save_CFLAGS 2393c19de146Smrgelif test $ac_cv_prog_cc_g = yes; then 2394c19de146Smrg if test "$GCC" = yes; then 2395c19de146Smrg CFLAGS="-g -O2" 2396c19de146Smrg else 2397c19de146Smrg CFLAGS="-g" 2398c19de146Smrg fi 2399c19de146Smrgelse 2400c19de146Smrg if test "$GCC" = yes; then 2401c19de146Smrg CFLAGS="-O2" 2402c19de146Smrg else 2403c19de146Smrg CFLAGS= 2404c19de146Smrg fi 2405c19de146Smrgfi 2406c19de146Smrgecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2407c19de146Smrgecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2408c19de146Smrgif test "${ac_cv_prog_cc_stdc+set}" = set; then 2409c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 2410c19de146Smrgelse 2411c19de146Smrg ac_cv_prog_cc_stdc=no 2412c19de146Smrgac_save_CC=$CC 2413c19de146Smrgcat >conftest.$ac_ext <<_ACEOF 2414c19de146Smrg/* confdefs.h. */ 2415c19de146Smrg_ACEOF 2416c19de146Smrgcat confdefs.h >>conftest.$ac_ext 2417c19de146Smrgcat >>conftest.$ac_ext <<_ACEOF 2418c19de146Smrg/* end confdefs.h. */ 2419c19de146Smrg#include <stdarg.h> 2420c19de146Smrg#include <stdio.h> 2421c19de146Smrg#include <sys/types.h> 2422c19de146Smrg#include <sys/stat.h> 2423c19de146Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2424c19de146Smrgstruct buf { int x; }; 2425c19de146SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 2426c19de146Smrgstatic char *e (p, i) 2427c19de146Smrg char **p; 2428c19de146Smrg int i; 2429c19de146Smrg{ 2430c19de146Smrg return p[i]; 2431c19de146Smrg} 2432c19de146Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 2433c19de146Smrg{ 2434c19de146Smrg char *s; 2435c19de146Smrg va_list v; 2436c19de146Smrg va_start (v,p); 2437c19de146Smrg s = g (p, va_arg (v,int)); 2438c19de146Smrg va_end (v); 2439c19de146Smrg return s; 2440c19de146Smrg} 2441c19de146Smrg 2442c19de146Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2443c19de146Smrg function prototypes and stuff, but not '\xHH' hex character constants. 2444c19de146Smrg These don't provoke an error unfortunately, instead are silently treated 2445c19de146Smrg as 'x'. The following induces an error, until -std1 is added to get 2446c19de146Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2447c19de146Smrg array size at least. It's necessary to write '\x00'==0 to get something 2448c19de146Smrg that's true only with -std1. */ 2449c19de146Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2450c19de146Smrg 2451c19de146Smrgint test (int i, double x); 2452c19de146Smrgstruct s1 {int (*f) (int a);}; 2453c19de146Smrgstruct s2 {int (*f) (double a);}; 2454c19de146Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2455c19de146Smrgint argc; 2456c19de146Smrgchar **argv; 2457c19de146Smrgint 2458c19de146Smrgmain () 2459c19de146Smrg{ 2460c19de146Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2461c19de146Smrg ; 2462c19de146Smrg return 0; 2463c19de146Smrg} 2464c19de146Smrg_ACEOF 2465c19de146Smrg# Don't try gcc -ansi; that turns off useful extensions and 2466c19de146Smrg# breaks some systems' header files. 2467c19de146Smrg# AIX -qlanglvl=ansi 2468c19de146Smrg# Ultrix and OSF/1 -std1 2469c19de146Smrg# HP-UX 10.20 and later -Ae 2470c19de146Smrg# HP-UX older versions -Aa -D_HPUX_SOURCE 2471c19de146Smrg# SVR4 -Xc -D__EXTENSIONS__ 2472c19de146Smrgfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2473c19de146Smrgdo 2474c19de146Smrg CC="$ac_save_CC $ac_arg" 2475c19de146Smrg rm -f conftest.$ac_objext 2476c19de146Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2477c19de146Smrg (eval $ac_compile) 2>conftest.er1 2478c19de146Smrg ac_status=$? 2479c19de146Smrg grep -v '^ *+' conftest.er1 >conftest.err 2480c19de146Smrg rm -f conftest.er1 2481c19de146Smrg cat conftest.err >&5 2482c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2483c19de146Smrg (exit $ac_status); } && 2484c19de146Smrg { ac_try='test -z "$ac_c_werror_flag" 2485c19de146Smrg || test ! -s conftest.err' 2486c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2487c19de146Smrg (eval $ac_try) 2>&5 2488c19de146Smrg ac_status=$? 2489c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2490c19de146Smrg (exit $ac_status); }; } && 2491c19de146Smrg { ac_try='test -s conftest.$ac_objext' 2492c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2493c19de146Smrg (eval $ac_try) 2>&5 2494c19de146Smrg ac_status=$? 2495c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2496c19de146Smrg (exit $ac_status); }; }; then 2497c19de146Smrg ac_cv_prog_cc_stdc=$ac_arg 2498c19de146Smrgbreak 2499c19de146Smrgelse 2500c19de146Smrg echo "$as_me: failed program was:" >&5 2501c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 2502c19de146Smrg 2503c19de146Smrgfi 2504c19de146Smrgrm -f conftest.err conftest.$ac_objext 2505c19de146Smrgdone 2506c19de146Smrgrm -f conftest.$ac_ext conftest.$ac_objext 2507c19de146SmrgCC=$ac_save_CC 2508c19de146Smrg 2509c19de146Smrgfi 2510c19de146Smrg 2511c19de146Smrgcase "x$ac_cv_prog_cc_stdc" in 2512c19de146Smrg x|xno) 2513c19de146Smrg echo "$as_me:$LINENO: result: none needed" >&5 2514c19de146Smrgecho "${ECHO_T}none needed" >&6 ;; 2515c19de146Smrg *) 2516c19de146Smrg echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2517c19de146Smrgecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2518c19de146Smrg CC="$CC $ac_cv_prog_cc_stdc" ;; 2519c19de146Smrgesac 2520c19de146Smrg 2521c19de146Smrg# Some people use a C++ compiler to compile C. Since we use `exit', 2522c19de146Smrg# in C++ we need to declare it. In case someone uses the same compiler 2523c19de146Smrg# for both compiling C and C++ we need to have the C++ compiler decide 2524c19de146Smrg# the declaration of exit, since it's the most demanding environment. 2525c19de146Smrgcat >conftest.$ac_ext <<_ACEOF 2526c19de146Smrg#ifndef __cplusplus 2527c19de146Smrg choke me 2528c19de146Smrg#endif 2529c19de146Smrg_ACEOF 2530c19de146Smrgrm -f conftest.$ac_objext 2531c19de146Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2532c19de146Smrg (eval $ac_compile) 2>conftest.er1 2533c19de146Smrg ac_status=$? 2534c19de146Smrg grep -v '^ *+' conftest.er1 >conftest.err 2535c19de146Smrg rm -f conftest.er1 2536c19de146Smrg cat conftest.err >&5 2537c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2538c19de146Smrg (exit $ac_status); } && 2539c19de146Smrg { ac_try='test -z "$ac_c_werror_flag" 2540c19de146Smrg || test ! -s conftest.err' 2541c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2542c19de146Smrg (eval $ac_try) 2>&5 2543c19de146Smrg ac_status=$? 2544c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545c19de146Smrg (exit $ac_status); }; } && 2546c19de146Smrg { ac_try='test -s conftest.$ac_objext' 2547c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2548c19de146Smrg (eval $ac_try) 2>&5 2549c19de146Smrg ac_status=$? 2550c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2551c19de146Smrg (exit $ac_status); }; }; then 2552c19de146Smrg for ac_declaration in \ 2553c19de146Smrg '' \ 2554c19de146Smrg 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2555c19de146Smrg 'extern "C" void std::exit (int); using std::exit;' \ 2556c19de146Smrg 'extern "C" void exit (int) throw ();' \ 2557c19de146Smrg 'extern "C" void exit (int);' \ 2558c19de146Smrg 'void exit (int);' 2559c19de146Smrgdo 2560c19de146Smrg cat >conftest.$ac_ext <<_ACEOF 2561c19de146Smrg/* confdefs.h. */ 2562c19de146Smrg_ACEOF 2563c19de146Smrgcat confdefs.h >>conftest.$ac_ext 2564c19de146Smrgcat >>conftest.$ac_ext <<_ACEOF 2565c19de146Smrg/* end confdefs.h. */ 2566c19de146Smrg$ac_declaration 2567c19de146Smrg#include <stdlib.h> 2568c19de146Smrgint 2569c19de146Smrgmain () 2570c19de146Smrg{ 2571c19de146Smrgexit (42); 2572c19de146Smrg ; 2573c19de146Smrg return 0; 2574c19de146Smrg} 2575c19de146Smrg_ACEOF 2576c19de146Smrgrm -f conftest.$ac_objext 2577c19de146Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2578c19de146Smrg (eval $ac_compile) 2>conftest.er1 2579c19de146Smrg ac_status=$? 2580c19de146Smrg grep -v '^ *+' conftest.er1 >conftest.err 2581c19de146Smrg rm -f conftest.er1 2582c19de146Smrg cat conftest.err >&5 2583c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2584c19de146Smrg (exit $ac_status); } && 2585c19de146Smrg { ac_try='test -z "$ac_c_werror_flag" 2586c19de146Smrg || test ! -s conftest.err' 2587c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2588c19de146Smrg (eval $ac_try) 2>&5 2589c19de146Smrg ac_status=$? 2590c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2591c19de146Smrg (exit $ac_status); }; } && 2592c19de146Smrg { ac_try='test -s conftest.$ac_objext' 2593c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2594c19de146Smrg (eval $ac_try) 2>&5 2595c19de146Smrg ac_status=$? 2596c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2597c19de146Smrg (exit $ac_status); }; }; then 2598c19de146Smrg : 2599c19de146Smrgelse 2600c19de146Smrg echo "$as_me: failed program was:" >&5 2601c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 2602c19de146Smrg 2603c19de146Smrgcontinue 2604c19de146Smrgfi 2605c19de146Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2606c19de146Smrg cat >conftest.$ac_ext <<_ACEOF 2607c19de146Smrg/* confdefs.h. */ 2608c19de146Smrg_ACEOF 2609c19de146Smrgcat confdefs.h >>conftest.$ac_ext 2610c19de146Smrgcat >>conftest.$ac_ext <<_ACEOF 2611c19de146Smrg/* end confdefs.h. */ 2612c19de146Smrg$ac_declaration 2613c19de146Smrgint 2614c19de146Smrgmain () 2615c19de146Smrg{ 2616c19de146Smrgexit (42); 2617c19de146Smrg ; 2618c19de146Smrg return 0; 2619c19de146Smrg} 2620c19de146Smrg_ACEOF 2621c19de146Smrgrm -f conftest.$ac_objext 2622c19de146Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2623c19de146Smrg (eval $ac_compile) 2>conftest.er1 2624c19de146Smrg ac_status=$? 2625c19de146Smrg grep -v '^ *+' conftest.er1 >conftest.err 2626c19de146Smrg rm -f conftest.er1 2627c19de146Smrg cat conftest.err >&5 2628c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2629c19de146Smrg (exit $ac_status); } && 2630c19de146Smrg { ac_try='test -z "$ac_c_werror_flag" 2631c19de146Smrg || test ! -s conftest.err' 2632c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2633c19de146Smrg (eval $ac_try) 2>&5 2634c19de146Smrg ac_status=$? 2635c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2636c19de146Smrg (exit $ac_status); }; } && 2637c19de146Smrg { ac_try='test -s conftest.$ac_objext' 2638c19de146Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2639c19de146Smrg (eval $ac_try) 2>&5 2640c19de146Smrg ac_status=$? 2641c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2642c19de146Smrg (exit $ac_status); }; }; then 2643c19de146Smrg break 2644c19de146Smrgelse 2645c19de146Smrg echo "$as_me: failed program was:" >&5 2646c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 2647c19de146Smrg 2648c19de146Smrgfi 2649c19de146Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2650c19de146Smrgdone 2651c19de146Smrgrm -f conftest* 2652c19de146Smrgif test -n "$ac_declaration"; then 2653c19de146Smrg echo '#ifdef __cplusplus' >>confdefs.h 2654c19de146Smrg echo $ac_declaration >>confdefs.h 2655c19de146Smrg echo '#endif' >>confdefs.h 2656c19de146Smrgfi 2657c19de146Smrg 2658c19de146Smrgelse 2659c19de146Smrg echo "$as_me: failed program was:" >&5 2660c19de146Smrgsed 's/^/| /' conftest.$ac_ext >&5 2661c19de146Smrg 2662c19de146Smrgfi 2663c19de146Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2664c19de146Smrgac_ext=c 2665c19de146Smrgac_cpp='$CPP $CPPFLAGS' 2666c19de146Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2667c19de146Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2668c19de146Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2669c19de146SmrgDEPDIR="${am__leading_dot}deps" 2670c19de146Smrg 2671c19de146Smrg ac_config_commands="$ac_config_commands depfiles" 2672c19de146Smrg 2673c19de146Smrg 2674c19de146Smrgam_make=${MAKE-make} 2675c19de146Smrgcat > confinc << 'END' 2676c19de146Smrgam__doit: 2677c19de146Smrg @echo done 2678c19de146Smrg.PHONY: am__doit 2679c19de146SmrgEND 2680c19de146Smrg# If we don't find an include directive, just comment out the code. 2681c19de146Smrgecho "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2682c19de146Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2683c19de146Smrgam__include="#" 2684c19de146Smrgam__quote= 2685c19de146Smrg_am_result=none 2686c19de146Smrg# First try GNU make style include. 2687c19de146Smrgecho "include confinc" > confmf 2688c19de146Smrg# We grep out `Entering directory' and `Leaving directory' 2689c19de146Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 2690c19de146Smrg# In particular we don't look at `^make:' because GNU make might 2691c19de146Smrg# be invoked under some other name (usually "gmake"), in which 2692c19de146Smrg# case it prints its new name instead of `make'. 2693c19de146Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2694c19de146Smrg am__include=include 2695c19de146Smrg am__quote= 2696c19de146Smrg _am_result=GNU 2697c19de146Smrgfi 2698c19de146Smrg# Now try BSD make style include. 2699c19de146Smrgif test "$am__include" = "#"; then 2700c19de146Smrg echo '.include "confinc"' > confmf 2701c19de146Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2702c19de146Smrg am__include=.include 2703c19de146Smrg am__quote="\"" 2704c19de146Smrg _am_result=BSD 2705c19de146Smrg fi 2706c19de146Smrgfi 2707c19de146Smrg 2708c19de146Smrg 2709c19de146Smrgecho "$as_me:$LINENO: result: $_am_result" >&5 2710c19de146Smrgecho "${ECHO_T}$_am_result" >&6 2711c19de146Smrgrm -f confinc confmf 2712c19de146Smrg 2713c19de146Smrg# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2714c19de146Smrgif test "${enable_dependency_tracking+set}" = set; then 2715c19de146Smrg enableval="$enable_dependency_tracking" 2716c19de146Smrg 2717c19de146Smrgfi; 2718c19de146Smrgif test "x$enable_dependency_tracking" != xno; then 2719c19de146Smrg am_depcomp="$ac_aux_dir/depcomp" 2720c19de146Smrg AMDEPBACKSLASH='\' 2721c19de146Smrgfi 2722c19de146Smrg 2723c19de146Smrg 2724c19de146Smrgif test "x$enable_dependency_tracking" != xno; then 2725c19de146Smrg AMDEP_TRUE= 2726c19de146Smrg AMDEP_FALSE='#' 2727c19de146Smrgelse 2728c19de146Smrg AMDEP_TRUE='#' 2729c19de146Smrg AMDEP_FALSE= 2730c19de146Smrgfi 2731c19de146Smrg 2732c19de146Smrg 2733c19de146Smrg 2734c19de146Smrg 2735c19de146Smrgdepcc="$CC" am_compiler_list= 2736c19de146Smrg 2737c19de146Smrgecho "$as_me:$LINENO: checking dependency style of $depcc" >&5 2738c19de146Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2739c19de146Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2740c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 2741c19de146Smrgelse 2742c19de146Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2743c19de146Smrg # We make a subdir and do the tests there. Otherwise we can end up 2744c19de146Smrg # making bogus files that we don't know about and never remove. For 2745c19de146Smrg # instance it was reported that on HP-UX the gcc test will end up 2746c19de146Smrg # making a dummy file named `D' -- because `-MD' means `put the output 2747c19de146Smrg # in D'. 2748c19de146Smrg mkdir conftest.dir 2749c19de146Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 2750c19de146Smrg # using a relative directory. 2751c19de146Smrg cp "$am_depcomp" conftest.dir 2752c19de146Smrg cd conftest.dir 2753c19de146Smrg # We will build objects and dependencies in a subdirectory because 2754c19de146Smrg # it helps to detect inapplicable dependency modes. For instance 2755c19de146Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 2756c19de146Smrg # side effect of compilation, but ICC will put the dependencies in 2757c19de146Smrg # the current directory while Tru64 will put them in the object 2758c19de146Smrg # directory. 2759c19de146Smrg mkdir sub 2760c19de146Smrg 2761c19de146Smrg am_cv_CC_dependencies_compiler_type=none 2762c19de146Smrg if test "$am_compiler_list" = ""; then 2763c19de146Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2764c19de146Smrg fi 2765c19de146Smrg for depmode in $am_compiler_list; do 2766c19de146Smrg # Setup a source with many dependencies, because some compilers 2767c19de146Smrg # like to wrap large dependency lists on column 80 (with \), and 2768c19de146Smrg # we should not choose a depcomp mode which is confused by this. 2769c19de146Smrg # 2770c19de146Smrg # We need to recreate these files for each test, as the compiler may 2771c19de146Smrg # overwrite some of them when testing with obscure command lines. 2772c19de146Smrg # This happens at least with the AIX C compiler. 2773c19de146Smrg : > sub/conftest.c 2774c19de146Smrg for i in 1 2 3 4 5 6; do 2775c19de146Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 2776c19de146Smrg : > sub/conftst$i.h 2777c19de146Smrg done 2778c19de146Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2779c19de146Smrg 2780c19de146Smrg case $depmode in 2781c19de146Smrg nosideeffect) 2782c19de146Smrg # after this tag, mechanisms are not by side-effect, so they'll 2783c19de146Smrg # only be used when explicitly requested 2784c19de146Smrg if test "x$enable_dependency_tracking" = xyes; then 2785c19de146Smrg continue 2786c19de146Smrg else 2787c19de146Smrg break 2788c19de146Smrg fi 2789c19de146Smrg ;; 2790c19de146Smrg none) break ;; 2791c19de146Smrg esac 2792c19de146Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 2793c19de146Smrg # mode. It turns out that the SunPro C++ compiler does not properly 2794c19de146Smrg # handle `-M -o', and we need to detect this. 2795c19de146Smrg if depmode=$depmode \ 2796c19de146Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2797c19de146Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2798c19de146Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2799c19de146Smrg >/dev/null 2>conftest.err && 2800c19de146Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2801c19de146Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2802c19de146Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2803c19de146Smrg # icc doesn't choke on unknown options, it will just issue warnings 2804c19de146Smrg # (even with -Werror). So we grep stderr for any message 2805c19de146Smrg # that says an option was ignored. 2806c19de146Smrg if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2807c19de146Smrg am_cv_CC_dependencies_compiler_type=$depmode 2808c19de146Smrg break 2809c19de146Smrg fi 2810c19de146Smrg fi 2811c19de146Smrg done 2812c19de146Smrg 2813c19de146Smrg cd .. 2814c19de146Smrg rm -rf conftest.dir 2815c19de146Smrgelse 2816c19de146Smrg am_cv_CC_dependencies_compiler_type=none 2817c19de146Smrgfi 2818c19de146Smrg 2819c19de146Smrgfi 2820c19de146Smrgecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2821c19de146Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2822c19de146SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2823c19de146Smrg 2824c19de146Smrg 2825c19de146Smrg 2826c19de146Smrgif 2827c19de146Smrg test "x$enable_dependency_tracking" != xno \ 2828c19de146Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2829c19de146Smrg am__fastdepCC_TRUE= 2830c19de146Smrg am__fastdepCC_FALSE='#' 2831c19de146Smrgelse 2832c19de146Smrg am__fastdepCC_TRUE='#' 2833c19de146Smrg am__fastdepCC_FALSE= 2834c19de146Smrgfi 2835c19de146Smrg 2836c19de146Smrg 2837c19de146Smrg# Find a good install program. We prefer a C program (faster), 2838c19de146Smrg# so one script is as good as another. But avoid the broken or 2839c19de146Smrg# incompatible versions: 2840c19de146Smrg# SysV /etc/install, /usr/sbin/install 2841c19de146Smrg# SunOS /usr/etc/install 2842c19de146Smrg# IRIX /sbin/install 2843c19de146Smrg# AIX /bin/install 2844c19de146Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2845c19de146Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2846c19de146Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2847c19de146Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2848c19de146Smrg# OS/2's system install, which has a completely different semantic 2849c19de146Smrg# ./install, which can be erroneously created by make from ./install.sh. 2850c19de146Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2851c19de146Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2852c19de146Smrgif test -z "$INSTALL"; then 2853c19de146Smrgif test "${ac_cv_path_install+set}" = set; then 2854c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 2855c19de146Smrgelse 2856c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2857c19de146Smrgfor as_dir in $PATH 2858c19de146Smrgdo 2859c19de146Smrg IFS=$as_save_IFS 2860c19de146Smrg test -z "$as_dir" && as_dir=. 2861c19de146Smrg # Account for people who put trailing slashes in PATH elements. 2862c19de146Smrgcase $as_dir/ in 2863c19de146Smrg ./ | .// | /cC/* | \ 2864c19de146Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2865c19de146Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2866c19de146Smrg /usr/ucb/* ) ;; 2867c19de146Smrg *) 2868c19de146Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 2869c19de146Smrg # Don't use installbsd from OSF since it installs stuff as root 2870c19de146Smrg # by default. 2871c19de146Smrg for ac_prog in ginstall scoinst install; do 2872c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2873c19de146Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2874c19de146Smrg if test $ac_prog = install && 2875c19de146Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2876c19de146Smrg # AIX install. It has an incompatible calling convention. 2877c19de146Smrg : 2878c19de146Smrg elif test $ac_prog = install && 2879c19de146Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2880c19de146Smrg # program-specific install script used by HP pwplus--don't use. 2881c19de146Smrg : 2882c19de146Smrg else 2883c19de146Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2884c19de146Smrg break 3 2885c19de146Smrg fi 2886c19de146Smrg fi 2887c19de146Smrg done 2888c19de146Smrg done 2889c19de146Smrg ;; 2890c19de146Smrgesac 2891c19de146Smrgdone 2892c19de146Smrg 2893c19de146Smrg 2894c19de146Smrgfi 2895c19de146Smrg if test "${ac_cv_path_install+set}" = set; then 2896c19de146Smrg INSTALL=$ac_cv_path_install 2897c19de146Smrg else 2898c19de146Smrg # As a last resort, use the slow shell script. We don't cache a 2899c19de146Smrg # path for INSTALL within a source directory, because that will 2900c19de146Smrg # break other packages using the cache if that directory is 2901c19de146Smrg # removed, or if the path is relative. 2902c19de146Smrg INSTALL=$ac_install_sh 2903c19de146Smrg fi 2904c19de146Smrgfi 2905c19de146Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 2906c19de146Smrgecho "${ECHO_T}$INSTALL" >&6 2907c19de146Smrg 2908c19de146Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2909c19de146Smrg# It thinks the first close brace ends the variable substitution. 2910c19de146Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2911c19de146Smrg 2912c19de146Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2913c19de146Smrg 2914c19de146Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2915c19de146Smrg 2916c19de146Smrg 2917c19de146Smrg 2918c19de146Smrg 2919c19de146Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 2920c19de146Smrg if test -n "$ac_tool_prefix"; then 2921c19de146Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 2922c19de146Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2923c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 2924c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2925c19de146Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 2926c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 2927c19de146Smrgelse 2928c19de146Smrg case $PKG_CONFIG in 2929c19de146Smrg [\\/]* | ?:[\\/]*) 2930c19de146Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2931c19de146Smrg ;; 2932c19de146Smrg *) 2933c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2934c19de146Smrgfor as_dir in $PATH 2935c19de146Smrgdo 2936c19de146Smrg IFS=$as_save_IFS 2937c19de146Smrg test -z "$as_dir" && as_dir=. 2938c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2939c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2940c19de146Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2941c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2942c19de146Smrg break 2 2943c19de146Smrg fi 2944c19de146Smrgdone 2945c19de146Smrgdone 2946c19de146Smrg 2947c19de146Smrg ;; 2948c19de146Smrgesac 2949c19de146Smrgfi 2950c19de146SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 2951c19de146Smrg 2952c19de146Smrgif test -n "$PKG_CONFIG"; then 2953c19de146Smrg echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 2954c19de146Smrgecho "${ECHO_T}$PKG_CONFIG" >&6 2955c19de146Smrgelse 2956c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 2957c19de146Smrgecho "${ECHO_T}no" >&6 2958c19de146Smrgfi 2959c19de146Smrg 2960c19de146Smrgfi 2961c19de146Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 2962c19de146Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 2963c19de146Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 2964c19de146Smrgset dummy pkg-config; ac_word=$2 2965c19de146Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 2966c19de146Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2967c19de146Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 2968c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 2969c19de146Smrgelse 2970c19de146Smrg case $ac_pt_PKG_CONFIG in 2971c19de146Smrg [\\/]* | ?:[\\/]*) 2972c19de146Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 2973c19de146Smrg ;; 2974c19de146Smrg *) 2975c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2976c19de146Smrgfor as_dir in $PATH 2977c19de146Smrgdo 2978c19de146Smrg IFS=$as_save_IFS 2979c19de146Smrg test -z "$as_dir" && as_dir=. 2980c19de146Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2981c19de146Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2982c19de146Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2983c19de146Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2984c19de146Smrg break 2 2985c19de146Smrg fi 2986c19de146Smrgdone 2987c19de146Smrgdone 2988c19de146Smrg 2989c19de146Smrg ;; 2990c19de146Smrgesac 2991c19de146Smrgfi 2992c19de146Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 2993c19de146Smrg 2994c19de146Smrgif test -n "$ac_pt_PKG_CONFIG"; then 2995c19de146Smrg echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 2996c19de146Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 2997c19de146Smrgelse 2998c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 2999c19de146Smrgecho "${ECHO_T}no" >&6 3000c19de146Smrgfi 3001c19de146Smrg 3002c19de146Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 3003c19de146Smrgelse 3004c19de146Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 3005c19de146Smrgfi 3006c19de146Smrg 3007c19de146Smrgfi 3008c19de146Smrgif test -n "$PKG_CONFIG"; then 3009c19de146Smrg _pkg_min_version=0.9.0 3010c19de146Smrg echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 3011c19de146Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 3012c19de146Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 3013c19de146Smrg echo "$as_me:$LINENO: result: yes" >&5 3014c19de146Smrgecho "${ECHO_T}yes" >&6 3015c19de146Smrg else 3016c19de146Smrg echo "$as_me:$LINENO: result: no" >&5 3017c19de146Smrgecho "${ECHO_T}no" >&6 3018c19de146Smrg PKG_CONFIG="" 3019c19de146Smrg fi 3020c19de146Smrg 3021c19de146Smrgfi 3022c19de146Smrg 3023c19de146Smrg # Check whether --enable-xprint or --disable-xprint was given. 3024c19de146Smrgif test "${enable_xprint+set}" = set; then 3025c19de146Smrg enableval="$enable_xprint" 3026c19de146Smrg use_xprint=$enableval 3027c19de146Smrgelse 3028c19de146Smrg use_xprint=auto 3029c19de146Smrgfi; 3030c19de146Smrg if test "x$use_xprint" = "xyes"; then 3031c19de146Smrg TMP_CHECK1=xaw8 3032c19de146Smrg TMP_CHECK2= 3033c19de146Smrg xaw_use_xprint=yes 3034c19de146Smrg elif test "x$use_xprint" = "xno"; then 3035c19de146Smrg TMP_CHECK1=xaw7 3036c19de146Smrg TMP_CHECK2= 3037c19de146Smrg xaw_use_xprint=no 3038c19de146Smrg else 3039c19de146Smrg TMP_CHECK1=xaw8 3040c19de146Smrg TMP_CHECK2=xaw7 3041c19de146Smrg xaw_use_xprint=yes 3042c19de146Smrg fi 3043c19de146Smrg 3044c19de146Smrg 3045c19de146Smrgpkg_failed=no 3046c19de146Smrgecho "$as_me:$LINENO: checking for TMP_XAW" >&5 3047c19de146Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6 3048c19de146Smrg 3049c19de146Smrgif test -n "$PKG_CONFIG"; then 3050c19de146Smrg if test -n "$TMP_XAW_CFLAGS"; then 3051c19de146Smrg pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS" 3052c19de146Smrg else 3053c19de146Smrg if test -n "$PKG_CONFIG" && \ 3054c19de146Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 3055c19de146Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 3056c19de146Smrg ac_status=$? 3057c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3058c19de146Smrg (exit $ac_status); }; then 3059c19de146Smrg pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null` 3060c19de146Smrgelse 3061c19de146Smrg pkg_failed=yes 3062c19de146Smrgfi 3063c19de146Smrg fi 3064c19de146Smrgelse 3065c19de146Smrg pkg_failed=untried 3066c19de146Smrgfi 3067c19de146Smrgif test -n "$PKG_CONFIG"; then 3068c19de146Smrg if test -n "$TMP_XAW_LIBS"; then 3069c19de146Smrg pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS" 3070c19de146Smrg else 3071c19de146Smrg if test -n "$PKG_CONFIG" && \ 3072c19de146Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5 3073c19de146Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5 3074c19de146Smrg ac_status=$? 3075c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3076c19de146Smrg (exit $ac_status); }; then 3077c19de146Smrg pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null` 3078c19de146Smrgelse 3079c19de146Smrg pkg_failed=yes 3080c19de146Smrgfi 3081c19de146Smrg fi 3082c19de146Smrgelse 3083c19de146Smrg pkg_failed=untried 3084c19de146Smrgfi 3085c19de146Smrg 3086c19de146Smrg 3087c19de146Smrg 3088c19de146Smrgif test $pkg_failed = yes; then 3089c19de146Smrg 3090c19de146Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3091c19de146Smrg _pkg_short_errors_supported=yes 3092c19de146Smrgelse 3093c19de146Smrg _pkg_short_errors_supported=no 3094c19de146Smrgfi 3095c19de146Smrg if test $_pkg_short_errors_supported = yes; then 3096c19de146Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK1"` 3097c19de146Smrg else 3098c19de146Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"` 3099c19de146Smrg fi 3100c19de146Smrg # Put the nasty error message in config.log where it belongs 3101c19de146Smrg echo "$TMP_XAW_PKG_ERRORS" >&5 3102c19de146Smrg 3103c19de146Smrg success=no 3104c19de146Smrgelif test $pkg_failed = untried; then 3105c19de146Smrg success=no 3106c19de146Smrgelse 3107c19de146Smrg TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 3108c19de146Smrg TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 3109c19de146Smrg echo "$as_me:$LINENO: result: yes" >&5 3110c19de146Smrgecho "${ECHO_T}yes" >&6 3111c19de146Smrg success=yes 3112c19de146Smrgfi 3113c19de146Smrg if [ ! -z $TMP_CHECK2 ] ; then 3114c19de146Smrg if test $success = no ; then 3115c19de146Smrg 3116c19de146Smrgpkg_failed=no 3117c19de146Smrgecho "$as_me:$LINENO: checking for TMP_XAW" >&5 3118c19de146Smrgecho $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6 3119c19de146Smrg 3120c19de146Smrgif test -n "$PKG_CONFIG"; then 3121c19de146Smrg if test -n "$TMP_XAW_CFLAGS"; then 3122c19de146Smrg pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS" 3123c19de146Smrg else 3124c19de146Smrg if test -n "$PKG_CONFIG" && \ 3125c19de146Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 3126c19de146Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 3127c19de146Smrg ac_status=$? 3128c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3129c19de146Smrg (exit $ac_status); }; then 3130c19de146Smrg pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null` 3131c19de146Smrgelse 3132c19de146Smrg pkg_failed=yes 3133c19de146Smrgfi 3134c19de146Smrg fi 3135c19de146Smrgelse 3136c19de146Smrg pkg_failed=untried 3137c19de146Smrgfi 3138c19de146Smrgif test -n "$PKG_CONFIG"; then 3139c19de146Smrg if test -n "$TMP_XAW_LIBS"; then 3140c19de146Smrg pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS" 3141c19de146Smrg else 3142c19de146Smrg if test -n "$PKG_CONFIG" && \ 3143c19de146Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5 3144c19de146Smrg ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5 3145c19de146Smrg ac_status=$? 3146c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3147c19de146Smrg (exit $ac_status); }; then 3148c19de146Smrg pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null` 3149c19de146Smrgelse 3150c19de146Smrg pkg_failed=yes 3151c19de146Smrgfi 3152c19de146Smrg fi 3153c19de146Smrgelse 3154c19de146Smrg pkg_failed=untried 3155c19de146Smrgfi 3156c19de146Smrg 3157c19de146Smrg 3158c19de146Smrg 3159c19de146Smrgif test $pkg_failed = yes; then 3160c19de146Smrg 3161c19de146Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3162c19de146Smrg _pkg_short_errors_supported=yes 3163c19de146Smrgelse 3164c19de146Smrg _pkg_short_errors_supported=no 3165c19de146Smrgfi 3166c19de146Smrg if test $_pkg_short_errors_supported = yes; then 3167c19de146Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK2"` 3168c19de146Smrg else 3169c19de146Smrg TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"` 3170c19de146Smrg fi 3171c19de146Smrg # Put the nasty error message in config.log where it belongs 3172c19de146Smrg echo "$TMP_XAW_PKG_ERRORS" >&5 3173c19de146Smrg 3174c19de146Smrg success=no 3175c19de146Smrgelif test $pkg_failed = untried; then 3176c19de146Smrg success=no 3177c19de146Smrgelse 3178c19de146Smrg TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS 3179c19de146Smrg TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS 3180c19de146Smrg echo "$as_me:$LINENO: result: yes" >&5 3181c19de146Smrgecho "${ECHO_T}yes" >&6 3182c19de146Smrg success=yes 3183c19de146Smrgfi 3184c19de146Smrg xaw_use_xprint=no 3185c19de146Smrg fi 3186c19de146Smrg fi 3187c19de146Smrg 3188c19de146Smrg if test "x$success" = "xyes"; then 3189c19de146Smrg XAW_CFLAGS=$TMP_XAW_CFLAGS 3190c19de146Smrg XAW_LIBS=$TMP_XAW_LIBS 3191c19de146Smrg 3192c19de146Smrg 3193c19de146Smrg 3194c19de146Smrgif test "x$xaw_use_xprint" = "xyes"; then 3195c19de146Smrg XAW_USE_XPRINT_TRUE= 3196c19de146Smrg XAW_USE_XPRINT_FALSE='#' 3197c19de146Smrgelse 3198c19de146Smrg XAW_USE_XPRINT_TRUE='#' 3199c19de146Smrg XAW_USE_XPRINT_FALSE= 3200c19de146Smrgfi 3201c19de146Smrg 3202c19de146Smrg else 3203c19de146Smrg { { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5 3204c19de146Smrgecho "$as_me: error: No suitable version of Xaw found" >&2;} 3205c19de146Smrg { (exit 1); exit 1; }; } 3206c19de146Smrg fi 3207c19de146Smrg 3208c19de146Smrg 3209c19de146Smrgpkg_failed=no 3210c19de146Smrgecho "$as_me:$LINENO: checking for XBIFF" >&5 3211c19de146Smrgecho $ECHO_N "checking for XBIFF... $ECHO_C" >&6 3212c19de146Smrg 3213c19de146Smrgif test -n "$PKG_CONFIG"; then 3214c19de146Smrg if test -n "$XBIFF_CFLAGS"; then 3215c19de146Smrg pkg_cv_XBIFF_CFLAGS="$XBIFF_CFLAGS" 3216c19de146Smrg else 3217c19de146Smrg if test -n "$PKG_CONFIG" && \ 3218c19de146Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xbitmaps xext\"") >&5 3219c19de146Smrg ($PKG_CONFIG --exists --print-errors "xbitmaps xext") 2>&5 3220c19de146Smrg ac_status=$? 3221c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3222c19de146Smrg (exit $ac_status); }; then 3223c19de146Smrg pkg_cv_XBIFF_CFLAGS=`$PKG_CONFIG --cflags "xbitmaps xext" 2>/dev/null` 3224c19de146Smrgelse 3225c19de146Smrg pkg_failed=yes 3226c19de146Smrgfi 3227c19de146Smrg fi 3228c19de146Smrgelse 3229c19de146Smrg pkg_failed=untried 3230c19de146Smrgfi 3231c19de146Smrgif test -n "$PKG_CONFIG"; then 3232c19de146Smrg if test -n "$XBIFF_LIBS"; then 3233c19de146Smrg pkg_cv_XBIFF_LIBS="$XBIFF_LIBS" 3234c19de146Smrg else 3235c19de146Smrg if test -n "$PKG_CONFIG" && \ 3236c19de146Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xbitmaps xext\"") >&5 3237c19de146Smrg ($PKG_CONFIG --exists --print-errors "xbitmaps xext") 2>&5 3238c19de146Smrg ac_status=$? 3239c19de146Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3240c19de146Smrg (exit $ac_status); }; then 3241c19de146Smrg pkg_cv_XBIFF_LIBS=`$PKG_CONFIG --libs "xbitmaps xext" 2>/dev/null` 3242c19de146Smrgelse 3243c19de146Smrg pkg_failed=yes 3244c19de146Smrgfi 3245c19de146Smrg fi 3246c19de146Smrgelse 3247c19de146Smrg pkg_failed=untried 3248c19de146Smrgfi 3249c19de146Smrg 3250c19de146Smrg 3251c19de146Smrg 3252c19de146Smrgif test $pkg_failed = yes; then 3253c19de146Smrg 3254c19de146Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3255c19de146Smrg _pkg_short_errors_supported=yes 3256c19de146Smrgelse 3257c19de146Smrg _pkg_short_errors_supported=no 3258c19de146Smrgfi 3259c19de146Smrg if test $_pkg_short_errors_supported = yes; then 3260c19de146Smrg XBIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xbitmaps xext"` 3261c19de146Smrg else 3262c19de146Smrg XBIFF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xbitmaps xext"` 3263c19de146Smrg fi 3264c19de146Smrg # Put the nasty error message in config.log where it belongs 3265c19de146Smrg echo "$XBIFF_PKG_ERRORS" >&5 3266c19de146Smrg 3267c19de146Smrg { { echo "$as_me:$LINENO: error: Package requirements (xbitmaps xext) were not met: 3268c19de146Smrg 3269c19de146Smrg$XBIFF_PKG_ERRORS 3270c19de146Smrg 3271c19de146SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 3272c19de146Smrginstalled software in a non-standard prefix. 3273c19de146Smrg 3274c19de146SmrgAlternatively, you may set the environment variables XBIFF_CFLAGS 3275c19de146Smrgand XBIFF_LIBS to avoid the need to call pkg-config. 3276c19de146SmrgSee the pkg-config man page for more details. 3277c19de146Smrg" >&5 3278c19de146Smrgecho "$as_me: error: Package requirements (xbitmaps xext) were not met: 3279c19de146Smrg 3280c19de146Smrg$XBIFF_PKG_ERRORS 3281c19de146Smrg 3282c19de146SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 3283c19de146Smrginstalled software in a non-standard prefix. 3284c19de146Smrg 3285c19de146SmrgAlternatively, you may set the environment variables XBIFF_CFLAGS 3286c19de146Smrgand XBIFF_LIBS to avoid the need to call pkg-config. 3287c19de146SmrgSee the pkg-config man page for more details. 3288c19de146Smrg" >&2;} 3289c19de146Smrg { (exit 1); exit 1; }; } 3290c19de146Smrgelif test $pkg_failed = untried; then 3291c19de146Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 3292c19de146Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 3293c19de146Smrgpath to pkg-config. 3294c19de146Smrg 3295c19de146SmrgAlternatively, you may set the environment variables XBIFF_CFLAGS 3296c19de146Smrgand XBIFF_LIBS to avoid the need to call pkg-config. 3297c19de146SmrgSee the pkg-config man page for more details. 3298c19de146Smrg 3299c19de146SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 3300c19de146SmrgSee \`config.log' for more details." >&5 3301c19de146Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 3302c19de146Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 3303c19de146Smrgpath to pkg-config. 3304c19de146Smrg 3305c19de146SmrgAlternatively, you may set the environment variables XBIFF_CFLAGS 3306c19de146Smrgand XBIFF_LIBS to avoid the need to call pkg-config. 3307c19de146SmrgSee the pkg-config man page for more details. 3308c19de146Smrg 3309c19de146SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 3310c19de146SmrgSee \`config.log' for more details." >&2;} 3311c19de146Smrg { (exit 1); exit 1; }; } 3312c19de146Smrgelse 3313c19de146Smrg XBIFF_CFLAGS=$pkg_cv_XBIFF_CFLAGS 3314c19de146Smrg XBIFF_LIBS=$pkg_cv_XBIFF_LIBS 3315c19de146Smrg echo "$as_me:$LINENO: result: yes" >&5 3316c19de146Smrgecho "${ECHO_T}yes" >&6 3317c19de146Smrg : 3318c19de146Smrgfi 3319c19de146Smrg 3320c19de146SmrgXBIFF_CFLAGS="$XBIFF_CFLAGS $XAW_CFLAGS" 3321c19de146SmrgXBIFF_LIBS="$XBIFF_LIBS $XAW_LIBS" 3322c19de146Smrg 3323c19de146Smrg 3324c19de146Smrg 3325c19de146Smrg 3326c19de146Smrg# Make sure we can run config.sub. 3327c19de146Smrg$ac_config_sub sun4 >/dev/null 2>&1 || 3328c19de146Smrg { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 3329c19de146Smrgecho "$as_me: error: cannot run $ac_config_sub" >&2;} 3330c19de146Smrg { (exit 1); exit 1; }; } 3331c19de146Smrg 3332c19de146Smrgecho "$as_me:$LINENO: checking build system type" >&5 3333c19de146Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6 3334c19de146Smrgif test "${ac_cv_build+set}" = set; then 3335c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 3336c19de146Smrgelse 3337c19de146Smrg ac_cv_build_alias=$build_alias 3338c19de146Smrgtest -z "$ac_cv_build_alias" && 3339c19de146Smrg ac_cv_build_alias=`$ac_config_guess` 3340c19de146Smrgtest -z "$ac_cv_build_alias" && 3341c19de146Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3342c19de146Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 3343c19de146Smrg { (exit 1); exit 1; }; } 3344c19de146Smrgac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 3345c19de146Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 3346c19de146Smrgecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3347c19de146Smrg { (exit 1); exit 1; }; } 3348c19de146Smrg 3349c19de146Smrgfi 3350c19de146Smrgecho "$as_me:$LINENO: result: $ac_cv_build" >&5 3351c19de146Smrgecho "${ECHO_T}$ac_cv_build" >&6 3352c19de146Smrgbuild=$ac_cv_build 3353c19de146Smrgbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3354c19de146Smrgbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3355c19de146Smrgbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3356c19de146Smrg 3357c19de146Smrg 3358c19de146Smrgecho "$as_me:$LINENO: checking host system type" >&5 3359c19de146Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6 3360c19de146Smrgif test "${ac_cv_host+set}" = set; then 3361c19de146Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 3362c19de146Smrgelse 3363c19de146Smrg ac_cv_host_alias=$host_alias 3364c19de146Smrgtest -z "$ac_cv_host_alias" && 3365c19de146Smrg ac_cv_host_alias=$ac_cv_build_alias 3366c19de146Smrgac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 3367c19de146Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 3368c19de146Smrgecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 3369c19de146Smrg { (exit 1); exit 1; }; } 3370c19de146Smrg 3371c19de146Smrgfi 3372c19de146Smrgecho "$as_me:$LINENO: result: $ac_cv_host" >&5 3373c19de146Smrgecho "${ECHO_T}$ac_cv_host" >&6 3374c19de146Smrghost=$ac_cv_host 3375c19de146Smrghost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3376c19de146Smrghost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3377c19de146Smrghost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3378c19de146Smrg 3379c19de146Smrg 3380c19de146Smrg 3381c19de146Smrg 3382c19de146Smrg 3383c19de146Smrgif test x$APP_MAN_SUFFIX = x ; then 3384c19de146Smrg case $host_os in 3385c19de146Smrg linux*) APP_MAN_SUFFIX=1x ;; 3386c19de146Smrg *) APP_MAN_SUFFIX=1 ;; 3387c19de146Smrg esac 3388c19de146Smrgfi 3389c19de146Smrgif test x$APP_MAN_DIR = x ; then 3390c19de146Smrg case $host_os in 3391c19de146Smrg linux*) APP_MAN_DIR='$(mandir)/man1' ;; 3392c19de146Smrg *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;; 3393c19de146Smrg esac 3394c19de146Smrgfi 3395c19de146Smrg 3396c19de146Smrgif test x$LIB_MAN_SUFFIX = x ; then 3397c19de146Smrg case $host_os in 3398c19de146Smrg linux*) LIB_MAN_SUFFIX=3x ;; 3399c19de146Smrg *) LIB_MAN_SUFFIX=3 ;; 3400c19de146Smrg esac 3401c19de146Smrgfi 3402c19de146Smrgif test x$LIB_MAN_DIR = x ; then 3403c19de146Smrg case $host_os in 3404c19de146Smrg linux*) LIB_MAN_DIR='$(mandir)/man3' ;; 3405c19de146Smrg *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;; 3406c19de146Smrg esac 3407c19de146Smrgfi 3408c19de146Smrg 3409c19de146Smrgif test x$FILE_MAN_SUFFIX = x ; then 3410c19de146Smrg case $host_os in 3411c19de146Smrg linux*) FILE_MAN_SUFFIX=5x ;; 3412c19de146Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 3413c19de146Smrg *) FILE_MAN_SUFFIX=5 ;; 3414c19de146Smrg esac 3415c19de146Smrgfi 3416c19de146Smrgif test x$FILE_MAN_DIR = x ; then 3417c19de146Smrg case $host_os in 3418c19de146Smrg linux*) FILE_MAN_DIR='$(mandir)/man5' ;; 3419c19de146Smrg *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;; 3420c19de146Smrg esac 3421c19de146Smrgfi 3422c19de146Smrg 3423c19de146Smrg# In Imake's linux.cf, the misc man suffix & dir was only changed for 3424c19de146Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 3425c19de146Smrgif test x$MISC_MAN_SUFFIX = x ; then 3426c19de146Smrg case $host_os in 3427c19de146Smrg# linux*) MISC_MAN_SUFFIX=7x ;; 3428c19de146Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 3429c19de146Smrg *) MISC_MAN_SUFFIX=7 ;; 3430c19de146Smrg esac 3431c19de146Smrgfi 3432c19de146Smrgif test x$MISC_MAN_DIR = x ; then 3433c19de146Smrg case $host_os in 3434c19de146Smrg# linux*) MISC_MAN_DIR='$(mandir)/man7' ;; 3435c19de146Smrg *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;; 3436c19de146Smrg esac 3437c19de146Smrgfi 3438c19de146Smrg 3439c19de146Smrg# In Imake's linux.cf, the driver man suffix & dir was only changed for 3440c19de146Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 3441c19de146Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 3442c19de146Smrg case $host_os in 3443c19de146Smrg# linux*) DRIVER_MAN_SUFFIX=4x ;; 3444c19de146Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 3445c19de146Smrg *) DRIVER_MAN_SUFFIX=4 ;; 3446c19de146Smrg esac 3447c19de146Smrgfi 3448c19de146Smrgif test x$DRIVER_MAN_DIR = x ; then 3449c19de146Smrg case $host_os in 3450c19de146Smrg# linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;; 3451c19de146Smrg *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;; 3452c19de146Smrg esac 3453c19de146Smrgfi 3454c19de146Smrg 3455c19de146Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 3456c19de146Smrg case $host_os in 3457c19de146Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 3458c19de146Smrg *) ADMIN_MAN_SUFFIX=8 ;; 3459c19de146Smrg esac 3460c19de146Smrgfi 3461c19de146Smrgif test x$ADMIN_MAN_DIR = x ; then 3462c19de146Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 3463c19de146Smrgfi 3464c19de146Smrg 3465c19de146Smrg 3466c19de146Smrg 3467c19de146Smrg 3468c19de146Smrg 3469c19de146Smrg 3470c19de146Smrg 3471c19de146Smrg 3472c19de146Smrg 3473c19de146Smrg 3474c19de146Smrg 3475c19de146Smrg 3476c19de146Smrg 3477c19de146Smrg 3478c19de146Smrg 3479c19de146Smrg 3480c19de146Smrg 3481c19de146Smrg# Check whether --with-release-version or --without-release-version was given. 3482c19de146Smrgif test "${with_release_version+set}" = set; then 3483c19de146Smrg withval="$with_release_version" 3484c19de146Smrg RELEASE_VERSION="$withval" 3485c19de146Smrgelse 3486c19de146Smrg RELEASE_VERSION="" 3487c19de146Smrgfi; 3488c19de146Smrg if test "x$RELEASE_VERSION" != "x"; then 3489c19de146Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 3490c19de146Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 3491c19de146Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 3492c19de146Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 3493c19de146Smrg fi 3494c19de146Smrg 3495c19de146Smrg 3496c19de146Smrg ac_config_files="$ac_config_files Makefile" 3497c19de146Smrgcat >confcache <<\_ACEOF 3498c19de146Smrg# This file is a shell script that caches the results of configure 3499c19de146Smrg# tests run on this system so they can be shared between configure 3500c19de146Smrg# scripts and configure runs, see configure's option --config-cache. 3501c19de146Smrg# It is not useful on other systems. If it contains results you don't 3502c19de146Smrg# want to keep, you may remove or edit it. 3503c19de146Smrg# 3504c19de146Smrg# config.status only pays attention to the cache file if you give it 3505c19de146Smrg# the --recheck option to rerun configure. 3506c19de146Smrg# 3507c19de146Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 3508c19de146Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 3509c19de146Smrg# following values. 3510c19de146Smrg 3511c19de146Smrg_ACEOF 3512c19de146Smrg 3513c19de146Smrg# The following way of writing the cache mishandles newlines in values, 3514c19de146Smrg# but we know of no workaround that is simple, portable, and efficient. 3515c19de146Smrg# So, don't put newlines in cache variables' values. 3516c19de146Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 3517c19de146Smrg# and sets the high bit in the cache file unless we assign to the vars. 3518c19de146Smrg{ 3519c19de146Smrg (set) 2>&1 | 3520c19de146Smrg case `(ac_space=' '; set | grep ac_space) 2>&1` in 3521c19de146Smrg *ac_space=\ *) 3522c19de146Smrg # `set' does not quote correctly, so add quotes (double-quote 3523c19de146Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 3524c19de146Smrg sed -n \ 3525c19de146Smrg "s/'/'\\\\''/g; 3526c19de146Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3527c19de146Smrg ;; 3528c19de146Smrg *) 3529c19de146Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 3530c19de146Smrg sed -n \ 3531c19de146Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3532c19de146Smrg ;; 3533c19de146Smrg esac; 3534c19de146Smrg} | 3535c19de146Smrg sed ' 3536c19de146Smrg t clear 3537c19de146Smrg : clear 3538c19de146Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3539c19de146Smrg t end 3540c19de146Smrg /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3541c19de146Smrg : end' >>confcache 3542c19de146Smrgif diff $cache_file confcache >/dev/null 2>&1; then :; else 3543c19de146Smrg if test -w $cache_file; then 3544c19de146Smrg test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3545c19de146Smrg cat confcache >$cache_file 3546c19de146Smrg else 3547c19de146Smrg echo "not updating unwritable cache $cache_file" 3548c19de146Smrg fi 3549c19de146Smrgfi 3550c19de146Smrgrm -f confcache 3551c19de146Smrg 3552c19de146Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 3553c19de146Smrg# Let make expand exec_prefix. 3554c19de146Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3555c19de146Smrg 3556c19de146Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 3557c19de146Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3558c19de146Smrg# trailing colons and then remove the whole line if VPATH becomes empty 3559c19de146Smrg# (actually we leave an empty line to preserve line numbers). 3560c19de146Smrgif test "x$srcdir" = x.; then 3561c19de146Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3562c19de146Smrgs/:*\$(srcdir):*/:/; 3563c19de146Smrgs/:*\${srcdir}:*/:/; 3564c19de146Smrgs/:*@srcdir@:*/:/; 3565c19de146Smrgs/^\([^=]*=[ ]*\):*/\1/; 3566c19de146Smrgs/:*$//; 3567c19de146Smrgs/^[^=]*=[ ]*$//; 3568c19de146Smrg}' 3569c19de146Smrgfi 3570c19de146Smrg 3571c19de146SmrgDEFS=-DHAVE_CONFIG_H 3572c19de146Smrg 3573c19de146Smrgac_libobjs= 3574c19de146Smrgac_ltlibobjs= 3575c19de146Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3576c19de146Smrg # 1. Remove the extension, and $U if already installed. 3577c19de146Smrg ac_i=`echo "$ac_i" | 3578c19de146Smrg sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3579c19de146Smrg # 2. Add them. 3580c19de146Smrg ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3581c19de146Smrg ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 3582c19de146Smrgdone 3583c19de146SmrgLIBOBJS=$ac_libobjs 3584c19de146Smrg 3585c19de146SmrgLTLIBOBJS=$ac_ltlibobjs 3586c19de146Smrg 3587c19de146Smrg 3588c19de146Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 3589c19de146Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 3590c19de146SmrgUsually this means the macro was only invoked conditionally." >&5 3591c19de146Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 3592c19de146SmrgUsually this means the macro was only invoked conditionally." >&2;} 3593c19de146Smrg { (exit 1); exit 1; }; } 3594c19de146Smrgfi 3595c19de146Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 3596c19de146Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 3597c19de146SmrgUsually this means the macro was only invoked conditionally." >&5 3598c19de146Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 3599c19de146SmrgUsually this means the macro was only invoked conditionally." >&2;} 3600c19de146Smrg { (exit 1); exit 1; }; } 3601c19de146Smrgfi 3602c19de146Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 3603c19de146Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 3604c19de146SmrgUsually this means the macro was only invoked conditionally." >&5 3605c19de146Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 3606c19de146SmrgUsually this means the macro was only invoked conditionally." >&2;} 3607c19de146Smrg { (exit 1); exit 1; }; } 3608c19de146Smrgfi 3609c19de146Smrgif test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then 3610c19de146Smrg { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined. 3611c19de146SmrgUsually this means the macro was only invoked conditionally." >&5 3612c19de146Smrgecho "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined. 3613c19de146SmrgUsually this means the macro was only invoked conditionally." >&2;} 3614c19de146Smrg { (exit 1); exit 1; }; } 3615c19de146Smrgfi 3616c19de146Smrg 3617c19de146Smrg: ${CONFIG_STATUS=./config.status} 3618c19de146Smrgac_clean_files_save=$ac_clean_files 3619c19de146Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 3620c19de146Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3621c19de146Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 3622c19de146Smrgcat >$CONFIG_STATUS <<_ACEOF 3623c19de146Smrg#! $SHELL 3624c19de146Smrg# Generated by $as_me. 3625c19de146Smrg# Run this file to recreate the current configuration. 3626c19de146Smrg# Compiler output produced by configure, useful for debugging 3627c19de146Smrg# configure, is in config.log if it exists. 3628c19de146Smrg 3629c19de146Smrgdebug=false 3630c19de146Smrgac_cs_recheck=false 3631c19de146Smrgac_cs_silent=false 3632c19de146SmrgSHELL=\${CONFIG_SHELL-$SHELL} 3633c19de146Smrg_ACEOF 3634c19de146Smrg 3635c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 3636c19de146Smrg## --------------------- ## 3637c19de146Smrg## M4sh Initialization. ## 3638c19de146Smrg## --------------------- ## 3639c19de146Smrg 3640c19de146Smrg# Be Bourne compatible 3641c19de146Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3642c19de146Smrg emulate sh 3643c19de146Smrg NULLCMD=: 3644c19de146Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3645c19de146Smrg # is contrary to our usage. Disable this feature. 3646c19de146Smrg alias -g '${1+"$@"}'='"$@"' 3647c19de146Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3648c19de146Smrg set -o posix 3649c19de146Smrgfi 3650c19de146SmrgDUALCASE=1; export DUALCASE # for MKS sh 3651c19de146Smrg 3652c19de146Smrg# Support unset when possible. 3653c19de146Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3654c19de146Smrg as_unset=unset 3655c19de146Smrgelse 3656c19de146Smrg as_unset=false 3657c19de146Smrgfi 3658c19de146Smrg 3659c19de146Smrg 3660c19de146Smrg# Work around bugs in pre-3.0 UWIN ksh. 3661c19de146Smrg$as_unset ENV MAIL MAILPATH 3662c19de146SmrgPS1='$ ' 3663c19de146SmrgPS2='> ' 3664c19de146SmrgPS4='+ ' 3665c19de146Smrg 3666c19de146Smrg# NLS nuisances. 3667c19de146Smrgfor as_var in \ 3668c19de146Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3669c19de146Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3670c19de146Smrg LC_TELEPHONE LC_TIME 3671c19de146Smrgdo 3672c19de146Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3673c19de146Smrg eval $as_var=C; export $as_var 3674c19de146Smrg else 3675c19de146Smrg $as_unset $as_var 3676c19de146Smrg fi 3677c19de146Smrgdone 3678c19de146Smrg 3679c19de146Smrg# Required to use basename. 3680c19de146Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 3681c19de146Smrg as_expr=expr 3682c19de146Smrgelse 3683c19de146Smrg as_expr=false 3684c19de146Smrgfi 3685c19de146Smrg 3686c19de146Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 3687c19de146Smrg as_basename=basename 3688c19de146Smrgelse 3689c19de146Smrg as_basename=false 3690c19de146Smrgfi 3691c19de146Smrg 3692c19de146Smrg 3693c19de146Smrg# Name of the executable. 3694c19de146Smrgas_me=`$as_basename "$0" || 3695c19de146Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3696c19de146Smrg X"$0" : 'X\(//\)$' \| \ 3697c19de146Smrg X"$0" : 'X\(/\)$' \| \ 3698c19de146Smrg . : '\(.\)' 2>/dev/null || 3699c19de146Smrgecho X/"$0" | 3700c19de146Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3701c19de146Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 3702c19de146Smrg /^X\/\(\/\).*/{ s//\1/; q; } 3703c19de146Smrg s/.*/./; q'` 3704c19de146Smrg 3705c19de146Smrg 3706c19de146Smrg# PATH needs CR, and LINENO needs CR and PATH. 3707c19de146Smrg# Avoid depending upon Character Ranges. 3708c19de146Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 3709c19de146Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3710c19de146Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 3711c19de146Smrgas_cr_digits='0123456789' 3712c19de146Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 3713c19de146Smrg 3714c19de146Smrg# The user is always right. 3715c19de146Smrgif test "${PATH_SEPARATOR+set}" != set; then 3716c19de146Smrg echo "#! /bin/sh" >conf$$.sh 3717c19de146Smrg echo "exit 0" >>conf$$.sh 3718c19de146Smrg chmod +x conf$$.sh 3719c19de146Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3720c19de146Smrg PATH_SEPARATOR=';' 3721c19de146Smrg else 3722c19de146Smrg PATH_SEPARATOR=: 3723c19de146Smrg fi 3724c19de146Smrg rm -f conf$$.sh 3725c19de146Smrgfi 3726c19de146Smrg 3727c19de146Smrg 3728c19de146Smrg as_lineno_1=$LINENO 3729c19de146Smrg as_lineno_2=$LINENO 3730c19de146Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3731c19de146Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 3732c19de146Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 3733c19de146Smrg # Find who we are. Look in the path if we contain no path at all 3734c19de146Smrg # relative or not. 3735c19de146Smrg case $0 in 3736c19de146Smrg *[\\/]* ) as_myself=$0 ;; 3737c19de146Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3738c19de146Smrgfor as_dir in $PATH 3739c19de146Smrgdo 3740c19de146Smrg IFS=$as_save_IFS 3741c19de146Smrg test -z "$as_dir" && as_dir=. 3742c19de146Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3743c19de146Smrgdone 3744c19de146Smrg 3745c19de146Smrg ;; 3746c19de146Smrg esac 3747c19de146Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 3748c19de146Smrg # in which case we are not to be found in the path. 3749c19de146Smrg if test "x$as_myself" = x; then 3750c19de146Smrg as_myself=$0 3751c19de146Smrg fi 3752c19de146Smrg if test ! -f "$as_myself"; then 3753c19de146Smrg { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3754c19de146Smrgecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3755c19de146Smrg { (exit 1); exit 1; }; } 3756c19de146Smrg fi 3757c19de146Smrg case $CONFIG_SHELL in 3758c19de146Smrg '') 3759c19de146Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3760c19de146Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3761c19de146Smrgdo 3762c19de146Smrg IFS=$as_save_IFS 3763c19de146Smrg test -z "$as_dir" && as_dir=. 3764c19de146Smrg for as_base in sh bash ksh sh5; do 3765c19de146Smrg case $as_dir in 3766c19de146Smrg /*) 3767c19de146Smrg if ("$as_dir/$as_base" -c ' 3768c19de146Smrg as_lineno_1=$LINENO 3769c19de146Smrg as_lineno_2=$LINENO 3770c19de146Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3771c19de146Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 3772c19de146Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3773c19de146Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3774c19de146Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3775c19de146Smrg CONFIG_SHELL=$as_dir/$as_base 3776c19de146Smrg export CONFIG_SHELL 3777c19de146Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3778c19de146Smrg fi;; 3779c19de146Smrg esac 3780c19de146Smrg done 3781c19de146Smrgdone 3782c19de146Smrg;; 3783c19de146Smrg esac 3784c19de146Smrg 3785c19de146Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3786c19de146Smrg # uniformly replaced by the line number. The first 'sed' inserts a 3787c19de146Smrg # line-number line before each line; the second 'sed' does the real 3788c19de146Smrg # work. The second script uses 'N' to pair each line-number line 3789c19de146Smrg # with the numbered line, and appends trailing '-' during 3790c19de146Smrg # substitution so that $LINENO is not a special case at line end. 3791c19de146Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3792c19de146Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3793c19de146Smrg sed '=' <$as_myself | 3794c19de146Smrg sed ' 3795c19de146Smrg N 3796c19de146Smrg s,$,-, 3797c19de146Smrg : loop 3798c19de146Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3799c19de146Smrg t loop 3800c19de146Smrg s,-$,, 3801c19de146Smrg s,^['$as_cr_digits']*\n,, 3802c19de146Smrg ' >$as_me.lineno && 3803c19de146Smrg chmod +x $as_me.lineno || 3804c19de146Smrg { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3805c19de146Smrgecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3806c19de146Smrg { (exit 1); exit 1; }; } 3807c19de146Smrg 3808c19de146Smrg # Don't try to exec as it changes $[0], causing all sort of problems 3809c19de146Smrg # (the dirname of $[0] is not the place where we might find the 3810c19de146Smrg # original and so on. Autoconf is especially sensible to this). 3811c19de146Smrg . ./$as_me.lineno 3812c19de146Smrg # Exit status is that of the last command. 3813c19de146Smrg exit 3814c19de146Smrg} 3815c19de146Smrg 3816c19de146Smrg 3817c19de146Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3818c19de146Smrg *c*,-n*) ECHO_N= ECHO_C=' 3819c19de146Smrg' ECHO_T=' ' ;; 3820c19de146Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3821c19de146Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3822c19de146Smrgesac 3823c19de146Smrg 3824c19de146Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 3825c19de146Smrg as_expr=expr 3826c19de146Smrgelse 3827c19de146Smrg as_expr=false 3828c19de146Smrgfi 3829c19de146Smrg 3830c19de146Smrgrm -f conf$$ conf$$.exe conf$$.file 3831c19de146Smrgecho >conf$$.file 3832c19de146Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 3833c19de146Smrg # We could just check for DJGPP; but this test a) works b) is more generic 3834c19de146Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3835c19de146Smrg if test -f conf$$.exe; then 3836c19de146Smrg # Don't use ln at all; we don't have any links 3837c19de146Smrg as_ln_s='cp -p' 3838c19de146Smrg else 3839c19de146Smrg as_ln_s='ln -s' 3840c19de146Smrg fi 3841c19de146Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 3842c19de146Smrg as_ln_s=ln 3843c19de146Smrgelse 3844c19de146Smrg as_ln_s='cp -p' 3845c19de146Smrgfi 3846c19de146Smrgrm -f conf$$ conf$$.exe conf$$.file 3847c19de146Smrg 3848c19de146Smrgif mkdir -p . 2>/dev/null; then 3849c19de146Smrg as_mkdir_p=: 3850c19de146Smrgelse 3851c19de146Smrg test -d ./-p && rmdir ./-p 3852c19de146Smrg as_mkdir_p=false 3853c19de146Smrgfi 3854c19de146Smrg 3855c19de146Smrgas_executable_p="test -f" 3856c19de146Smrg 3857c19de146Smrg# Sed expression to map a string onto a valid CPP name. 3858c19de146Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3859c19de146Smrg 3860c19de146Smrg# Sed expression to map a string onto a valid variable name. 3861c19de146Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3862c19de146Smrg 3863c19de146Smrg 3864c19de146Smrg# IFS 3865c19de146Smrg# We need space, tab and new line, in precisely that order. 3866c19de146Smrgas_nl=' 3867c19de146Smrg' 3868c19de146SmrgIFS=" $as_nl" 3869c19de146Smrg 3870c19de146Smrg# CDPATH. 3871c19de146Smrg$as_unset CDPATH 3872c19de146Smrg 3873c19de146Smrgexec 6>&1 3874c19de146Smrg 3875c19de146Smrg# Open the log real soon, to keep \$[0] and so on meaningful, and to 3876c19de146Smrg# report actual input values of CONFIG_FILES etc. instead of their 3877c19de146Smrg# values after options handling. Logging --version etc. is OK. 3878c19de146Smrgexec 5>>config.log 3879c19de146Smrg{ 3880c19de146Smrg echo 3881c19de146Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3882c19de146Smrg## Running $as_me. ## 3883c19de146Smrg_ASBOX 3884c19de146Smrg} >&5 3885c19de146Smrgcat >&5 <<_CSEOF 3886c19de146Smrg 3887c19de146SmrgThis file was extended by xbiff $as_me 1.0.1, which was 3888c19de146Smrggenerated by GNU Autoconf 2.59. Invocation command line was 3889c19de146Smrg 3890c19de146Smrg CONFIG_FILES = $CONFIG_FILES 3891c19de146Smrg CONFIG_HEADERS = $CONFIG_HEADERS 3892c19de146Smrg CONFIG_LINKS = $CONFIG_LINKS 3893c19de146Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 3894c19de146Smrg $ $0 $@ 3895c19de146Smrg 3896c19de146Smrg_CSEOF 3897c19de146Smrgecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3898c19de146Smrgecho >&5 3899c19de146Smrg_ACEOF 3900c19de146Smrg 3901c19de146Smrg# Files that config.status was made for. 3902c19de146Smrgif test -n "$ac_config_files"; then 3903c19de146Smrg echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3904c19de146Smrgfi 3905c19de146Smrg 3906c19de146Smrgif test -n "$ac_config_headers"; then 3907c19de146Smrg echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3908c19de146Smrgfi 3909c19de146Smrg 3910c19de146Smrgif test -n "$ac_config_links"; then 3911c19de146Smrg echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3912c19de146Smrgfi 3913c19de146Smrg 3914c19de146Smrgif test -n "$ac_config_commands"; then 3915c19de146Smrg echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3916c19de146Smrgfi 3917c19de146Smrg 3918c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 3919c19de146Smrg 3920c19de146Smrgac_cs_usage="\ 3921c19de146Smrg\`$as_me' instantiates files from templates according to the 3922c19de146Smrgcurrent configuration. 3923c19de146Smrg 3924c19de146SmrgUsage: $0 [OPTIONS] [FILE]... 3925c19de146Smrg 3926c19de146Smrg -h, --help print this help, then exit 3927c19de146Smrg -V, --version print version number, then exit 3928c19de146Smrg -q, --quiet do not print progress messages 3929c19de146Smrg -d, --debug don't remove temporary files 3930c19de146Smrg --recheck update $as_me by reconfiguring in the same conditions 3931c19de146Smrg --file=FILE[:TEMPLATE] 3932c19de146Smrg instantiate the configuration file FILE 3933c19de146Smrg --header=FILE[:TEMPLATE] 3934c19de146Smrg instantiate the configuration header FILE 3935c19de146Smrg 3936c19de146SmrgConfiguration files: 3937c19de146Smrg$config_files 3938c19de146Smrg 3939c19de146SmrgConfiguration headers: 3940c19de146Smrg$config_headers 3941c19de146Smrg 3942c19de146SmrgConfiguration commands: 3943c19de146Smrg$config_commands 3944c19de146Smrg 3945c19de146SmrgReport bugs to <bug-autoconf@gnu.org>." 3946c19de146Smrg_ACEOF 3947c19de146Smrg 3948c19de146Smrgcat >>$CONFIG_STATUS <<_ACEOF 3949c19de146Smrgac_cs_version="\\ 3950c19de146Smrgxbiff config.status 1.0.1 3951c19de146Smrgconfigured by $0, generated by GNU Autoconf 2.59, 3952c19de146Smrg with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 3953c19de146Smrg 3954c19de146SmrgCopyright (C) 2003 Free Software Foundation, Inc. 3955c19de146SmrgThis config.status script is free software; the Free Software Foundation 3956c19de146Smrggives unlimited permission to copy, distribute and modify it." 3957c19de146Smrgsrcdir=$srcdir 3958c19de146SmrgINSTALL="$INSTALL" 3959c19de146Smrg_ACEOF 3960c19de146Smrg 3961c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 3962c19de146Smrg# If no file are specified by the user, then we need to provide default 3963c19de146Smrg# value. By we need to know if files were specified by the user. 3964c19de146Smrgac_need_defaults=: 3965c19de146Smrgwhile test $# != 0 3966c19de146Smrgdo 3967c19de146Smrg case $1 in 3968c19de146Smrg --*=*) 3969c19de146Smrg ac_option=`expr "x$1" : 'x\([^=]*\)='` 3970c19de146Smrg ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 3971c19de146Smrg ac_shift=: 3972c19de146Smrg ;; 3973c19de146Smrg -*) 3974c19de146Smrg ac_option=$1 3975c19de146Smrg ac_optarg=$2 3976c19de146Smrg ac_shift=shift 3977c19de146Smrg ;; 3978c19de146Smrg *) # This is not an option, so the user has probably given explicit 3979c19de146Smrg # arguments. 3980c19de146Smrg ac_option=$1 3981c19de146Smrg ac_need_defaults=false;; 3982c19de146Smrg esac 3983c19de146Smrg 3984c19de146Smrg case $ac_option in 3985c19de146Smrg # Handling of the options. 3986c19de146Smrg_ACEOF 3987c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 3988c19de146Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3989c19de146Smrg ac_cs_recheck=: ;; 3990c19de146Smrg --version | --vers* | -V ) 3991c19de146Smrg echo "$ac_cs_version"; exit 0 ;; 3992c19de146Smrg --he | --h) 3993c19de146Smrg # Conflict between --help and --header 3994c19de146Smrg { { echo "$as_me:$LINENO: error: ambiguous option: $1 3995c19de146SmrgTry \`$0 --help' for more information." >&5 3996c19de146Smrgecho "$as_me: error: ambiguous option: $1 3997c19de146SmrgTry \`$0 --help' for more information." >&2;} 3998c19de146Smrg { (exit 1); exit 1; }; };; 3999c19de146Smrg --help | --hel | -h ) 4000c19de146Smrg echo "$ac_cs_usage"; exit 0 ;; 4001c19de146Smrg --debug | --d* | -d ) 4002c19de146Smrg debug=: ;; 4003c19de146Smrg --file | --fil | --fi | --f ) 4004c19de146Smrg $ac_shift 4005c19de146Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4006c19de146Smrg ac_need_defaults=false;; 4007c19de146Smrg --header | --heade | --head | --hea ) 4008c19de146Smrg $ac_shift 4009c19de146Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4010c19de146Smrg ac_need_defaults=false;; 4011c19de146Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4012c19de146Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 4013c19de146Smrg ac_cs_silent=: ;; 4014c19de146Smrg 4015c19de146Smrg # This is an error. 4016c19de146Smrg -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4017c19de146SmrgTry \`$0 --help' for more information." >&5 4018c19de146Smrgecho "$as_me: error: unrecognized option: $1 4019c19de146SmrgTry \`$0 --help' for more information." >&2;} 4020c19de146Smrg { (exit 1); exit 1; }; } ;; 4021c19de146Smrg 4022c19de146Smrg *) ac_config_targets="$ac_config_targets $1" ;; 4023c19de146Smrg 4024c19de146Smrg esac 4025c19de146Smrg shift 4026c19de146Smrgdone 4027c19de146Smrg 4028c19de146Smrgac_configure_extra_args= 4029c19de146Smrg 4030c19de146Smrgif $ac_cs_silent; then 4031c19de146Smrg exec 6>/dev/null 4032c19de146Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 4033c19de146Smrgfi 4034c19de146Smrg 4035c19de146Smrg_ACEOF 4036c19de146Smrgcat >>$CONFIG_STATUS <<_ACEOF 4037c19de146Smrgif \$ac_cs_recheck; then 4038c19de146Smrg echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4039c19de146Smrg exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4040c19de146Smrgfi 4041c19de146Smrg 4042c19de146Smrg_ACEOF 4043c19de146Smrg 4044c19de146Smrgcat >>$CONFIG_STATUS <<_ACEOF 4045c19de146Smrg# 4046c19de146Smrg# INIT-COMMANDS section. 4047c19de146Smrg# 4048c19de146Smrg 4049c19de146SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4050c19de146Smrg 4051c19de146Smrg_ACEOF 4052c19de146Smrg 4053c19de146Smrg 4054c19de146Smrg 4055c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 4056c19de146Smrgfor ac_config_target in $ac_config_targets 4057c19de146Smrgdo 4058c19de146Smrg case "$ac_config_target" in 4059c19de146Smrg # Handling of arguments. 4060c19de146Smrg "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4061c19de146Smrg "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4062c19de146Smrg "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4063c19de146Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4064c19de146Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 4065c19de146Smrg { (exit 1); exit 1; }; };; 4066c19de146Smrg esac 4067c19de146Smrgdone 4068c19de146Smrg 4069c19de146Smrg# If the user did not use the arguments to specify the items to instantiate, 4070c19de146Smrg# then the envvar interface is used. Set only those that are not. 4071c19de146Smrg# We use the long form for the default assignment because of an extremely 4072c19de146Smrg# bizarre bug on SunOS 4.1.3. 4073c19de146Smrgif $ac_need_defaults; then 4074c19de146Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4075c19de146Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4076c19de146Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4077c19de146Smrgfi 4078c19de146Smrg 4079c19de146Smrg# Have a temporary directory for convenience. Make it in the build tree 4080c19de146Smrg# simply because there is no reason to put it here, and in addition, 4081c19de146Smrg# creating and moving files from /tmp can sometimes cause problems. 4082c19de146Smrg# Create a temporary directory, and hook for its removal unless debugging. 4083c19de146Smrg$debug || 4084c19de146Smrg{ 4085c19de146Smrg trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 4086c19de146Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 4087c19de146Smrg} 4088c19de146Smrg 4089c19de146Smrg# Create a (secure) tmp directory for tmp files. 4090c19de146Smrg 4091c19de146Smrg{ 4092c19de146Smrg tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 4093c19de146Smrg test -n "$tmp" && test -d "$tmp" 4094c19de146Smrg} || 4095c19de146Smrg{ 4096c19de146Smrg tmp=./confstat$$-$RANDOM 4097c19de146Smrg (umask 077 && mkdir $tmp) 4098c19de146Smrg} || 4099c19de146Smrg{ 4100c19de146Smrg echo "$me: cannot create a temporary directory in ." >&2 4101c19de146Smrg { (exit 1); exit 1; } 4102c19de146Smrg} 4103c19de146Smrg 4104c19de146Smrg_ACEOF 4105c19de146Smrg 4106c19de146Smrgcat >>$CONFIG_STATUS <<_ACEOF 4107c19de146Smrg 4108c19de146Smrg# 4109c19de146Smrg# CONFIG_FILES section. 4110c19de146Smrg# 4111c19de146Smrg 4112c19de146Smrg# No need to generate the scripts if there are no CONFIG_FILES. 4113c19de146Smrg# This happens for instance when ./config.status config.h 4114c19de146Smrgif test -n "\$CONFIG_FILES"; then 4115c19de146Smrg # Protect against being on the right side of a sed subst in config.status. 4116c19de146Smrg sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 4117c19de146Smrg s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4118c19de146Smrgs,@SHELL@,$SHELL,;t t 4119c19de146Smrgs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4120c19de146Smrgs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4121c19de146Smrgs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4122c19de146Smrgs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4123c19de146Smrgs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4124c19de146Smrgs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4125c19de146Smrgs,@exec_prefix@,$exec_prefix,;t t 4126c19de146Smrgs,@prefix@,$prefix,;t t 4127c19de146Smrgs,@program_transform_name@,$program_transform_name,;t t 4128c19de146Smrgs,@bindir@,$bindir,;t t 4129c19de146Smrgs,@sbindir@,$sbindir,;t t 4130c19de146Smrgs,@libexecdir@,$libexecdir,;t t 4131c19de146Smrgs,@datadir@,$datadir,;t t 4132c19de146Smrgs,@sysconfdir@,$sysconfdir,;t t 4133c19de146Smrgs,@sharedstatedir@,$sharedstatedir,;t t 4134c19de146Smrgs,@localstatedir@,$localstatedir,;t t 4135c19de146Smrgs,@libdir@,$libdir,;t t 4136c19de146Smrgs,@includedir@,$includedir,;t t 4137c19de146Smrgs,@oldincludedir@,$oldincludedir,;t t 4138c19de146Smrgs,@infodir@,$infodir,;t t 4139c19de146Smrgs,@mandir@,$mandir,;t t 4140c19de146Smrgs,@build_alias@,$build_alias,;t t 4141c19de146Smrgs,@host_alias@,$host_alias,;t t 4142c19de146Smrgs,@target_alias@,$target_alias,;t t 4143c19de146Smrgs,@DEFS@,$DEFS,;t t 4144c19de146Smrgs,@ECHO_C@,$ECHO_C,;t t 4145c19de146Smrgs,@ECHO_N@,$ECHO_N,;t t 4146c19de146Smrgs,@ECHO_T@,$ECHO_T,;t t 4147c19de146Smrgs,@LIBS@,$LIBS,;t t 4148c19de146Smrgs,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 4149c19de146Smrgs,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 4150c19de146Smrgs,@INSTALL_DATA@,$INSTALL_DATA,;t t 4151c19de146Smrgs,@CYGPATH_W@,$CYGPATH_W,;t t 4152c19de146Smrgs,@PACKAGE@,$PACKAGE,;t t 4153c19de146Smrgs,@VERSION@,$VERSION,;t t 4154c19de146Smrgs,@ACLOCAL@,$ACLOCAL,;t t 4155c19de146Smrgs,@AUTOCONF@,$AUTOCONF,;t t 4156c19de146Smrgs,@AUTOMAKE@,$AUTOMAKE,;t t 4157c19de146Smrgs,@AUTOHEADER@,$AUTOHEADER,;t t 4158c19de146Smrgs,@MAKEINFO@,$MAKEINFO,;t t 4159c19de146Smrgs,@AMTAR@,$AMTAR,;t t 4160c19de146Smrgs,@install_sh@,$install_sh,;t t 4161c19de146Smrgs,@STRIP@,$STRIP,;t t 4162c19de146Smrgs,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 4163c19de146Smrgs,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 4164c19de146Smrgs,@AWK@,$AWK,;t t 4165c19de146Smrgs,@SET_MAKE@,$SET_MAKE,;t t 4166c19de146Smrgs,@am__leading_dot@,$am__leading_dot,;t t 4167c19de146Smrgs,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 4168c19de146Smrgs,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 4169c19de146Smrgs,@MAINT@,$MAINT,;t t 4170c19de146Smrgs,@CC@,$CC,;t t 4171c19de146Smrgs,@CFLAGS@,$CFLAGS,;t t 4172c19de146Smrgs,@LDFLAGS@,$LDFLAGS,;t t 4173c19de146Smrgs,@CPPFLAGS@,$CPPFLAGS,;t t 4174c19de146Smrgs,@ac_ct_CC@,$ac_ct_CC,;t t 4175c19de146Smrgs,@EXEEXT@,$EXEEXT,;t t 4176c19de146Smrgs,@OBJEXT@,$OBJEXT,;t t 4177c19de146Smrgs,@DEPDIR@,$DEPDIR,;t t 4178c19de146Smrgs,@am__include@,$am__include,;t t 4179c19de146Smrgs,@am__quote@,$am__quote,;t t 4180c19de146Smrgs,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 4181c19de146Smrgs,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 4182c19de146Smrgs,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 4183c19de146Smrgs,@CCDEPMODE@,$CCDEPMODE,;t t 4184c19de146Smrgs,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 4185c19de146Smrgs,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 4186c19de146Smrgs,@PKG_CONFIG@,$PKG_CONFIG,;t t 4187c19de146Smrgs,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 4188c19de146Smrgs,@TMP_XAW_CFLAGS@,$TMP_XAW_CFLAGS,;t t 4189c19de146Smrgs,@TMP_XAW_LIBS@,$TMP_XAW_LIBS,;t t 4190c19de146Smrgs,@XAW_USE_XPRINT_TRUE@,$XAW_USE_XPRINT_TRUE,;t t 4191c19de146Smrgs,@XAW_USE_XPRINT_FALSE@,$XAW_USE_XPRINT_FALSE,;t t 4192c19de146Smrgs,@XBIFF_CFLAGS@,$XBIFF_CFLAGS,;t t 4193c19de146Smrgs,@XBIFF_LIBS@,$XBIFF_LIBS,;t t 4194c19de146Smrgs,@build@,$build,;t t 4195c19de146Smrgs,@build_cpu@,$build_cpu,;t t 4196c19de146Smrgs,@build_vendor@,$build_vendor,;t t 4197c19de146Smrgs,@build_os@,$build_os,;t t 4198c19de146Smrgs,@host@,$host,;t t 4199c19de146Smrgs,@host_cpu@,$host_cpu,;t t 4200c19de146Smrgs,@host_vendor@,$host_vendor,;t t 4201c19de146Smrgs,@host_os@,$host_os,;t t 4202c19de146Smrgs,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t 4203c19de146Smrgs,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t 4204c19de146Smrgs,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t 4205c19de146Smrgs,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t 4206c19de146Smrgs,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t 4207c19de146Smrgs,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t 4208c19de146Smrgs,@APP_MAN_DIR@,$APP_MAN_DIR,;t t 4209c19de146Smrgs,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t 4210c19de146Smrgs,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t 4211c19de146Smrgs,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t 4212c19de146Smrgs,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t 4213c19de146Smrgs,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t 4214c19de146Smrgs,@LIBOBJS@,$LIBOBJS,;t t 4215c19de146Smrgs,@LTLIBOBJS@,$LTLIBOBJS,;t t 4216c19de146SmrgCEOF 4217c19de146Smrg 4218c19de146Smrg_ACEOF 4219c19de146Smrg 4220c19de146Smrg cat >>$CONFIG_STATUS <<\_ACEOF 4221c19de146Smrg # Split the substitutions into bite-sized pieces for seds with 4222c19de146Smrg # small command number limits, like on Digital OSF/1 and HP-UX. 4223c19de146Smrg ac_max_sed_lines=48 4224c19de146Smrg ac_sed_frag=1 # Number of current file. 4225c19de146Smrg ac_beg=1 # First line for current file. 4226c19de146Smrg ac_end=$ac_max_sed_lines # Line after last line for current file. 4227c19de146Smrg ac_more_lines=: 4228c19de146Smrg ac_sed_cmds= 4229c19de146Smrg while $ac_more_lines; do 4230c19de146Smrg if test $ac_beg -gt 1; then 4231c19de146Smrg sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4232c19de146Smrg else 4233c19de146Smrg sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4234c19de146Smrg fi 4235c19de146Smrg if test ! -s $tmp/subs.frag; then 4236c19de146Smrg ac_more_lines=false 4237c19de146Smrg else 4238c19de146Smrg # The purpose of the label and of the branching condition is to 4239c19de146Smrg # speed up the sed processing (if there are no `@' at all, there 4240c19de146Smrg # is no need to browse any of the substitutions). 4241c19de146Smrg # These are the two extra sed commands mentioned above. 4242c19de146Smrg (echo ':t 4243c19de146Smrg /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4244c19de146Smrg if test -z "$ac_sed_cmds"; then 4245c19de146Smrg ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4246c19de146Smrg else 4247c19de146Smrg ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4248c19de146Smrg fi 4249c19de146Smrg ac_sed_frag=`expr $ac_sed_frag + 1` 4250c19de146Smrg ac_beg=$ac_end 4251c19de146Smrg ac_end=`expr $ac_end + $ac_max_sed_lines` 4252c19de146Smrg fi 4253c19de146Smrg done 4254c19de146Smrg if test -z "$ac_sed_cmds"; then 4255c19de146Smrg ac_sed_cmds=cat 4256c19de146Smrg fi 4257c19de146Smrgfi # test -n "$CONFIG_FILES" 4258c19de146Smrg 4259c19de146Smrg_ACEOF 4260c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 4261c19de146Smrgfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4262c19de146Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4263c19de146Smrg case $ac_file in 4264c19de146Smrg - | *:- | *:-:* ) # input from stdin 4265c19de146Smrg cat >$tmp/stdin 4266c19de146Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4267c19de146Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4268c19de146Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4269c19de146Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4270c19de146Smrg * ) ac_file_in=$ac_file.in ;; 4271c19de146Smrg esac 4272c19de146Smrg 4273c19de146Smrg # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4274c19de146Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 4275c19de146Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4276c19de146Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 4277c19de146Smrg X"$ac_file" : 'X\(//\)$' \| \ 4278c19de146Smrg X"$ac_file" : 'X\(/\)' \| \ 4279c19de146Smrg . : '\(.\)' 2>/dev/null || 4280c19de146Smrgecho X"$ac_file" | 4281c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4282c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4283c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4284c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4285c19de146Smrg s/.*/./; q'` 4286c19de146Smrg { if $as_mkdir_p; then 4287c19de146Smrg mkdir -p "$ac_dir" 4288c19de146Smrg else 4289c19de146Smrg as_dir="$ac_dir" 4290c19de146Smrg as_dirs= 4291c19de146Smrg while test ! -d "$as_dir"; do 4292c19de146Smrg as_dirs="$as_dir $as_dirs" 4293c19de146Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 4294c19de146Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4295c19de146Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 4296c19de146Smrg X"$as_dir" : 'X\(//\)$' \| \ 4297c19de146Smrg X"$as_dir" : 'X\(/\)' \| \ 4298c19de146Smrg . : '\(.\)' 2>/dev/null || 4299c19de146Smrgecho X"$as_dir" | 4300c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4301c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4302c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4303c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4304c19de146Smrg s/.*/./; q'` 4305c19de146Smrg done 4306c19de146Smrg test ! -n "$as_dirs" || mkdir $as_dirs 4307c19de146Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4308c19de146Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4309c19de146Smrg { (exit 1); exit 1; }; }; } 4310c19de146Smrg 4311c19de146Smrg ac_builddir=. 4312c19de146Smrg 4313c19de146Smrgif test "$ac_dir" != .; then 4314c19de146Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4315c19de146Smrg # A "../" for each directory in $ac_dir_suffix. 4316c19de146Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4317c19de146Smrgelse 4318c19de146Smrg ac_dir_suffix= ac_top_builddir= 4319c19de146Smrgfi 4320c19de146Smrg 4321c19de146Smrgcase $srcdir in 4322c19de146Smrg .) # No --srcdir option. We are building in place. 4323c19de146Smrg ac_srcdir=. 4324c19de146Smrg if test -z "$ac_top_builddir"; then 4325c19de146Smrg ac_top_srcdir=. 4326c19de146Smrg else 4327c19de146Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4328c19de146Smrg fi ;; 4329c19de146Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 4330c19de146Smrg ac_srcdir=$srcdir$ac_dir_suffix; 4331c19de146Smrg ac_top_srcdir=$srcdir ;; 4332c19de146Smrg *) # Relative path. 4333c19de146Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4334c19de146Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 4335c19de146Smrgesac 4336c19de146Smrg 4337c19de146Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 4338c19de146Smrg# the directories may not exist. 4339c19de146Smrgcase `pwd` in 4340c19de146Smrg.) ac_abs_builddir="$ac_dir";; 4341c19de146Smrg*) 4342c19de146Smrg case "$ac_dir" in 4343c19de146Smrg .) ac_abs_builddir=`pwd`;; 4344c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4345c19de146Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 4346c19de146Smrg esac;; 4347c19de146Smrgesac 4348c19de146Smrgcase $ac_abs_builddir in 4349c19de146Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 4350c19de146Smrg*) 4351c19de146Smrg case ${ac_top_builddir}. in 4352c19de146Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 4353c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4354c19de146Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4355c19de146Smrg esac;; 4356c19de146Smrgesac 4357c19de146Smrgcase $ac_abs_builddir in 4358c19de146Smrg.) ac_abs_srcdir=$ac_srcdir;; 4359c19de146Smrg*) 4360c19de146Smrg case $ac_srcdir in 4361c19de146Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 4362c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4363c19de146Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4364c19de146Smrg esac;; 4365c19de146Smrgesac 4366c19de146Smrgcase $ac_abs_builddir in 4367c19de146Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 4368c19de146Smrg*) 4369c19de146Smrg case $ac_top_srcdir in 4370c19de146Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 4371c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4372c19de146Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4373c19de146Smrg esac;; 4374c19de146Smrgesac 4375c19de146Smrg 4376c19de146Smrg 4377c19de146Smrg case $INSTALL in 4378c19de146Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4379c19de146Smrg *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 4380c19de146Smrg esac 4381c19de146Smrg 4382c19de146Smrg if test x"$ac_file" != x-; then 4383c19de146Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 4384c19de146Smrgecho "$as_me: creating $ac_file" >&6;} 4385c19de146Smrg rm -f "$ac_file" 4386c19de146Smrg fi 4387c19de146Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 4388c19de146Smrg # use $as_me), people would be surprised to read: 4389c19de146Smrg # /* config.h. Generated by config.status. */ 4390c19de146Smrg if test x"$ac_file" = x-; then 4391c19de146Smrg configure_input= 4392c19de146Smrg else 4393c19de146Smrg configure_input="$ac_file. " 4394c19de146Smrg fi 4395c19de146Smrg configure_input=$configure_input"Generated from `echo $ac_file_in | 4396c19de146Smrg sed 's,.*/,,'` by configure." 4397c19de146Smrg 4398c19de146Smrg # First look for the input files in the build tree, otherwise in the 4399c19de146Smrg # src tree. 4400c19de146Smrg ac_file_inputs=`IFS=: 4401c19de146Smrg for f in $ac_file_in; do 4402c19de146Smrg case $f in 4403c19de146Smrg -) echo $tmp/stdin ;; 4404c19de146Smrg [\\/$]*) 4405c19de146Smrg # Absolute (can't be DOS-style, as IFS=:) 4406c19de146Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4407c19de146Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 4408c19de146Smrg { (exit 1); exit 1; }; } 4409c19de146Smrg echo "$f";; 4410c19de146Smrg *) # Relative 4411c19de146Smrg if test -f "$f"; then 4412c19de146Smrg # Build tree 4413c19de146Smrg echo "$f" 4414c19de146Smrg elif test -f "$srcdir/$f"; then 4415c19de146Smrg # Source tree 4416c19de146Smrg echo "$srcdir/$f" 4417c19de146Smrg else 4418c19de146Smrg # /dev/null tree 4419c19de146Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4420c19de146Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 4421c19de146Smrg { (exit 1); exit 1; }; } 4422c19de146Smrg fi;; 4423c19de146Smrg esac 4424c19de146Smrg done` || { (exit 1); exit 1; } 4425c19de146Smrg_ACEOF 4426c19de146Smrgcat >>$CONFIG_STATUS <<_ACEOF 4427c19de146Smrg sed "$ac_vpsub 4428c19de146Smrg$extrasub 4429c19de146Smrg_ACEOF 4430c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 4431c19de146Smrg:t 4432c19de146Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4433c19de146Smrgs,@configure_input@,$configure_input,;t t 4434c19de146Smrgs,@srcdir@,$ac_srcdir,;t t 4435c19de146Smrgs,@abs_srcdir@,$ac_abs_srcdir,;t t 4436c19de146Smrgs,@top_srcdir@,$ac_top_srcdir,;t t 4437c19de146Smrgs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 4438c19de146Smrgs,@builddir@,$ac_builddir,;t t 4439c19de146Smrgs,@abs_builddir@,$ac_abs_builddir,;t t 4440c19de146Smrgs,@top_builddir@,$ac_top_builddir,;t t 4441c19de146Smrgs,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4442c19de146Smrgs,@INSTALL@,$ac_INSTALL,;t t 4443c19de146Smrg" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4444c19de146Smrg rm -f $tmp/stdin 4445c19de146Smrg if test x"$ac_file" != x-; then 4446c19de146Smrg mv $tmp/out $ac_file 4447c19de146Smrg else 4448c19de146Smrg cat $tmp/out 4449c19de146Smrg rm -f $tmp/out 4450c19de146Smrg fi 4451c19de146Smrg 4452c19de146Smrgdone 4453c19de146Smrg_ACEOF 4454c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 4455c19de146Smrg 4456c19de146Smrg# 4457c19de146Smrg# CONFIG_HEADER section. 4458c19de146Smrg# 4459c19de146Smrg 4460c19de146Smrg# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 4461c19de146Smrg# NAME is the cpp macro being defined and VALUE is the value it is being given. 4462c19de146Smrg# 4463c19de146Smrg# ac_d sets the value in "#define NAME VALUE" lines. 4464c19de146Smrgac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 4465c19de146Smrgac_dB='[ ].*$,\1#\2' 4466c19de146Smrgac_dC=' ' 4467c19de146Smrgac_dD=',;t' 4468c19de146Smrg# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 4469c19de146Smrgac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 4470c19de146Smrgac_uB='$,\1#\2define\3' 4471c19de146Smrgac_uC=' ' 4472c19de146Smrgac_uD=',;t' 4473c19de146Smrg 4474c19de146Smrgfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 4475c19de146Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4476c19de146Smrg case $ac_file in 4477c19de146Smrg - | *:- | *:-:* ) # input from stdin 4478c19de146Smrg cat >$tmp/stdin 4479c19de146Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4480c19de146Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4481c19de146Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4482c19de146Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4483c19de146Smrg * ) ac_file_in=$ac_file.in ;; 4484c19de146Smrg esac 4485c19de146Smrg 4486c19de146Smrg test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 4487c19de146Smrgecho "$as_me: creating $ac_file" >&6;} 4488c19de146Smrg 4489c19de146Smrg # First look for the input files in the build tree, otherwise in the 4490c19de146Smrg # src tree. 4491c19de146Smrg ac_file_inputs=`IFS=: 4492c19de146Smrg for f in $ac_file_in; do 4493c19de146Smrg case $f in 4494c19de146Smrg -) echo $tmp/stdin ;; 4495c19de146Smrg [\\/$]*) 4496c19de146Smrg # Absolute (can't be DOS-style, as IFS=:) 4497c19de146Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4498c19de146Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 4499c19de146Smrg { (exit 1); exit 1; }; } 4500c19de146Smrg # Do quote $f, to prevent DOS paths from being IFS'd. 4501c19de146Smrg echo "$f";; 4502c19de146Smrg *) # Relative 4503c19de146Smrg if test -f "$f"; then 4504c19de146Smrg # Build tree 4505c19de146Smrg echo "$f" 4506c19de146Smrg elif test -f "$srcdir/$f"; then 4507c19de146Smrg # Source tree 4508c19de146Smrg echo "$srcdir/$f" 4509c19de146Smrg else 4510c19de146Smrg # /dev/null tree 4511c19de146Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4512c19de146Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 4513c19de146Smrg { (exit 1); exit 1; }; } 4514c19de146Smrg fi;; 4515c19de146Smrg esac 4516c19de146Smrg done` || { (exit 1); exit 1; } 4517c19de146Smrg # Remove the trailing spaces. 4518c19de146Smrg sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 4519c19de146Smrg 4520c19de146Smrg_ACEOF 4521c19de146Smrg 4522c19de146Smrg# Transform confdefs.h into two sed scripts, `conftest.defines' and 4523c19de146Smrg# `conftest.undefs', that substitutes the proper values into 4524c19de146Smrg# config.h.in to produce config.h. The first handles `#define' 4525c19de146Smrg# templates, and the second `#undef' templates. 4526c19de146Smrg# And first: Protect against being on the right side of a sed subst in 4527c19de146Smrg# config.status. Protect against being in an unquoted here document 4528c19de146Smrg# in config.status. 4529c19de146Smrgrm -f conftest.defines conftest.undefs 4530c19de146Smrg# Using a here document instead of a string reduces the quoting nightmare. 4531c19de146Smrg# Putting comments in sed scripts is not portable. 4532c19de146Smrg# 4533c19de146Smrg# `end' is used to avoid that the second main sed command (meant for 4534c19de146Smrg# 0-ary CPP macros) applies to n-ary macro definitions. 4535c19de146Smrg# See the Autoconf documentation for `clear'. 4536c19de146Smrgcat >confdef2sed.sed <<\_ACEOF 4537c19de146Smrgs/[\\&,]/\\&/g 4538c19de146Smrgs,[\\$`],\\&,g 4539c19de146Smrgt clear 4540c19de146Smrg: clear 4541c19de146Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 4542c19de146Smrgt end 4543c19de146Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 4544c19de146Smrg: end 4545c19de146Smrg_ACEOF 4546c19de146Smrg# If some macros were called several times there might be several times 4547c19de146Smrg# the same #defines, which is useless. Nevertheless, we may not want to 4548c19de146Smrg# sort them, since we want the *last* AC-DEFINE to be honored. 4549c19de146Smrguniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 4550c19de146Smrgsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 4551c19de146Smrgrm -f confdef2sed.sed 4552c19de146Smrg 4553c19de146Smrg# This sed command replaces #undef with comments. This is necessary, for 4554c19de146Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 4555c19de146Smrg# on some systems where configure will not decide to define it. 4556c19de146Smrgcat >>conftest.undefs <<\_ACEOF 4557c19de146Smrgs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4558c19de146Smrg_ACEOF 4559c19de146Smrg 4560c19de146Smrg# Break up conftest.defines because some shells have a limit on the size 4561c19de146Smrg# of here documents, and old seds have small limits too (100 cmds). 4562c19de146Smrgecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 4563c19de146Smrgecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 4564c19de146Smrgecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 4565c19de146Smrgecho ' :' >>$CONFIG_STATUS 4566c19de146Smrgrm -f conftest.tail 4567c19de146Smrgwhile grep . conftest.defines >/dev/null 4568c19de146Smrgdo 4569c19de146Smrg # Write a limited-size here document to $tmp/defines.sed. 4570c19de146Smrg echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 4571c19de146Smrg # Speed up: don't consider the non `#define' lines. 4572c19de146Smrg echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 4573c19de146Smrg # Work around the forget-to-reset-the-flag bug. 4574c19de146Smrg echo 't clr' >>$CONFIG_STATUS 4575c19de146Smrg echo ': clr' >>$CONFIG_STATUS 4576c19de146Smrg sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 4577c19de146Smrg echo 'CEOF 4578c19de146Smrg sed -f $tmp/defines.sed $tmp/in >$tmp/out 4579c19de146Smrg rm -f $tmp/in 4580c19de146Smrg mv $tmp/out $tmp/in 4581c19de146Smrg' >>$CONFIG_STATUS 4582c19de146Smrg sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 4583c19de146Smrg rm -f conftest.defines 4584c19de146Smrg mv conftest.tail conftest.defines 4585c19de146Smrgdone 4586c19de146Smrgrm -f conftest.defines 4587c19de146Smrgecho ' fi # grep' >>$CONFIG_STATUS 4588c19de146Smrgecho >>$CONFIG_STATUS 4589c19de146Smrg 4590c19de146Smrg# Break up conftest.undefs because some shells have a limit on the size 4591c19de146Smrg# of here documents, and old seds have small limits too (100 cmds). 4592c19de146Smrgecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 4593c19de146Smrgrm -f conftest.tail 4594c19de146Smrgwhile grep . conftest.undefs >/dev/null 4595c19de146Smrgdo 4596c19de146Smrg # Write a limited-size here document to $tmp/undefs.sed. 4597c19de146Smrg echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 4598c19de146Smrg # Speed up: don't consider the non `#undef' 4599c19de146Smrg echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 4600c19de146Smrg # Work around the forget-to-reset-the-flag bug. 4601c19de146Smrg echo 't clr' >>$CONFIG_STATUS 4602c19de146Smrg echo ': clr' >>$CONFIG_STATUS 4603c19de146Smrg sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 4604c19de146Smrg echo 'CEOF 4605c19de146Smrg sed -f $tmp/undefs.sed $tmp/in >$tmp/out 4606c19de146Smrg rm -f $tmp/in 4607c19de146Smrg mv $tmp/out $tmp/in 4608c19de146Smrg' >>$CONFIG_STATUS 4609c19de146Smrg sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 4610c19de146Smrg rm -f conftest.undefs 4611c19de146Smrg mv conftest.tail conftest.undefs 4612c19de146Smrgdone 4613c19de146Smrgrm -f conftest.undefs 4614c19de146Smrg 4615c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 4616c19de146Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 4617c19de146Smrg # use $as_me), people would be surprised to read: 4618c19de146Smrg # /* config.h. Generated by config.status. */ 4619c19de146Smrg if test x"$ac_file" = x-; then 4620c19de146Smrg echo "/* Generated by configure. */" >$tmp/config.h 4621c19de146Smrg else 4622c19de146Smrg echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 4623c19de146Smrg fi 4624c19de146Smrg cat $tmp/in >>$tmp/config.h 4625c19de146Smrg rm -f $tmp/in 4626c19de146Smrg if test x"$ac_file" != x-; then 4627c19de146Smrg if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 4628c19de146Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 4629c19de146Smrgecho "$as_me: $ac_file is unchanged" >&6;} 4630c19de146Smrg else 4631c19de146Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 4632c19de146Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4633c19de146Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 4634c19de146Smrg X"$ac_file" : 'X\(//\)$' \| \ 4635c19de146Smrg X"$ac_file" : 'X\(/\)' \| \ 4636c19de146Smrg . : '\(.\)' 2>/dev/null || 4637c19de146Smrgecho X"$ac_file" | 4638c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4639c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4640c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4641c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4642c19de146Smrg s/.*/./; q'` 4643c19de146Smrg { if $as_mkdir_p; then 4644c19de146Smrg mkdir -p "$ac_dir" 4645c19de146Smrg else 4646c19de146Smrg as_dir="$ac_dir" 4647c19de146Smrg as_dirs= 4648c19de146Smrg while test ! -d "$as_dir"; do 4649c19de146Smrg as_dirs="$as_dir $as_dirs" 4650c19de146Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 4651c19de146Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4652c19de146Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 4653c19de146Smrg X"$as_dir" : 'X\(//\)$' \| \ 4654c19de146Smrg X"$as_dir" : 'X\(/\)' \| \ 4655c19de146Smrg . : '\(.\)' 2>/dev/null || 4656c19de146Smrgecho X"$as_dir" | 4657c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4658c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4659c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4660c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4661c19de146Smrg s/.*/./; q'` 4662c19de146Smrg done 4663c19de146Smrg test ! -n "$as_dirs" || mkdir $as_dirs 4664c19de146Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4665c19de146Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4666c19de146Smrg { (exit 1); exit 1; }; }; } 4667c19de146Smrg 4668c19de146Smrg rm -f $ac_file 4669c19de146Smrg mv $tmp/config.h $ac_file 4670c19de146Smrg fi 4671c19de146Smrg else 4672c19de146Smrg cat $tmp/config.h 4673c19de146Smrg rm -f $tmp/config.h 4674c19de146Smrg fi 4675c19de146Smrg# Compute $ac_file's index in $config_headers. 4676c19de146Smrg_am_stamp_count=1 4677c19de146Smrgfor _am_header in $config_headers :; do 4678c19de146Smrg case $_am_header in 4679c19de146Smrg $ac_file | $ac_file:* ) 4680c19de146Smrg break ;; 4681c19de146Smrg * ) 4682c19de146Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 4683c19de146Smrg esac 4684c19de146Smrgdone 4685c19de146Smrgecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 4686c19de146Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4687c19de146Smrg X$ac_file : 'X\(//\)[^/]' \| \ 4688c19de146Smrg X$ac_file : 'X\(//\)$' \| \ 4689c19de146Smrg X$ac_file : 'X\(/\)' \| \ 4690c19de146Smrg . : '\(.\)' 2>/dev/null || 4691c19de146Smrgecho X$ac_file | 4692c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4693c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4694c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4695c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4696c19de146Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 4697c19de146Smrgdone 4698c19de146Smrg_ACEOF 4699c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 4700c19de146Smrg 4701c19de146Smrg# 4702c19de146Smrg# CONFIG_COMMANDS section. 4703c19de146Smrg# 4704c19de146Smrgfor ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 4705c19de146Smrg ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 4706c19de146Smrg ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 4707c19de146Smrg ac_dir=`(dirname "$ac_dest") 2>/dev/null || 4708c19de146Smrg$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4709c19de146Smrg X"$ac_dest" : 'X\(//\)[^/]' \| \ 4710c19de146Smrg X"$ac_dest" : 'X\(//\)$' \| \ 4711c19de146Smrg X"$ac_dest" : 'X\(/\)' \| \ 4712c19de146Smrg . : '\(.\)' 2>/dev/null || 4713c19de146Smrgecho X"$ac_dest" | 4714c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4715c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4716c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4717c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4718c19de146Smrg s/.*/./; q'` 4719c19de146Smrg { if $as_mkdir_p; then 4720c19de146Smrg mkdir -p "$ac_dir" 4721c19de146Smrg else 4722c19de146Smrg as_dir="$ac_dir" 4723c19de146Smrg as_dirs= 4724c19de146Smrg while test ! -d "$as_dir"; do 4725c19de146Smrg as_dirs="$as_dir $as_dirs" 4726c19de146Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 4727c19de146Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4728c19de146Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 4729c19de146Smrg X"$as_dir" : 'X\(//\)$' \| \ 4730c19de146Smrg X"$as_dir" : 'X\(/\)' \| \ 4731c19de146Smrg . : '\(.\)' 2>/dev/null || 4732c19de146Smrgecho X"$as_dir" | 4733c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4734c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4735c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4736c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4737c19de146Smrg s/.*/./; q'` 4738c19de146Smrg done 4739c19de146Smrg test ! -n "$as_dirs" || mkdir $as_dirs 4740c19de146Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4741c19de146Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4742c19de146Smrg { (exit 1); exit 1; }; }; } 4743c19de146Smrg 4744c19de146Smrg ac_builddir=. 4745c19de146Smrg 4746c19de146Smrgif test "$ac_dir" != .; then 4747c19de146Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4748c19de146Smrg # A "../" for each directory in $ac_dir_suffix. 4749c19de146Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4750c19de146Smrgelse 4751c19de146Smrg ac_dir_suffix= ac_top_builddir= 4752c19de146Smrgfi 4753c19de146Smrg 4754c19de146Smrgcase $srcdir in 4755c19de146Smrg .) # No --srcdir option. We are building in place. 4756c19de146Smrg ac_srcdir=. 4757c19de146Smrg if test -z "$ac_top_builddir"; then 4758c19de146Smrg ac_top_srcdir=. 4759c19de146Smrg else 4760c19de146Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4761c19de146Smrg fi ;; 4762c19de146Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 4763c19de146Smrg ac_srcdir=$srcdir$ac_dir_suffix; 4764c19de146Smrg ac_top_srcdir=$srcdir ;; 4765c19de146Smrg *) # Relative path. 4766c19de146Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4767c19de146Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 4768c19de146Smrgesac 4769c19de146Smrg 4770c19de146Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 4771c19de146Smrg# the directories may not exist. 4772c19de146Smrgcase `pwd` in 4773c19de146Smrg.) ac_abs_builddir="$ac_dir";; 4774c19de146Smrg*) 4775c19de146Smrg case "$ac_dir" in 4776c19de146Smrg .) ac_abs_builddir=`pwd`;; 4777c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4778c19de146Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 4779c19de146Smrg esac;; 4780c19de146Smrgesac 4781c19de146Smrgcase $ac_abs_builddir in 4782c19de146Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 4783c19de146Smrg*) 4784c19de146Smrg case ${ac_top_builddir}. in 4785c19de146Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 4786c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4787c19de146Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4788c19de146Smrg esac;; 4789c19de146Smrgesac 4790c19de146Smrgcase $ac_abs_builddir in 4791c19de146Smrg.) ac_abs_srcdir=$ac_srcdir;; 4792c19de146Smrg*) 4793c19de146Smrg case $ac_srcdir in 4794c19de146Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 4795c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4796c19de146Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4797c19de146Smrg esac;; 4798c19de146Smrgesac 4799c19de146Smrgcase $ac_abs_builddir in 4800c19de146Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 4801c19de146Smrg*) 4802c19de146Smrg case $ac_top_srcdir in 4803c19de146Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 4804c19de146Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4805c19de146Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4806c19de146Smrg esac;; 4807c19de146Smrgesac 4808c19de146Smrg 4809c19de146Smrg 4810c19de146Smrg { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 4811c19de146Smrgecho "$as_me: executing $ac_dest commands" >&6;} 4812c19de146Smrg case $ac_dest in 4813c19de146Smrg depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 4814c19de146Smrg # Strip MF so we end up with the name of the file. 4815c19de146Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 4816c19de146Smrg # Check whether this is an Automake generated Makefile or not. 4817c19de146Smrg # We used to match only the files named `Makefile.in', but 4818c19de146Smrg # some people rename them; so instead we look at the file content. 4819c19de146Smrg # Grep'ing the first line is not enough: some people post-process 4820c19de146Smrg # each Makefile.in and add a new line on top of each file to say so. 4821c19de146Smrg # So let's grep whole file. 4822c19de146Smrg if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 4823c19de146Smrg dirpart=`(dirname "$mf") 2>/dev/null || 4824c19de146Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4825c19de146Smrg X"$mf" : 'X\(//\)[^/]' \| \ 4826c19de146Smrg X"$mf" : 'X\(//\)$' \| \ 4827c19de146Smrg X"$mf" : 'X\(/\)' \| \ 4828c19de146Smrg . : '\(.\)' 2>/dev/null || 4829c19de146Smrgecho X"$mf" | 4830c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4831c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4832c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4833c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4834c19de146Smrg s/.*/./; q'` 4835c19de146Smrg else 4836c19de146Smrg continue 4837c19de146Smrg fi 4838c19de146Smrg grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 4839c19de146Smrg # Extract the definition of DEP_FILES from the Makefile without 4840c19de146Smrg # running `make'. 4841c19de146Smrg DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 4842c19de146Smrg test -z "$DEPDIR" && continue 4843c19de146Smrg # When using ansi2knr, U may be empty or an underscore; expand it 4844c19de146Smrg U=`sed -n -e '/^U = / s///p' < "$mf"` 4845c19de146Smrg test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 4846c19de146Smrg # We invoke sed twice because it is the simplest approach to 4847c19de146Smrg # changing $(DEPDIR) to its actual value in the expansion. 4848c19de146Smrg for file in `sed -n -e ' 4849c19de146Smrg /^DEP_FILES = .*\\\\$/ { 4850c19de146Smrg s/^DEP_FILES = // 4851c19de146Smrg :loop 4852c19de146Smrg s/\\\\$// 4853c19de146Smrg p 4854c19de146Smrg n 4855c19de146Smrg /\\\\$/ b loop 4856c19de146Smrg p 4857c19de146Smrg } 4858c19de146Smrg /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 4859c19de146Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 4860c19de146Smrg # Make sure the directory exists. 4861c19de146Smrg test -f "$dirpart/$file" && continue 4862c19de146Smrg fdir=`(dirname "$file") 2>/dev/null || 4863c19de146Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4864c19de146Smrg X"$file" : 'X\(//\)[^/]' \| \ 4865c19de146Smrg X"$file" : 'X\(//\)$' \| \ 4866c19de146Smrg X"$file" : 'X\(/\)' \| \ 4867c19de146Smrg . : '\(.\)' 2>/dev/null || 4868c19de146Smrgecho X"$file" | 4869c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4870c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4871c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4872c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4873c19de146Smrg s/.*/./; q'` 4874c19de146Smrg { if $as_mkdir_p; then 4875c19de146Smrg mkdir -p $dirpart/$fdir 4876c19de146Smrg else 4877c19de146Smrg as_dir=$dirpart/$fdir 4878c19de146Smrg as_dirs= 4879c19de146Smrg while test ! -d "$as_dir"; do 4880c19de146Smrg as_dirs="$as_dir $as_dirs" 4881c19de146Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 4882c19de146Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4883c19de146Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 4884c19de146Smrg X"$as_dir" : 'X\(//\)$' \| \ 4885c19de146Smrg X"$as_dir" : 'X\(/\)' \| \ 4886c19de146Smrg . : '\(.\)' 2>/dev/null || 4887c19de146Smrgecho X"$as_dir" | 4888c19de146Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4889c19de146Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4890c19de146Smrg /^X\(\/\/\)$/{ s//\1/; q; } 4891c19de146Smrg /^X\(\/\).*/{ s//\1/; q; } 4892c19de146Smrg s/.*/./; q'` 4893c19de146Smrg done 4894c19de146Smrg test ! -n "$as_dirs" || mkdir $as_dirs 4895c19de146Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 4896c19de146Smrgecho "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 4897c19de146Smrg { (exit 1); exit 1; }; }; } 4898c19de146Smrg 4899c19de146Smrg # echo "creating $dirpart/$file" 4900c19de146Smrg echo '# dummy' > "$dirpart/$file" 4901c19de146Smrg done 4902c19de146Smrgdone 4903c19de146Smrg ;; 4904c19de146Smrg esac 4905c19de146Smrgdone 4906c19de146Smrg_ACEOF 4907c19de146Smrg 4908c19de146Smrgcat >>$CONFIG_STATUS <<\_ACEOF 4909c19de146Smrg 4910c19de146Smrg{ (exit 0); exit 0; } 4911c19de146Smrg_ACEOF 4912c19de146Smrgchmod +x $CONFIG_STATUS 4913c19de146Smrgac_clean_files=$ac_clean_files_save 4914c19de146Smrg 4915c19de146Smrg 4916c19de146Smrg# configure is writing to config.log, and then calls config.status. 4917c19de146Smrg# config.status does its own redirection, appending to config.log. 4918c19de146Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 4919c19de146Smrg# by configure, so config.status won't be able to write to it; its 4920c19de146Smrg# output is simply discarded. So we exec the FD to /dev/null, 4921c19de146Smrg# effectively closing config.log, so it can be properly (re)opened and 4922c19de146Smrg# appended to by config.status. When coming back to configure, we 4923c19de146Smrg# need to make the FD available again. 4924c19de146Smrgif test "$no_create" != yes; then 4925c19de146Smrg ac_cs_success=: 4926c19de146Smrg ac_config_status_args= 4927c19de146Smrg test "$silent" = yes && 4928c19de146Smrg ac_config_status_args="$ac_config_status_args --quiet" 4929c19de146Smrg exec 5>/dev/null 4930c19de146Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4931c19de146Smrg exec 5>>config.log 4932c19de146Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4933c19de146Smrg # would make configure fail if this is the last instruction. 4934c19de146Smrg $ac_cs_success || { (exit 1); exit 1; } 4935c19de146Smrgfi 4936c19de146Smrg 4937