configure revision 7da8b7e3
17da8b7e3Smrg#! /bin/sh 27da8b7e3Smrg# Guess values for system-dependent variables and create Makefiles. 37da8b7e3Smrg# Generated by GNU Autoconf 2.59 for xrefresh 1.0.2. 47da8b7e3Smrg# 57da8b7e3Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 67da8b7e3Smrg# 77da8b7e3Smrg# Copyright (C) 2003 Free Software Foundation, Inc. 87da8b7e3Smrg# This configure script is free software; the Free Software Foundation 97da8b7e3Smrg# gives unlimited permission to copy, distribute and modify it. 107da8b7e3Smrg## --------------------- ## 117da8b7e3Smrg## M4sh Initialization. ## 127da8b7e3Smrg## --------------------- ## 137da8b7e3Smrg 147da8b7e3Smrg# Be Bourne compatible 157da8b7e3Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 167da8b7e3Smrg emulate sh 177da8b7e3Smrg NULLCMD=: 187da8b7e3Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 197da8b7e3Smrg # is contrary to our usage. Disable this feature. 207da8b7e3Smrg alias -g '${1+"$@"}'='"$@"' 217da8b7e3Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 227da8b7e3Smrg set -o posix 237da8b7e3Smrgfi 247da8b7e3SmrgDUALCASE=1; export DUALCASE # for MKS sh 257da8b7e3Smrg 267da8b7e3Smrg# Support unset when possible. 277da8b7e3Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 287da8b7e3Smrg as_unset=unset 297da8b7e3Smrgelse 307da8b7e3Smrg as_unset=false 317da8b7e3Smrgfi 327da8b7e3Smrg 337da8b7e3Smrg 347da8b7e3Smrg# Work around bugs in pre-3.0 UWIN ksh. 357da8b7e3Smrg$as_unset ENV MAIL MAILPATH 367da8b7e3SmrgPS1='$ ' 377da8b7e3SmrgPS2='> ' 387da8b7e3SmrgPS4='+ ' 397da8b7e3Smrg 407da8b7e3Smrg# NLS nuisances. 417da8b7e3Smrgfor as_var in \ 427da8b7e3Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 437da8b7e3Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 447da8b7e3Smrg LC_TELEPHONE LC_TIME 457da8b7e3Smrgdo 467da8b7e3Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 477da8b7e3Smrg eval $as_var=C; export $as_var 487da8b7e3Smrg else 497da8b7e3Smrg $as_unset $as_var 507da8b7e3Smrg fi 517da8b7e3Smrgdone 527da8b7e3Smrg 537da8b7e3Smrg# Required to use basename. 547da8b7e3Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 557da8b7e3Smrg as_expr=expr 567da8b7e3Smrgelse 577da8b7e3Smrg as_expr=false 587da8b7e3Smrgfi 597da8b7e3Smrg 607da8b7e3Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 617da8b7e3Smrg as_basename=basename 627da8b7e3Smrgelse 637da8b7e3Smrg as_basename=false 647da8b7e3Smrgfi 657da8b7e3Smrg 667da8b7e3Smrg 677da8b7e3Smrg# Name of the executable. 687da8b7e3Smrgas_me=`$as_basename "$0" || 697da8b7e3Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 707da8b7e3Smrg X"$0" : 'X\(//\)$' \| \ 717da8b7e3Smrg X"$0" : 'X\(/\)$' \| \ 727da8b7e3Smrg . : '\(.\)' 2>/dev/null || 737da8b7e3Smrgecho X/"$0" | 747da8b7e3Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 757da8b7e3Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 767da8b7e3Smrg /^X\/\(\/\).*/{ s//\1/; q; } 777da8b7e3Smrg s/.*/./; q'` 787da8b7e3Smrg 797da8b7e3Smrg 807da8b7e3Smrg# PATH needs CR, and LINENO needs CR and PATH. 817da8b7e3Smrg# Avoid depending upon Character Ranges. 827da8b7e3Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 837da8b7e3Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 847da8b7e3Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 857da8b7e3Smrgas_cr_digits='0123456789' 867da8b7e3Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 877da8b7e3Smrg 887da8b7e3Smrg# The user is always right. 897da8b7e3Smrgif test "${PATH_SEPARATOR+set}" != set; then 907da8b7e3Smrg echo "#! /bin/sh" >conf$$.sh 917da8b7e3Smrg echo "exit 0" >>conf$$.sh 927da8b7e3Smrg chmod +x conf$$.sh 937da8b7e3Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 947da8b7e3Smrg PATH_SEPARATOR=';' 957da8b7e3Smrg else 967da8b7e3Smrg PATH_SEPARATOR=: 977da8b7e3Smrg fi 987da8b7e3Smrg rm -f conf$$.sh 997da8b7e3Smrgfi 1007da8b7e3Smrg 1017da8b7e3Smrg 1027da8b7e3Smrg as_lineno_1=$LINENO 1037da8b7e3Smrg as_lineno_2=$LINENO 1047da8b7e3Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1057da8b7e3Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 1067da8b7e3Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 1077da8b7e3Smrg # Find who we are. Look in the path if we contain no path at all 1087da8b7e3Smrg # relative or not. 1097da8b7e3Smrg case $0 in 1107da8b7e3Smrg *[\\/]* ) as_myself=$0 ;; 1117da8b7e3Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1127da8b7e3Smrgfor as_dir in $PATH 1137da8b7e3Smrgdo 1147da8b7e3Smrg IFS=$as_save_IFS 1157da8b7e3Smrg test -z "$as_dir" && as_dir=. 1167da8b7e3Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1177da8b7e3Smrgdone 1187da8b7e3Smrg 1197da8b7e3Smrg ;; 1207da8b7e3Smrg esac 1217da8b7e3Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 1227da8b7e3Smrg # in which case we are not to be found in the path. 1237da8b7e3Smrg if test "x$as_myself" = x; then 1247da8b7e3Smrg as_myself=$0 1257da8b7e3Smrg fi 1267da8b7e3Smrg if test ! -f "$as_myself"; then 1277da8b7e3Smrg { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 1287da8b7e3Smrg { (exit 1); exit 1; }; } 1297da8b7e3Smrg fi 1307da8b7e3Smrg case $CONFIG_SHELL in 1317da8b7e3Smrg '') 1327da8b7e3Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1337da8b7e3Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1347da8b7e3Smrgdo 1357da8b7e3Smrg IFS=$as_save_IFS 1367da8b7e3Smrg test -z "$as_dir" && as_dir=. 1377da8b7e3Smrg for as_base in sh bash ksh sh5; do 1387da8b7e3Smrg case $as_dir in 1397da8b7e3Smrg /*) 1407da8b7e3Smrg if ("$as_dir/$as_base" -c ' 1417da8b7e3Smrg as_lineno_1=$LINENO 1427da8b7e3Smrg as_lineno_2=$LINENO 1437da8b7e3Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1447da8b7e3Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 1457da8b7e3Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 1467da8b7e3Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 1477da8b7e3Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 1487da8b7e3Smrg CONFIG_SHELL=$as_dir/$as_base 1497da8b7e3Smrg export CONFIG_SHELL 1507da8b7e3Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 1517da8b7e3Smrg fi;; 1527da8b7e3Smrg esac 1537da8b7e3Smrg done 1547da8b7e3Smrgdone 1557da8b7e3Smrg;; 1567da8b7e3Smrg esac 1577da8b7e3Smrg 1587da8b7e3Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 1597da8b7e3Smrg # uniformly replaced by the line number. The first 'sed' inserts a 1607da8b7e3Smrg # line-number line before each line; the second 'sed' does the real 1617da8b7e3Smrg # work. The second script uses 'N' to pair each line-number line 1627da8b7e3Smrg # with the numbered line, and appends trailing '-' during 1637da8b7e3Smrg # substitution so that $LINENO is not a special case at line end. 1647da8b7e3Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 1657da8b7e3Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 1667da8b7e3Smrg sed '=' <$as_myself | 1677da8b7e3Smrg sed ' 1687da8b7e3Smrg N 1697da8b7e3Smrg s,$,-, 1707da8b7e3Smrg : loop 1717da8b7e3Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 1727da8b7e3Smrg t loop 1737da8b7e3Smrg s,-$,, 1747da8b7e3Smrg s,^['$as_cr_digits']*\n,, 1757da8b7e3Smrg ' >$as_me.lineno && 1767da8b7e3Smrg chmod +x $as_me.lineno || 1777da8b7e3Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 1787da8b7e3Smrg { (exit 1); exit 1; }; } 1797da8b7e3Smrg 1807da8b7e3Smrg # Don't try to exec as it changes $[0], causing all sort of problems 1817da8b7e3Smrg # (the dirname of $[0] is not the place where we might find the 1827da8b7e3Smrg # original and so on. Autoconf is especially sensible to this). 1837da8b7e3Smrg . ./$as_me.lineno 1847da8b7e3Smrg # Exit status is that of the last command. 1857da8b7e3Smrg exit 1867da8b7e3Smrg} 1877da8b7e3Smrg 1887da8b7e3Smrg 1897da8b7e3Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1907da8b7e3Smrg *c*,-n*) ECHO_N= ECHO_C=' 1917da8b7e3Smrg' ECHO_T=' ' ;; 1927da8b7e3Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1937da8b7e3Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1947da8b7e3Smrgesac 1957da8b7e3Smrg 1967da8b7e3Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 1977da8b7e3Smrg as_expr=expr 1987da8b7e3Smrgelse 1997da8b7e3Smrg as_expr=false 2007da8b7e3Smrgfi 2017da8b7e3Smrg 2027da8b7e3Smrgrm -f conf$$ conf$$.exe conf$$.file 2037da8b7e3Smrgecho >conf$$.file 2047da8b7e3Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 2057da8b7e3Smrg # We could just check for DJGPP; but this test a) works b) is more generic 2067da8b7e3Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 2077da8b7e3Smrg if test -f conf$$.exe; then 2087da8b7e3Smrg # Don't use ln at all; we don't have any links 2097da8b7e3Smrg as_ln_s='cp -p' 2107da8b7e3Smrg else 2117da8b7e3Smrg as_ln_s='ln -s' 2127da8b7e3Smrg fi 2137da8b7e3Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 2147da8b7e3Smrg as_ln_s=ln 2157da8b7e3Smrgelse 2167da8b7e3Smrg as_ln_s='cp -p' 2177da8b7e3Smrgfi 2187da8b7e3Smrgrm -f conf$$ conf$$.exe conf$$.file 2197da8b7e3Smrg 2207da8b7e3Smrgif mkdir -p . 2>/dev/null; then 2217da8b7e3Smrg as_mkdir_p=: 2227da8b7e3Smrgelse 2237da8b7e3Smrg test -d ./-p && rmdir ./-p 2247da8b7e3Smrg as_mkdir_p=false 2257da8b7e3Smrgfi 2267da8b7e3Smrg 2277da8b7e3Smrgas_executable_p="test -f" 2287da8b7e3Smrg 2297da8b7e3Smrg# Sed expression to map a string onto a valid CPP name. 2307da8b7e3Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2317da8b7e3Smrg 2327da8b7e3Smrg# Sed expression to map a string onto a valid variable name. 2337da8b7e3Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2347da8b7e3Smrg 2357da8b7e3Smrg 2367da8b7e3Smrg# IFS 2377da8b7e3Smrg# We need space, tab and new line, in precisely that order. 2387da8b7e3Smrgas_nl=' 2397da8b7e3Smrg' 2407da8b7e3SmrgIFS=" $as_nl" 2417da8b7e3Smrg 2427da8b7e3Smrg# CDPATH. 2437da8b7e3Smrg$as_unset CDPATH 2447da8b7e3Smrg 2457da8b7e3Smrg 2467da8b7e3Smrg# Name of the host. 2477da8b7e3Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 2487da8b7e3Smrg# so uname gets run too. 2497da8b7e3Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 2507da8b7e3Smrg 2517da8b7e3Smrgexec 6>&1 2527da8b7e3Smrg 2537da8b7e3Smrg# 2547da8b7e3Smrg# Initializations. 2557da8b7e3Smrg# 2567da8b7e3Smrgac_default_prefix=/usr/local 2577da8b7e3Smrgac_config_libobj_dir=. 2587da8b7e3Smrgcross_compiling=no 2597da8b7e3Smrgsubdirs= 2607da8b7e3SmrgMFLAGS= 2617da8b7e3SmrgMAKEFLAGS= 2627da8b7e3SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2637da8b7e3Smrg 2647da8b7e3Smrg# Maximum number of lines to put in a shell here document. 2657da8b7e3Smrg# This variable seems obsolete. It should probably be removed, and 2667da8b7e3Smrg# only ac_max_sed_lines should be used. 2677da8b7e3Smrg: ${ac_max_here_lines=38} 2687da8b7e3Smrg 2697da8b7e3Smrg# Identity of this package. 2707da8b7e3SmrgPACKAGE_NAME='xrefresh' 2717da8b7e3SmrgPACKAGE_TARNAME='xrefresh' 2727da8b7e3SmrgPACKAGE_VERSION='1.0.2' 2737da8b7e3SmrgPACKAGE_STRING='xrefresh 1.0.2' 2747da8b7e3SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 2757da8b7e3Smrg 2767da8b7e3Smrgac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG ac_pt_PKG_CONFIG XREFRESH_CFLAGS XREFRESH_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' 2777da8b7e3Smrgac_subst_files='' 2787da8b7e3Smrg 2797da8b7e3Smrg# Initialize some variables set by options. 2807da8b7e3Smrgac_init_help= 2817da8b7e3Smrgac_init_version=false 2827da8b7e3Smrg# The variables have the same names as the options, with 2837da8b7e3Smrg# dashes changed to underlines. 2847da8b7e3Smrgcache_file=/dev/null 2857da8b7e3Smrgexec_prefix=NONE 2867da8b7e3Smrgno_create= 2877da8b7e3Smrgno_recursion= 2887da8b7e3Smrgprefix=NONE 2897da8b7e3Smrgprogram_prefix=NONE 2907da8b7e3Smrgprogram_suffix=NONE 2917da8b7e3Smrgprogram_transform_name=s,x,x, 2927da8b7e3Smrgsilent= 2937da8b7e3Smrgsite= 2947da8b7e3Smrgsrcdir= 2957da8b7e3Smrgverbose= 2967da8b7e3Smrgx_includes=NONE 2977da8b7e3Smrgx_libraries=NONE 2987da8b7e3Smrg 2997da8b7e3Smrg# Installation directory options. 3007da8b7e3Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 3017da8b7e3Smrg# and all the variables that are supposed to be based on exec_prefix 3027da8b7e3Smrg# by default will actually change. 3037da8b7e3Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 3047da8b7e3Smrgbindir='${exec_prefix}/bin' 3057da8b7e3Smrgsbindir='${exec_prefix}/sbin' 3067da8b7e3Smrglibexecdir='${exec_prefix}/libexec' 3077da8b7e3Smrgdatadir='${prefix}/share' 3087da8b7e3Smrgsysconfdir='${prefix}/etc' 3097da8b7e3Smrgsharedstatedir='${prefix}/com' 3107da8b7e3Smrglocalstatedir='${prefix}/var' 3117da8b7e3Smrglibdir='${exec_prefix}/lib' 3127da8b7e3Smrgincludedir='${prefix}/include' 3137da8b7e3Smrgoldincludedir='/usr/include' 3147da8b7e3Smrginfodir='${prefix}/info' 3157da8b7e3Smrgmandir='${prefix}/man' 3167da8b7e3Smrg 3177da8b7e3Smrgac_prev= 3187da8b7e3Smrgfor ac_option 3197da8b7e3Smrgdo 3207da8b7e3Smrg # If the previous option needs an argument, assign it. 3217da8b7e3Smrg if test -n "$ac_prev"; then 3227da8b7e3Smrg eval "$ac_prev=\$ac_option" 3237da8b7e3Smrg ac_prev= 3247da8b7e3Smrg continue 3257da8b7e3Smrg fi 3267da8b7e3Smrg 3277da8b7e3Smrg ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 3287da8b7e3Smrg 3297da8b7e3Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 3307da8b7e3Smrg 3317da8b7e3Smrg case $ac_option in 3327da8b7e3Smrg 3337da8b7e3Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 3347da8b7e3Smrg ac_prev=bindir ;; 3357da8b7e3Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 3367da8b7e3Smrg bindir=$ac_optarg ;; 3377da8b7e3Smrg 3387da8b7e3Smrg -build | --build | --buil | --bui | --bu) 3397da8b7e3Smrg ac_prev=build_alias ;; 3407da8b7e3Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 3417da8b7e3Smrg build_alias=$ac_optarg ;; 3427da8b7e3Smrg 3437da8b7e3Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 3447da8b7e3Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 3457da8b7e3Smrg ac_prev=cache_file ;; 3467da8b7e3Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 3477da8b7e3Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 3487da8b7e3Smrg cache_file=$ac_optarg ;; 3497da8b7e3Smrg 3507da8b7e3Smrg --config-cache | -C) 3517da8b7e3Smrg cache_file=config.cache ;; 3527da8b7e3Smrg 3537da8b7e3Smrg -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 3547da8b7e3Smrg ac_prev=datadir ;; 3557da8b7e3Smrg -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 3567da8b7e3Smrg | --da=*) 3577da8b7e3Smrg datadir=$ac_optarg ;; 3587da8b7e3Smrg 3597da8b7e3Smrg -disable-* | --disable-*) 3607da8b7e3Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 3617da8b7e3Smrg # Reject names that are not valid shell variable names. 3627da8b7e3Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 3637da8b7e3Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 3647da8b7e3Smrg { (exit 1); exit 1; }; } 3657da8b7e3Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 3667da8b7e3Smrg eval "enable_$ac_feature=no" ;; 3677da8b7e3Smrg 3687da8b7e3Smrg -enable-* | --enable-*) 3697da8b7e3Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 3707da8b7e3Smrg # Reject names that are not valid shell variable names. 3717da8b7e3Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 3727da8b7e3Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 3737da8b7e3Smrg { (exit 1); exit 1; }; } 3747da8b7e3Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 3757da8b7e3Smrg case $ac_option in 3767da8b7e3Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 3777da8b7e3Smrg *) ac_optarg=yes ;; 3787da8b7e3Smrg esac 3797da8b7e3Smrg eval "enable_$ac_feature='$ac_optarg'" ;; 3807da8b7e3Smrg 3817da8b7e3Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 3827da8b7e3Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 3837da8b7e3Smrg | --exec | --exe | --ex) 3847da8b7e3Smrg ac_prev=exec_prefix ;; 3857da8b7e3Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 3867da8b7e3Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 3877da8b7e3Smrg | --exec=* | --exe=* | --ex=*) 3887da8b7e3Smrg exec_prefix=$ac_optarg ;; 3897da8b7e3Smrg 3907da8b7e3Smrg -gas | --gas | --ga | --g) 3917da8b7e3Smrg # Obsolete; use --with-gas. 3927da8b7e3Smrg with_gas=yes ;; 3937da8b7e3Smrg 3947da8b7e3Smrg -help | --help | --hel | --he | -h) 3957da8b7e3Smrg ac_init_help=long ;; 3967da8b7e3Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 3977da8b7e3Smrg ac_init_help=recursive ;; 3987da8b7e3Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 3997da8b7e3Smrg ac_init_help=short ;; 4007da8b7e3Smrg 4017da8b7e3Smrg -host | --host | --hos | --ho) 4027da8b7e3Smrg ac_prev=host_alias ;; 4037da8b7e3Smrg -host=* | --host=* | --hos=* | --ho=*) 4047da8b7e3Smrg host_alias=$ac_optarg ;; 4057da8b7e3Smrg 4067da8b7e3Smrg -includedir | --includedir | --includedi | --included | --include \ 4077da8b7e3Smrg | --includ | --inclu | --incl | --inc) 4087da8b7e3Smrg ac_prev=includedir ;; 4097da8b7e3Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 4107da8b7e3Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 4117da8b7e3Smrg includedir=$ac_optarg ;; 4127da8b7e3Smrg 4137da8b7e3Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 4147da8b7e3Smrg ac_prev=infodir ;; 4157da8b7e3Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 4167da8b7e3Smrg infodir=$ac_optarg ;; 4177da8b7e3Smrg 4187da8b7e3Smrg -libdir | --libdir | --libdi | --libd) 4197da8b7e3Smrg ac_prev=libdir ;; 4207da8b7e3Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 4217da8b7e3Smrg libdir=$ac_optarg ;; 4227da8b7e3Smrg 4237da8b7e3Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 4247da8b7e3Smrg | --libexe | --libex | --libe) 4257da8b7e3Smrg ac_prev=libexecdir ;; 4267da8b7e3Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 4277da8b7e3Smrg | --libexe=* | --libex=* | --libe=*) 4287da8b7e3Smrg libexecdir=$ac_optarg ;; 4297da8b7e3Smrg 4307da8b7e3Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 4317da8b7e3Smrg | --localstate | --localstat | --localsta | --localst \ 4327da8b7e3Smrg | --locals | --local | --loca | --loc | --lo) 4337da8b7e3Smrg ac_prev=localstatedir ;; 4347da8b7e3Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 4357da8b7e3Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 4367da8b7e3Smrg | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 4377da8b7e3Smrg localstatedir=$ac_optarg ;; 4387da8b7e3Smrg 4397da8b7e3Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 4407da8b7e3Smrg ac_prev=mandir ;; 4417da8b7e3Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 4427da8b7e3Smrg mandir=$ac_optarg ;; 4437da8b7e3Smrg 4447da8b7e3Smrg -nfp | --nfp | --nf) 4457da8b7e3Smrg # Obsolete; use --without-fp. 4467da8b7e3Smrg with_fp=no ;; 4477da8b7e3Smrg 4487da8b7e3Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 4497da8b7e3Smrg | --no-cr | --no-c | -n) 4507da8b7e3Smrg no_create=yes ;; 4517da8b7e3Smrg 4527da8b7e3Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 4537da8b7e3Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 4547da8b7e3Smrg no_recursion=yes ;; 4557da8b7e3Smrg 4567da8b7e3Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 4577da8b7e3Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 4587da8b7e3Smrg | --oldin | --oldi | --old | --ol | --o) 4597da8b7e3Smrg ac_prev=oldincludedir ;; 4607da8b7e3Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 4617da8b7e3Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 4627da8b7e3Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 4637da8b7e3Smrg oldincludedir=$ac_optarg ;; 4647da8b7e3Smrg 4657da8b7e3Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 4667da8b7e3Smrg ac_prev=prefix ;; 4677da8b7e3Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 4687da8b7e3Smrg prefix=$ac_optarg ;; 4697da8b7e3Smrg 4707da8b7e3Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 4717da8b7e3Smrg | --program-pre | --program-pr | --program-p) 4727da8b7e3Smrg ac_prev=program_prefix ;; 4737da8b7e3Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 4747da8b7e3Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 4757da8b7e3Smrg program_prefix=$ac_optarg ;; 4767da8b7e3Smrg 4777da8b7e3Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 4787da8b7e3Smrg | --program-suf | --program-su | --program-s) 4797da8b7e3Smrg ac_prev=program_suffix ;; 4807da8b7e3Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 4817da8b7e3Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 4827da8b7e3Smrg program_suffix=$ac_optarg ;; 4837da8b7e3Smrg 4847da8b7e3Smrg -program-transform-name | --program-transform-name \ 4857da8b7e3Smrg | --program-transform-nam | --program-transform-na \ 4867da8b7e3Smrg | --program-transform-n | --program-transform- \ 4877da8b7e3Smrg | --program-transform | --program-transfor \ 4887da8b7e3Smrg | --program-transfo | --program-transf \ 4897da8b7e3Smrg | --program-trans | --program-tran \ 4907da8b7e3Smrg | --progr-tra | --program-tr | --program-t) 4917da8b7e3Smrg ac_prev=program_transform_name ;; 4927da8b7e3Smrg -program-transform-name=* | --program-transform-name=* \ 4937da8b7e3Smrg | --program-transform-nam=* | --program-transform-na=* \ 4947da8b7e3Smrg | --program-transform-n=* | --program-transform-=* \ 4957da8b7e3Smrg | --program-transform=* | --program-transfor=* \ 4967da8b7e3Smrg | --program-transfo=* | --program-transf=* \ 4977da8b7e3Smrg | --program-trans=* | --program-tran=* \ 4987da8b7e3Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 4997da8b7e3Smrg program_transform_name=$ac_optarg ;; 5007da8b7e3Smrg 5017da8b7e3Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5027da8b7e3Smrg | -silent | --silent | --silen | --sile | --sil) 5037da8b7e3Smrg silent=yes ;; 5047da8b7e3Smrg 5057da8b7e3Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 5067da8b7e3Smrg ac_prev=sbindir ;; 5077da8b7e3Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 5087da8b7e3Smrg | --sbi=* | --sb=*) 5097da8b7e3Smrg sbindir=$ac_optarg ;; 5107da8b7e3Smrg 5117da8b7e3Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 5127da8b7e3Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 5137da8b7e3Smrg | --sharedst | --shareds | --shared | --share | --shar \ 5147da8b7e3Smrg | --sha | --sh) 5157da8b7e3Smrg ac_prev=sharedstatedir ;; 5167da8b7e3Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 5177da8b7e3Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 5187da8b7e3Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 5197da8b7e3Smrg | --sha=* | --sh=*) 5207da8b7e3Smrg sharedstatedir=$ac_optarg ;; 5217da8b7e3Smrg 5227da8b7e3Smrg -site | --site | --sit) 5237da8b7e3Smrg ac_prev=site ;; 5247da8b7e3Smrg -site=* | --site=* | --sit=*) 5257da8b7e3Smrg site=$ac_optarg ;; 5267da8b7e3Smrg 5277da8b7e3Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 5287da8b7e3Smrg ac_prev=srcdir ;; 5297da8b7e3Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 5307da8b7e3Smrg srcdir=$ac_optarg ;; 5317da8b7e3Smrg 5327da8b7e3Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 5337da8b7e3Smrg | --syscon | --sysco | --sysc | --sys | --sy) 5347da8b7e3Smrg ac_prev=sysconfdir ;; 5357da8b7e3Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 5367da8b7e3Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 5377da8b7e3Smrg sysconfdir=$ac_optarg ;; 5387da8b7e3Smrg 5397da8b7e3Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 5407da8b7e3Smrg ac_prev=target_alias ;; 5417da8b7e3Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 5427da8b7e3Smrg target_alias=$ac_optarg ;; 5437da8b7e3Smrg 5447da8b7e3Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 5457da8b7e3Smrg verbose=yes ;; 5467da8b7e3Smrg 5477da8b7e3Smrg -version | --version | --versio | --versi | --vers | -V) 5487da8b7e3Smrg ac_init_version=: ;; 5497da8b7e3Smrg 5507da8b7e3Smrg -with-* | --with-*) 5517da8b7e3Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 5527da8b7e3Smrg # Reject names that are not valid shell variable names. 5537da8b7e3Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 5547da8b7e3Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 5557da8b7e3Smrg { (exit 1); exit 1; }; } 5567da8b7e3Smrg ac_package=`echo $ac_package| sed 's/-/_/g'` 5577da8b7e3Smrg case $ac_option in 5587da8b7e3Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 5597da8b7e3Smrg *) ac_optarg=yes ;; 5607da8b7e3Smrg esac 5617da8b7e3Smrg eval "with_$ac_package='$ac_optarg'" ;; 5627da8b7e3Smrg 5637da8b7e3Smrg -without-* | --without-*) 5647da8b7e3Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 5657da8b7e3Smrg # Reject names that are not valid shell variable names. 5667da8b7e3Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 5677da8b7e3Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 5687da8b7e3Smrg { (exit 1); exit 1; }; } 5697da8b7e3Smrg ac_package=`echo $ac_package | sed 's/-/_/g'` 5707da8b7e3Smrg eval "with_$ac_package=no" ;; 5717da8b7e3Smrg 5727da8b7e3Smrg --x) 5737da8b7e3Smrg # Obsolete; use --with-x. 5747da8b7e3Smrg with_x=yes ;; 5757da8b7e3Smrg 5767da8b7e3Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 5777da8b7e3Smrg | --x-incl | --x-inc | --x-in | --x-i) 5787da8b7e3Smrg ac_prev=x_includes ;; 5797da8b7e3Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 5807da8b7e3Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 5817da8b7e3Smrg x_includes=$ac_optarg ;; 5827da8b7e3Smrg 5837da8b7e3Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 5847da8b7e3Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 5857da8b7e3Smrg ac_prev=x_libraries ;; 5867da8b7e3Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 5877da8b7e3Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 5887da8b7e3Smrg x_libraries=$ac_optarg ;; 5897da8b7e3Smrg 5907da8b7e3Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 5917da8b7e3SmrgTry \`$0 --help' for more information." >&2 5927da8b7e3Smrg { (exit 1); exit 1; }; } 5937da8b7e3Smrg ;; 5947da8b7e3Smrg 5957da8b7e3Smrg *=*) 5967da8b7e3Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 5977da8b7e3Smrg # Reject names that are not valid shell variable names. 5987da8b7e3Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 5997da8b7e3Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 6007da8b7e3Smrg { (exit 1); exit 1; }; } 6017da8b7e3Smrg ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 6027da8b7e3Smrg eval "$ac_envvar='$ac_optarg'" 6037da8b7e3Smrg export $ac_envvar ;; 6047da8b7e3Smrg 6057da8b7e3Smrg *) 6067da8b7e3Smrg # FIXME: should be removed in autoconf 3.0. 6077da8b7e3Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 6087da8b7e3Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 6097da8b7e3Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 6107da8b7e3Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 6117da8b7e3Smrg ;; 6127da8b7e3Smrg 6137da8b7e3Smrg esac 6147da8b7e3Smrgdone 6157da8b7e3Smrg 6167da8b7e3Smrgif test -n "$ac_prev"; then 6177da8b7e3Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 6187da8b7e3Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 6197da8b7e3Smrg { (exit 1); exit 1; }; } 6207da8b7e3Smrgfi 6217da8b7e3Smrg 6227da8b7e3Smrg# Be sure to have absolute paths. 6237da8b7e3Smrgfor ac_var in exec_prefix prefix 6247da8b7e3Smrgdo 6257da8b7e3Smrg eval ac_val=$`echo $ac_var` 6267da8b7e3Smrg case $ac_val in 6277da8b7e3Smrg [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 6287da8b7e3Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 6297da8b7e3Smrg { (exit 1); exit 1; }; };; 6307da8b7e3Smrg esac 6317da8b7e3Smrgdone 6327da8b7e3Smrg 6337da8b7e3Smrg# Be sure to have absolute paths. 6347da8b7e3Smrgfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 6357da8b7e3Smrg localstatedir libdir includedir oldincludedir infodir mandir 6367da8b7e3Smrgdo 6377da8b7e3Smrg eval ac_val=$`echo $ac_var` 6387da8b7e3Smrg case $ac_val in 6397da8b7e3Smrg [\\/$]* | ?:[\\/]* ) ;; 6407da8b7e3Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 6417da8b7e3Smrg { (exit 1); exit 1; }; };; 6427da8b7e3Smrg esac 6437da8b7e3Smrgdone 6447da8b7e3Smrg 6457da8b7e3Smrg# There might be people who depend on the old broken behavior: `$host' 6467da8b7e3Smrg# used to hold the argument of --host etc. 6477da8b7e3Smrg# FIXME: To remove some day. 6487da8b7e3Smrgbuild=$build_alias 6497da8b7e3Smrghost=$host_alias 6507da8b7e3Smrgtarget=$target_alias 6517da8b7e3Smrg 6527da8b7e3Smrg# FIXME: To remove some day. 6537da8b7e3Smrgif test "x$host_alias" != x; then 6547da8b7e3Smrg if test "x$build_alias" = x; then 6557da8b7e3Smrg cross_compiling=maybe 6567da8b7e3Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 6577da8b7e3Smrg If a cross compiler is detected then cross compile mode will be used." >&2 6587da8b7e3Smrg elif test "x$build_alias" != "x$host_alias"; then 6597da8b7e3Smrg cross_compiling=yes 6607da8b7e3Smrg fi 6617da8b7e3Smrgfi 6627da8b7e3Smrg 6637da8b7e3Smrgac_tool_prefix= 6647da8b7e3Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 6657da8b7e3Smrg 6667da8b7e3Smrgtest "$silent" = yes && exec 6>/dev/null 6677da8b7e3Smrg 6687da8b7e3Smrg 6697da8b7e3Smrg# Find the source files, if location was not specified. 6707da8b7e3Smrgif test -z "$srcdir"; then 6717da8b7e3Smrg ac_srcdir_defaulted=yes 6727da8b7e3Smrg # Try the directory containing this script, then its parent. 6737da8b7e3Smrg ac_confdir=`(dirname "$0") 2>/dev/null || 6747da8b7e3Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6757da8b7e3Smrg X"$0" : 'X\(//\)[^/]' \| \ 6767da8b7e3Smrg X"$0" : 'X\(//\)$' \| \ 6777da8b7e3Smrg X"$0" : 'X\(/\)' \| \ 6787da8b7e3Smrg . : '\(.\)' 2>/dev/null || 6797da8b7e3Smrgecho X"$0" | 6807da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6817da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6827da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 6837da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 6847da8b7e3Smrg s/.*/./; q'` 6857da8b7e3Smrg srcdir=$ac_confdir 6867da8b7e3Smrg if test ! -r $srcdir/$ac_unique_file; then 6877da8b7e3Smrg srcdir=.. 6887da8b7e3Smrg fi 6897da8b7e3Smrgelse 6907da8b7e3Smrg ac_srcdir_defaulted=no 6917da8b7e3Smrgfi 6927da8b7e3Smrgif test ! -r $srcdir/$ac_unique_file; then 6937da8b7e3Smrg if test "$ac_srcdir_defaulted" = yes; then 6947da8b7e3Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 6957da8b7e3Smrg { (exit 1); exit 1; }; } 6967da8b7e3Smrg else 6977da8b7e3Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 6987da8b7e3Smrg { (exit 1); exit 1; }; } 6997da8b7e3Smrg fi 7007da8b7e3Smrgfi 7017da8b7e3Smrg(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 7027da8b7e3Smrg { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 7037da8b7e3Smrg { (exit 1); exit 1; }; } 7047da8b7e3Smrgsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 7057da8b7e3Smrgac_env_build_alias_set=${build_alias+set} 7067da8b7e3Smrgac_env_build_alias_value=$build_alias 7077da8b7e3Smrgac_cv_env_build_alias_set=${build_alias+set} 7087da8b7e3Smrgac_cv_env_build_alias_value=$build_alias 7097da8b7e3Smrgac_env_host_alias_set=${host_alias+set} 7107da8b7e3Smrgac_env_host_alias_value=$host_alias 7117da8b7e3Smrgac_cv_env_host_alias_set=${host_alias+set} 7127da8b7e3Smrgac_cv_env_host_alias_value=$host_alias 7137da8b7e3Smrgac_env_target_alias_set=${target_alias+set} 7147da8b7e3Smrgac_env_target_alias_value=$target_alias 7157da8b7e3Smrgac_cv_env_target_alias_set=${target_alias+set} 7167da8b7e3Smrgac_cv_env_target_alias_value=$target_alias 7177da8b7e3Smrgac_env_CC_set=${CC+set} 7187da8b7e3Smrgac_env_CC_value=$CC 7197da8b7e3Smrgac_cv_env_CC_set=${CC+set} 7207da8b7e3Smrgac_cv_env_CC_value=$CC 7217da8b7e3Smrgac_env_CFLAGS_set=${CFLAGS+set} 7227da8b7e3Smrgac_env_CFLAGS_value=$CFLAGS 7237da8b7e3Smrgac_cv_env_CFLAGS_set=${CFLAGS+set} 7247da8b7e3Smrgac_cv_env_CFLAGS_value=$CFLAGS 7257da8b7e3Smrgac_env_LDFLAGS_set=${LDFLAGS+set} 7267da8b7e3Smrgac_env_LDFLAGS_value=$LDFLAGS 7277da8b7e3Smrgac_cv_env_LDFLAGS_set=${LDFLAGS+set} 7287da8b7e3Smrgac_cv_env_LDFLAGS_value=$LDFLAGS 7297da8b7e3Smrgac_env_CPPFLAGS_set=${CPPFLAGS+set} 7307da8b7e3Smrgac_env_CPPFLAGS_value=$CPPFLAGS 7317da8b7e3Smrgac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 7327da8b7e3Smrgac_cv_env_CPPFLAGS_value=$CPPFLAGS 7337da8b7e3Smrgac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 7347da8b7e3Smrgac_env_PKG_CONFIG_value=$PKG_CONFIG 7357da8b7e3Smrgac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 7367da8b7e3Smrgac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 7377da8b7e3Smrgac_env_XREFRESH_CFLAGS_set=${XREFRESH_CFLAGS+set} 7387da8b7e3Smrgac_env_XREFRESH_CFLAGS_value=$XREFRESH_CFLAGS 7397da8b7e3Smrgac_cv_env_XREFRESH_CFLAGS_set=${XREFRESH_CFLAGS+set} 7407da8b7e3Smrgac_cv_env_XREFRESH_CFLAGS_value=$XREFRESH_CFLAGS 7417da8b7e3Smrgac_env_XREFRESH_LIBS_set=${XREFRESH_LIBS+set} 7427da8b7e3Smrgac_env_XREFRESH_LIBS_value=$XREFRESH_LIBS 7437da8b7e3Smrgac_cv_env_XREFRESH_LIBS_set=${XREFRESH_LIBS+set} 7447da8b7e3Smrgac_cv_env_XREFRESH_LIBS_value=$XREFRESH_LIBS 7457da8b7e3Smrg 7467da8b7e3Smrg# 7477da8b7e3Smrg# Report the --help message. 7487da8b7e3Smrg# 7497da8b7e3Smrgif test "$ac_init_help" = "long"; then 7507da8b7e3Smrg # Omit some internal or obsolete options to make the list less imposing. 7517da8b7e3Smrg # This message is too long to be a string in the A/UX 3.1 sh. 7527da8b7e3Smrg cat <<_ACEOF 7537da8b7e3Smrg\`configure' configures xrefresh 1.0.2 to adapt to many kinds of systems. 7547da8b7e3Smrg 7557da8b7e3SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 7567da8b7e3Smrg 7577da8b7e3SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 7587da8b7e3SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 7597da8b7e3Smrg 7607da8b7e3SmrgDefaults for the options are specified in brackets. 7617da8b7e3Smrg 7627da8b7e3SmrgConfiguration: 7637da8b7e3Smrg -h, --help display this help and exit 7647da8b7e3Smrg --help=short display options specific to this package 7657da8b7e3Smrg --help=recursive display the short help of all the included packages 7667da8b7e3Smrg -V, --version display version information and exit 7677da8b7e3Smrg -q, --quiet, --silent do not print \`checking...' messages 7687da8b7e3Smrg --cache-file=FILE cache test results in FILE [disabled] 7697da8b7e3Smrg -C, --config-cache alias for \`--cache-file=config.cache' 7707da8b7e3Smrg -n, --no-create do not create output files 7717da8b7e3Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 7727da8b7e3Smrg 7737da8b7e3Smrg_ACEOF 7747da8b7e3Smrg 7757da8b7e3Smrg cat <<_ACEOF 7767da8b7e3SmrgInstallation directories: 7777da8b7e3Smrg --prefix=PREFIX install architecture-independent files in PREFIX 7787da8b7e3Smrg [$ac_default_prefix] 7797da8b7e3Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 7807da8b7e3Smrg [PREFIX] 7817da8b7e3Smrg 7827da8b7e3SmrgBy default, \`make install' will install all the files in 7837da8b7e3Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 7847da8b7e3Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 7857da8b7e3Smrgfor instance \`--prefix=\$HOME'. 7867da8b7e3Smrg 7877da8b7e3SmrgFor better control, use the options below. 7887da8b7e3Smrg 7897da8b7e3SmrgFine tuning of the installation directories: 7907da8b7e3Smrg --bindir=DIR user executables [EPREFIX/bin] 7917da8b7e3Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 7927da8b7e3Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 7937da8b7e3Smrg --datadir=DIR read-only architecture-independent data [PREFIX/share] 7947da8b7e3Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 7957da8b7e3Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 7967da8b7e3Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 7977da8b7e3Smrg --libdir=DIR object code libraries [EPREFIX/lib] 7987da8b7e3Smrg --includedir=DIR C header files [PREFIX/include] 7997da8b7e3Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 8007da8b7e3Smrg --infodir=DIR info documentation [PREFIX/info] 8017da8b7e3Smrg --mandir=DIR man documentation [PREFIX/man] 8027da8b7e3Smrg_ACEOF 8037da8b7e3Smrg 8047da8b7e3Smrg cat <<\_ACEOF 8057da8b7e3Smrg 8067da8b7e3SmrgProgram names: 8077da8b7e3Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 8087da8b7e3Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 8097da8b7e3Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 8107da8b7e3Smrg 8117da8b7e3SmrgSystem types: 8127da8b7e3Smrg --build=BUILD configure for building on BUILD [guessed] 8137da8b7e3Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 8147da8b7e3Smrg_ACEOF 8157da8b7e3Smrgfi 8167da8b7e3Smrg 8177da8b7e3Smrgif test -n "$ac_init_help"; then 8187da8b7e3Smrg case $ac_init_help in 8197da8b7e3Smrg short | recursive ) echo "Configuration of xrefresh 1.0.2:";; 8207da8b7e3Smrg esac 8217da8b7e3Smrg cat <<\_ACEOF 8227da8b7e3Smrg 8237da8b7e3SmrgOptional Features: 8247da8b7e3Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 8257da8b7e3Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 8267da8b7e3Smrg --enable-maintainer-mode enable make rules and dependencies not useful 8277da8b7e3Smrg (and sometimes confusing) to the casual installer 8287da8b7e3Smrg --disable-dependency-tracking speeds up one-time build 8297da8b7e3Smrg --enable-dependency-tracking do not reject slow dependency extractors 8307da8b7e3Smrg 8317da8b7e3SmrgOptional Packages: 8327da8b7e3Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 8337da8b7e3Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 8347da8b7e3Smrg --with-release-version=STRING 8357da8b7e3Smrg Use release version string in package name 8367da8b7e3Smrg 8377da8b7e3SmrgSome influential environment variables: 8387da8b7e3Smrg CC C compiler command 8397da8b7e3Smrg CFLAGS C compiler flags 8407da8b7e3Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 8417da8b7e3Smrg nonstandard directory <lib dir> 8427da8b7e3Smrg CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 8437da8b7e3Smrg headers in a nonstandard directory <include dir> 8447da8b7e3Smrg PKG_CONFIG path to pkg-config utility 8457da8b7e3Smrg XREFRESH_CFLAGS 8467da8b7e3Smrg C compiler flags for XREFRESH, overriding pkg-config 8477da8b7e3Smrg XREFRESH_LIBS 8487da8b7e3Smrg linker flags for XREFRESH, overriding pkg-config 8497da8b7e3Smrg 8507da8b7e3SmrgUse these variables to override the choices made by `configure' or to help 8517da8b7e3Smrgit to find libraries and programs with nonstandard names/locations. 8527da8b7e3Smrg 8537da8b7e3SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 8547da8b7e3Smrg_ACEOF 8557da8b7e3Smrgfi 8567da8b7e3Smrg 8577da8b7e3Smrgif test "$ac_init_help" = "recursive"; then 8587da8b7e3Smrg # If there are subdirs, report their specific --help. 8597da8b7e3Smrg ac_popdir=`pwd` 8607da8b7e3Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 8617da8b7e3Smrg test -d $ac_dir || continue 8627da8b7e3Smrg ac_builddir=. 8637da8b7e3Smrg 8647da8b7e3Smrgif test "$ac_dir" != .; then 8657da8b7e3Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8667da8b7e3Smrg # A "../" for each directory in $ac_dir_suffix. 8677da8b7e3Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8687da8b7e3Smrgelse 8697da8b7e3Smrg ac_dir_suffix= ac_top_builddir= 8707da8b7e3Smrgfi 8717da8b7e3Smrg 8727da8b7e3Smrgcase $srcdir in 8737da8b7e3Smrg .) # No --srcdir option. We are building in place. 8747da8b7e3Smrg ac_srcdir=. 8757da8b7e3Smrg if test -z "$ac_top_builddir"; then 8767da8b7e3Smrg ac_top_srcdir=. 8777da8b7e3Smrg else 8787da8b7e3Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8797da8b7e3Smrg fi ;; 8807da8b7e3Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 8817da8b7e3Smrg ac_srcdir=$srcdir$ac_dir_suffix; 8827da8b7e3Smrg ac_top_srcdir=$srcdir ;; 8837da8b7e3Smrg *) # Relative path. 8847da8b7e3Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8857da8b7e3Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 8867da8b7e3Smrgesac 8877da8b7e3Smrg 8887da8b7e3Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 8897da8b7e3Smrg# the directories may not exist. 8907da8b7e3Smrgcase `pwd` in 8917da8b7e3Smrg.) ac_abs_builddir="$ac_dir";; 8927da8b7e3Smrg*) 8937da8b7e3Smrg case "$ac_dir" in 8947da8b7e3Smrg .) ac_abs_builddir=`pwd`;; 8957da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8967da8b7e3Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 8977da8b7e3Smrg esac;; 8987da8b7e3Smrgesac 8997da8b7e3Smrgcase $ac_abs_builddir in 9007da8b7e3Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 9017da8b7e3Smrg*) 9027da8b7e3Smrg case ${ac_top_builddir}. in 9037da8b7e3Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 9047da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9057da8b7e3Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9067da8b7e3Smrg esac;; 9077da8b7e3Smrgesac 9087da8b7e3Smrgcase $ac_abs_builddir in 9097da8b7e3Smrg.) ac_abs_srcdir=$ac_srcdir;; 9107da8b7e3Smrg*) 9117da8b7e3Smrg case $ac_srcdir in 9127da8b7e3Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 9137da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9147da8b7e3Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9157da8b7e3Smrg esac;; 9167da8b7e3Smrgesac 9177da8b7e3Smrgcase $ac_abs_builddir in 9187da8b7e3Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 9197da8b7e3Smrg*) 9207da8b7e3Smrg case $ac_top_srcdir in 9217da8b7e3Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 9227da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9237da8b7e3Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9247da8b7e3Smrg esac;; 9257da8b7e3Smrgesac 9267da8b7e3Smrg 9277da8b7e3Smrg cd $ac_dir 9287da8b7e3Smrg # Check for guested configure; otherwise get Cygnus style configure. 9297da8b7e3Smrg if test -f $ac_srcdir/configure.gnu; then 9307da8b7e3Smrg echo 9317da8b7e3Smrg $SHELL $ac_srcdir/configure.gnu --help=recursive 9327da8b7e3Smrg elif test -f $ac_srcdir/configure; then 9337da8b7e3Smrg echo 9347da8b7e3Smrg $SHELL $ac_srcdir/configure --help=recursive 9357da8b7e3Smrg elif test -f $ac_srcdir/configure.ac || 9367da8b7e3Smrg test -f $ac_srcdir/configure.in; then 9377da8b7e3Smrg echo 9387da8b7e3Smrg $ac_configure --help 9397da8b7e3Smrg else 9407da8b7e3Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 9417da8b7e3Smrg fi 9427da8b7e3Smrg cd $ac_popdir 9437da8b7e3Smrg done 9447da8b7e3Smrgfi 9457da8b7e3Smrg 9467da8b7e3Smrgtest -n "$ac_init_help" && exit 0 9477da8b7e3Smrgif $ac_init_version; then 9487da8b7e3Smrg cat <<\_ACEOF 9497da8b7e3Smrgxrefresh configure 1.0.2 9507da8b7e3Smrggenerated by GNU Autoconf 2.59 9517da8b7e3Smrg 9527da8b7e3SmrgCopyright (C) 2003 Free Software Foundation, Inc. 9537da8b7e3SmrgThis configure script is free software; the Free Software Foundation 9547da8b7e3Smrggives unlimited permission to copy, distribute and modify it. 9557da8b7e3Smrg_ACEOF 9567da8b7e3Smrg exit 0 9577da8b7e3Smrgfi 9587da8b7e3Smrgexec 5>config.log 9597da8b7e3Smrgcat >&5 <<_ACEOF 9607da8b7e3SmrgThis file contains any messages produced by compilers while 9617da8b7e3Smrgrunning configure, to aid debugging if configure makes a mistake. 9627da8b7e3Smrg 9637da8b7e3SmrgIt was created by xrefresh $as_me 1.0.2, which was 9647da8b7e3Smrggenerated by GNU Autoconf 2.59. Invocation command line was 9657da8b7e3Smrg 9667da8b7e3Smrg $ $0 $@ 9677da8b7e3Smrg 9687da8b7e3Smrg_ACEOF 9697da8b7e3Smrg{ 9707da8b7e3Smrgcat <<_ASUNAME 9717da8b7e3Smrg## --------- ## 9727da8b7e3Smrg## Platform. ## 9737da8b7e3Smrg## --------- ## 9747da8b7e3Smrg 9757da8b7e3Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 9767da8b7e3Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 9777da8b7e3Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 9787da8b7e3Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 9797da8b7e3Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 9807da8b7e3Smrg 9817da8b7e3Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 9827da8b7e3Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 9837da8b7e3Smrg 9847da8b7e3Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 9857da8b7e3Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 9867da8b7e3Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 9877da8b7e3Smrghostinfo = `(hostinfo) 2>/dev/null || echo unknown` 9887da8b7e3Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 9897da8b7e3Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 9907da8b7e3Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 9917da8b7e3Smrg 9927da8b7e3Smrg_ASUNAME 9937da8b7e3Smrg 9947da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9957da8b7e3Smrgfor as_dir in $PATH 9967da8b7e3Smrgdo 9977da8b7e3Smrg IFS=$as_save_IFS 9987da8b7e3Smrg test -z "$as_dir" && as_dir=. 9997da8b7e3Smrg echo "PATH: $as_dir" 10007da8b7e3Smrgdone 10017da8b7e3Smrg 10027da8b7e3Smrg} >&5 10037da8b7e3Smrg 10047da8b7e3Smrgcat >&5 <<_ACEOF 10057da8b7e3Smrg 10067da8b7e3Smrg 10077da8b7e3Smrg## ----------- ## 10087da8b7e3Smrg## Core tests. ## 10097da8b7e3Smrg## ----------- ## 10107da8b7e3Smrg 10117da8b7e3Smrg_ACEOF 10127da8b7e3Smrg 10137da8b7e3Smrg 10147da8b7e3Smrg# Keep a trace of the command line. 10157da8b7e3Smrg# Strip out --no-create and --no-recursion so they do not pile up. 10167da8b7e3Smrg# Strip out --silent because we don't want to record it for future runs. 10177da8b7e3Smrg# Also quote any args containing shell meta-characters. 10187da8b7e3Smrg# Make two passes to allow for proper duplicate-argument suppression. 10197da8b7e3Smrgac_configure_args= 10207da8b7e3Smrgac_configure_args0= 10217da8b7e3Smrgac_configure_args1= 10227da8b7e3Smrgac_sep= 10237da8b7e3Smrgac_must_keep_next=false 10247da8b7e3Smrgfor ac_pass in 1 2 10257da8b7e3Smrgdo 10267da8b7e3Smrg for ac_arg 10277da8b7e3Smrg do 10287da8b7e3Smrg case $ac_arg in 10297da8b7e3Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 10307da8b7e3Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10317da8b7e3Smrg | -silent | --silent | --silen | --sile | --sil) 10327da8b7e3Smrg continue ;; 10337da8b7e3Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 10347da8b7e3Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10357da8b7e3Smrg esac 10367da8b7e3Smrg case $ac_pass in 10377da8b7e3Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 10387da8b7e3Smrg 2) 10397da8b7e3Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 10407da8b7e3Smrg if test $ac_must_keep_next = true; then 10417da8b7e3Smrg ac_must_keep_next=false # Got value, back to normal. 10427da8b7e3Smrg else 10437da8b7e3Smrg case $ac_arg in 10447da8b7e3Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 10457da8b7e3Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 10467da8b7e3Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 10477da8b7e3Smrg | -with-* | --with-* | -without-* | --without-* | --x) 10487da8b7e3Smrg case "$ac_configure_args0 " in 10497da8b7e3Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 10507da8b7e3Smrg esac 10517da8b7e3Smrg ;; 10527da8b7e3Smrg -* ) ac_must_keep_next=true ;; 10537da8b7e3Smrg esac 10547da8b7e3Smrg fi 10557da8b7e3Smrg ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 10567da8b7e3Smrg # Get rid of the leading space. 10577da8b7e3Smrg ac_sep=" " 10587da8b7e3Smrg ;; 10597da8b7e3Smrg esac 10607da8b7e3Smrg done 10617da8b7e3Smrgdone 10627da8b7e3Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 10637da8b7e3Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 10647da8b7e3Smrg 10657da8b7e3Smrg# When interrupted or exit'd, cleanup temporary files, and complete 10667da8b7e3Smrg# config.log. We remove comments because anyway the quotes in there 10677da8b7e3Smrg# would cause problems or look ugly. 10687da8b7e3Smrg# WARNING: Be sure not to use single quotes in there, as some shells, 10697da8b7e3Smrg# such as our DU 5.0 friend, will then `close' the trap. 10707da8b7e3Smrgtrap 'exit_status=$? 10717da8b7e3Smrg # Save into config.log some information that might help in debugging. 10727da8b7e3Smrg { 10737da8b7e3Smrg echo 10747da8b7e3Smrg 10757da8b7e3Smrg cat <<\_ASBOX 10767da8b7e3Smrg## ---------------- ## 10777da8b7e3Smrg## Cache variables. ## 10787da8b7e3Smrg## ---------------- ## 10797da8b7e3Smrg_ASBOX 10807da8b7e3Smrg echo 10817da8b7e3Smrg # The following way of writing the cache mishandles newlines in values, 10827da8b7e3Smrg{ 10837da8b7e3Smrg (set) 2>&1 | 10847da8b7e3Smrg case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 10857da8b7e3Smrg *ac_space=\ *) 10867da8b7e3Smrg sed -n \ 10877da8b7e3Smrg "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 10887da8b7e3Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 10897da8b7e3Smrg ;; 10907da8b7e3Smrg *) 10917da8b7e3Smrg sed -n \ 10927da8b7e3Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 10937da8b7e3Smrg ;; 10947da8b7e3Smrg esac; 10957da8b7e3Smrg} 10967da8b7e3Smrg echo 10977da8b7e3Smrg 10987da8b7e3Smrg cat <<\_ASBOX 10997da8b7e3Smrg## ----------------- ## 11007da8b7e3Smrg## Output variables. ## 11017da8b7e3Smrg## ----------------- ## 11027da8b7e3Smrg_ASBOX 11037da8b7e3Smrg echo 11047da8b7e3Smrg for ac_var in $ac_subst_vars 11057da8b7e3Smrg do 11067da8b7e3Smrg eval ac_val=$`echo $ac_var` 11077da8b7e3Smrg echo "$ac_var='"'"'$ac_val'"'"'" 11087da8b7e3Smrg done | sort 11097da8b7e3Smrg echo 11107da8b7e3Smrg 11117da8b7e3Smrg if test -n "$ac_subst_files"; then 11127da8b7e3Smrg cat <<\_ASBOX 11137da8b7e3Smrg## ------------- ## 11147da8b7e3Smrg## Output files. ## 11157da8b7e3Smrg## ------------- ## 11167da8b7e3Smrg_ASBOX 11177da8b7e3Smrg echo 11187da8b7e3Smrg for ac_var in $ac_subst_files 11197da8b7e3Smrg do 11207da8b7e3Smrg eval ac_val=$`echo $ac_var` 11217da8b7e3Smrg echo "$ac_var='"'"'$ac_val'"'"'" 11227da8b7e3Smrg done | sort 11237da8b7e3Smrg echo 11247da8b7e3Smrg fi 11257da8b7e3Smrg 11267da8b7e3Smrg if test -s confdefs.h; then 11277da8b7e3Smrg cat <<\_ASBOX 11287da8b7e3Smrg## ----------- ## 11297da8b7e3Smrg## confdefs.h. ## 11307da8b7e3Smrg## ----------- ## 11317da8b7e3Smrg_ASBOX 11327da8b7e3Smrg echo 11337da8b7e3Smrg sed "/^$/d" confdefs.h | sort 11347da8b7e3Smrg echo 11357da8b7e3Smrg fi 11367da8b7e3Smrg test "$ac_signal" != 0 && 11377da8b7e3Smrg echo "$as_me: caught signal $ac_signal" 11387da8b7e3Smrg echo "$as_me: exit $exit_status" 11397da8b7e3Smrg } >&5 11407da8b7e3Smrg rm -f core *.core && 11417da8b7e3Smrg rm -rf conftest* confdefs* conf$$* $ac_clean_files && 11427da8b7e3Smrg exit $exit_status 11437da8b7e3Smrg ' 0 11447da8b7e3Smrgfor ac_signal in 1 2 13 15; do 11457da8b7e3Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 11467da8b7e3Smrgdone 11477da8b7e3Smrgac_signal=0 11487da8b7e3Smrg 11497da8b7e3Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 11507da8b7e3Smrgrm -rf conftest* confdefs.h 11517da8b7e3Smrg# AIX cpp loses on an empty file, so make sure it contains at least a newline. 11527da8b7e3Smrgecho >confdefs.h 11537da8b7e3Smrg 11547da8b7e3Smrg# Predefined preprocessor variables. 11557da8b7e3Smrg 11567da8b7e3Smrgcat >>confdefs.h <<_ACEOF 11577da8b7e3Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 11587da8b7e3Smrg_ACEOF 11597da8b7e3Smrg 11607da8b7e3Smrg 11617da8b7e3Smrgcat >>confdefs.h <<_ACEOF 11627da8b7e3Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 11637da8b7e3Smrg_ACEOF 11647da8b7e3Smrg 11657da8b7e3Smrg 11667da8b7e3Smrgcat >>confdefs.h <<_ACEOF 11677da8b7e3Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 11687da8b7e3Smrg_ACEOF 11697da8b7e3Smrg 11707da8b7e3Smrg 11717da8b7e3Smrgcat >>confdefs.h <<_ACEOF 11727da8b7e3Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 11737da8b7e3Smrg_ACEOF 11747da8b7e3Smrg 11757da8b7e3Smrg 11767da8b7e3Smrgcat >>confdefs.h <<_ACEOF 11777da8b7e3Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 11787da8b7e3Smrg_ACEOF 11797da8b7e3Smrg 11807da8b7e3Smrg 11817da8b7e3Smrg# Let the site file select an alternate cache file if it wants to. 11827da8b7e3Smrg# Prefer explicitly selected file to automatically selected ones. 11837da8b7e3Smrgif test -z "$CONFIG_SITE"; then 11847da8b7e3Smrg if test "x$prefix" != xNONE; then 11857da8b7e3Smrg CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 11867da8b7e3Smrg else 11877da8b7e3Smrg CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 11887da8b7e3Smrg fi 11897da8b7e3Smrgfi 11907da8b7e3Smrgfor ac_site_file in $CONFIG_SITE; do 11917da8b7e3Smrg if test -r "$ac_site_file"; then 11927da8b7e3Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 11937da8b7e3Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 11947da8b7e3Smrg sed 's/^/| /' "$ac_site_file" >&5 11957da8b7e3Smrg . "$ac_site_file" 11967da8b7e3Smrg fi 11977da8b7e3Smrgdone 11987da8b7e3Smrg 11997da8b7e3Smrgif test -r "$cache_file"; then 12007da8b7e3Smrg # Some versions of bash will fail to source /dev/null (special 12017da8b7e3Smrg # files actually), so we avoid doing that. 12027da8b7e3Smrg if test -f "$cache_file"; then 12037da8b7e3Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 12047da8b7e3Smrgecho "$as_me: loading cache $cache_file" >&6;} 12057da8b7e3Smrg case $cache_file in 12067da8b7e3Smrg [\\/]* | ?:[\\/]* ) . $cache_file;; 12077da8b7e3Smrg *) . ./$cache_file;; 12087da8b7e3Smrg esac 12097da8b7e3Smrg fi 12107da8b7e3Smrgelse 12117da8b7e3Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 12127da8b7e3Smrgecho "$as_me: creating cache $cache_file" >&6;} 12137da8b7e3Smrg >$cache_file 12147da8b7e3Smrgfi 12157da8b7e3Smrg 12167da8b7e3Smrg# Check that the precious variables saved in the cache have kept the same 12177da8b7e3Smrg# value. 12187da8b7e3Smrgac_cache_corrupted=false 12197da8b7e3Smrgfor ac_var in `(set) 2>&1 | 12207da8b7e3Smrg sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 12217da8b7e3Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 12227da8b7e3Smrg eval ac_new_set=\$ac_env_${ac_var}_set 12237da8b7e3Smrg eval ac_old_val="\$ac_cv_env_${ac_var}_value" 12247da8b7e3Smrg eval ac_new_val="\$ac_env_${ac_var}_value" 12257da8b7e3Smrg case $ac_old_set,$ac_new_set in 12267da8b7e3Smrg set,) 12277da8b7e3Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 12287da8b7e3Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 12297da8b7e3Smrg ac_cache_corrupted=: ;; 12307da8b7e3Smrg ,set) 12317da8b7e3Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 12327da8b7e3Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 12337da8b7e3Smrg ac_cache_corrupted=: ;; 12347da8b7e3Smrg ,);; 12357da8b7e3Smrg *) 12367da8b7e3Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 12377da8b7e3Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 12387da8b7e3Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 12397da8b7e3Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 12407da8b7e3Smrgecho "$as_me: former value: $ac_old_val" >&2;} 12417da8b7e3Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 12427da8b7e3Smrgecho "$as_me: current value: $ac_new_val" >&2;} 12437da8b7e3Smrg ac_cache_corrupted=: 12447da8b7e3Smrg fi;; 12457da8b7e3Smrg esac 12467da8b7e3Smrg # Pass precious variables to config.status. 12477da8b7e3Smrg if test "$ac_new_set" = set; then 12487da8b7e3Smrg case $ac_new_val in 12497da8b7e3Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 12507da8b7e3Smrg ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 12517da8b7e3Smrg *) ac_arg=$ac_var=$ac_new_val ;; 12527da8b7e3Smrg esac 12537da8b7e3Smrg case " $ac_configure_args " in 12547da8b7e3Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 12557da8b7e3Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 12567da8b7e3Smrg esac 12577da8b7e3Smrg fi 12587da8b7e3Smrgdone 12597da8b7e3Smrgif $ac_cache_corrupted; then 12607da8b7e3Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 12617da8b7e3Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 12627da8b7e3Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 12637da8b7e3Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 12647da8b7e3Smrg { (exit 1); exit 1; }; } 12657da8b7e3Smrgfi 12667da8b7e3Smrg 12677da8b7e3Smrgac_ext=c 12687da8b7e3Smrgac_cpp='$CPP $CPPFLAGS' 12697da8b7e3Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12707da8b7e3Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12717da8b7e3Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 12727da8b7e3Smrg 12737da8b7e3Smrg 12747da8b7e3Smrg 12757da8b7e3Smrg 12767da8b7e3Smrg 12777da8b7e3Smrg 12787da8b7e3Smrg 12797da8b7e3Smrg 12807da8b7e3Smrg 12817da8b7e3Smrg 12827da8b7e3Smrg 12837da8b7e3Smrg 12847da8b7e3Smrg 12857da8b7e3Smrg 12867da8b7e3Smrg 12877da8b7e3Smrg 12887da8b7e3Smrg 12897da8b7e3Smrg 12907da8b7e3Smrg 12917da8b7e3Smrg 12927da8b7e3Smrg 12937da8b7e3Smrg 12947da8b7e3Smrg 12957da8b7e3Smrg 12967da8b7e3Smrg 12977da8b7e3Smrg 12987da8b7e3Smrg 12997da8b7e3Smrgam__api_version="1.9" 13007da8b7e3Smrgac_aux_dir= 13017da8b7e3Smrgfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 13027da8b7e3Smrg if test -f $ac_dir/install-sh; then 13037da8b7e3Smrg ac_aux_dir=$ac_dir 13047da8b7e3Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 13057da8b7e3Smrg break 13067da8b7e3Smrg elif test -f $ac_dir/install.sh; then 13077da8b7e3Smrg ac_aux_dir=$ac_dir 13087da8b7e3Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 13097da8b7e3Smrg break 13107da8b7e3Smrg elif test -f $ac_dir/shtool; then 13117da8b7e3Smrg ac_aux_dir=$ac_dir 13127da8b7e3Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 13137da8b7e3Smrg break 13147da8b7e3Smrg fi 13157da8b7e3Smrgdone 13167da8b7e3Smrgif test -z "$ac_aux_dir"; then 13177da8b7e3Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 13187da8b7e3Smrgecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 13197da8b7e3Smrg { (exit 1); exit 1; }; } 13207da8b7e3Smrgfi 13217da8b7e3Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" 13227da8b7e3Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" 13237da8b7e3Smrgac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 13247da8b7e3Smrg 13257da8b7e3Smrg# Find a good install program. We prefer a C program (faster), 13267da8b7e3Smrg# so one script is as good as another. But avoid the broken or 13277da8b7e3Smrg# incompatible versions: 13287da8b7e3Smrg# SysV /etc/install, /usr/sbin/install 13297da8b7e3Smrg# SunOS /usr/etc/install 13307da8b7e3Smrg# IRIX /sbin/install 13317da8b7e3Smrg# AIX /bin/install 13327da8b7e3Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 13337da8b7e3Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 13347da8b7e3Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 13357da8b7e3Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 13367da8b7e3Smrg# OS/2's system install, which has a completely different semantic 13377da8b7e3Smrg# ./install, which can be erroneously created by make from ./install.sh. 13387da8b7e3Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 13397da8b7e3Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 13407da8b7e3Smrgif test -z "$INSTALL"; then 13417da8b7e3Smrgif test "${ac_cv_path_install+set}" = set; then 13427da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 13437da8b7e3Smrgelse 13447da8b7e3Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13457da8b7e3Smrgfor as_dir in $PATH 13467da8b7e3Smrgdo 13477da8b7e3Smrg IFS=$as_save_IFS 13487da8b7e3Smrg test -z "$as_dir" && as_dir=. 13497da8b7e3Smrg # Account for people who put trailing slashes in PATH elements. 13507da8b7e3Smrgcase $as_dir/ in 13517da8b7e3Smrg ./ | .// | /cC/* | \ 13527da8b7e3Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 13537da8b7e3Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 13547da8b7e3Smrg /usr/ucb/* ) ;; 13557da8b7e3Smrg *) 13567da8b7e3Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 13577da8b7e3Smrg # Don't use installbsd from OSF since it installs stuff as root 13587da8b7e3Smrg # by default. 13597da8b7e3Smrg for ac_prog in ginstall scoinst install; do 13607da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 13617da8b7e3Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 13627da8b7e3Smrg if test $ac_prog = install && 13637da8b7e3Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 13647da8b7e3Smrg # AIX install. It has an incompatible calling convention. 13657da8b7e3Smrg : 13667da8b7e3Smrg elif test $ac_prog = install && 13677da8b7e3Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 13687da8b7e3Smrg # program-specific install script used by HP pwplus--don't use. 13697da8b7e3Smrg : 13707da8b7e3Smrg else 13717da8b7e3Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 13727da8b7e3Smrg break 3 13737da8b7e3Smrg fi 13747da8b7e3Smrg fi 13757da8b7e3Smrg done 13767da8b7e3Smrg done 13777da8b7e3Smrg ;; 13787da8b7e3Smrgesac 13797da8b7e3Smrgdone 13807da8b7e3Smrg 13817da8b7e3Smrg 13827da8b7e3Smrgfi 13837da8b7e3Smrg if test "${ac_cv_path_install+set}" = set; then 13847da8b7e3Smrg INSTALL=$ac_cv_path_install 13857da8b7e3Smrg else 13867da8b7e3Smrg # As a last resort, use the slow shell script. We don't cache a 13877da8b7e3Smrg # path for INSTALL within a source directory, because that will 13887da8b7e3Smrg # break other packages using the cache if that directory is 13897da8b7e3Smrg # removed, or if the path is relative. 13907da8b7e3Smrg INSTALL=$ac_install_sh 13917da8b7e3Smrg fi 13927da8b7e3Smrgfi 13937da8b7e3Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 13947da8b7e3Smrgecho "${ECHO_T}$INSTALL" >&6 13957da8b7e3Smrg 13967da8b7e3Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 13977da8b7e3Smrg# It thinks the first close brace ends the variable substitution. 13987da8b7e3Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 13997da8b7e3Smrg 14007da8b7e3Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 14017da8b7e3Smrg 14027da8b7e3Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 14037da8b7e3Smrg 14047da8b7e3Smrgecho "$as_me:$LINENO: checking whether build environment is sane" >&5 14057da8b7e3Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 14067da8b7e3Smrg# Just in case 14077da8b7e3Smrgsleep 1 14087da8b7e3Smrgecho timestamp > conftest.file 14097da8b7e3Smrg# Do `set' in a subshell so we don't clobber the current shell's 14107da8b7e3Smrg# arguments. Must try -L first in case configure is actually a 14117da8b7e3Smrg# symlink; some systems play weird games with the mod time of symlinks 14127da8b7e3Smrg# (eg FreeBSD returns the mod time of the symlink's containing 14137da8b7e3Smrg# directory). 14147da8b7e3Smrgif ( 14157da8b7e3Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 14167da8b7e3Smrg if test "$*" = "X"; then 14177da8b7e3Smrg # -L didn't work. 14187da8b7e3Smrg set X `ls -t $srcdir/configure conftest.file` 14197da8b7e3Smrg fi 14207da8b7e3Smrg rm -f conftest.file 14217da8b7e3Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 14227da8b7e3Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 14237da8b7e3Smrg 14247da8b7e3Smrg # If neither matched, then we have a broken ls. This can happen 14257da8b7e3Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 14267da8b7e3Smrg # broken ls alias from the environment. This has actually 14277da8b7e3Smrg # happened. Such a system could not be considered "sane". 14287da8b7e3Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 14297da8b7e3Smrgalias in your environment" >&5 14307da8b7e3Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 14317da8b7e3Smrgalias in your environment" >&2;} 14327da8b7e3Smrg { (exit 1); exit 1; }; } 14337da8b7e3Smrg fi 14347da8b7e3Smrg 14357da8b7e3Smrg test "$2" = conftest.file 14367da8b7e3Smrg ) 14377da8b7e3Smrgthen 14387da8b7e3Smrg # Ok. 14397da8b7e3Smrg : 14407da8b7e3Smrgelse 14417da8b7e3Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 14427da8b7e3SmrgCheck your system clock" >&5 14437da8b7e3Smrgecho "$as_me: error: newly created file is older than distributed files! 14447da8b7e3SmrgCheck your system clock" >&2;} 14457da8b7e3Smrg { (exit 1); exit 1; }; } 14467da8b7e3Smrgfi 14477da8b7e3Smrgecho "$as_me:$LINENO: result: yes" >&5 14487da8b7e3Smrgecho "${ECHO_T}yes" >&6 14497da8b7e3Smrgtest "$program_prefix" != NONE && 14507da8b7e3Smrg program_transform_name="s,^,$program_prefix,;$program_transform_name" 14517da8b7e3Smrg# Use a double $ so make ignores it. 14527da8b7e3Smrgtest "$program_suffix" != NONE && 14537da8b7e3Smrg program_transform_name="s,\$,$program_suffix,;$program_transform_name" 14547da8b7e3Smrg# Double any \ or $. echo might interpret backslashes. 14557da8b7e3Smrg# By default was `s,x,x', remove it if useless. 14567da8b7e3Smrgcat <<\_ACEOF >conftest.sed 14577da8b7e3Smrgs/[\\$]/&&/g;s/;s,x,x,$// 14587da8b7e3Smrg_ACEOF 14597da8b7e3Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 14607da8b7e3Smrgrm conftest.sed 14617da8b7e3Smrg 14627da8b7e3Smrg# expand $ac_aux_dir to an absolute path 14637da8b7e3Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 14647da8b7e3Smrg 14657da8b7e3Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 14667da8b7e3Smrg# Use eval to expand $SHELL 14677da8b7e3Smrgif eval "$MISSING --run true"; then 14687da8b7e3Smrg am_missing_run="$MISSING --run " 14697da8b7e3Smrgelse 14707da8b7e3Smrg am_missing_run= 14717da8b7e3Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 14727da8b7e3Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 14737da8b7e3Smrgfi 14747da8b7e3Smrg 14757da8b7e3Smrgif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 14767da8b7e3Smrg # We used to keeping the `.' as first argument, in order to 14777da8b7e3Smrg # allow $(mkdir_p) to be used without argument. As in 14787da8b7e3Smrg # $(mkdir_p) $(somedir) 14797da8b7e3Smrg # where $(somedir) is conditionally defined. However this is wrong 14807da8b7e3Smrg # for two reasons: 14817da8b7e3Smrg # 1. if the package is installed by a user who cannot write `.' 14827da8b7e3Smrg # make install will fail, 14837da8b7e3Smrg # 2. the above comment should most certainly read 14847da8b7e3Smrg # $(mkdir_p) $(DESTDIR)$(somedir) 14857da8b7e3Smrg # so it does not work when $(somedir) is undefined and 14867da8b7e3Smrg # $(DESTDIR) is not. 14877da8b7e3Smrg # To support the latter case, we have to write 14887da8b7e3Smrg # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 14897da8b7e3Smrg # so the `.' trick is pointless. 14907da8b7e3Smrg mkdir_p='mkdir -p --' 14917da8b7e3Smrgelse 14927da8b7e3Smrg # On NextStep and OpenStep, the `mkdir' command does not 14937da8b7e3Smrg # recognize any option. It will interpret all options as 14947da8b7e3Smrg # directories to create, and then abort because `.' already 14957da8b7e3Smrg # exists. 14967da8b7e3Smrg for d in ./-p ./--version; 14977da8b7e3Smrg do 14987da8b7e3Smrg test -d $d && rmdir $d 14997da8b7e3Smrg done 15007da8b7e3Smrg # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 15017da8b7e3Smrg if test -f "$ac_aux_dir/mkinstalldirs"; then 15027da8b7e3Smrg mkdir_p='$(mkinstalldirs)' 15037da8b7e3Smrg else 15047da8b7e3Smrg mkdir_p='$(install_sh) -d' 15057da8b7e3Smrg fi 15067da8b7e3Smrgfi 15077da8b7e3Smrg 15087da8b7e3Smrgfor ac_prog in gawk mawk nawk awk 15097da8b7e3Smrgdo 15107da8b7e3Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 15117da8b7e3Smrgset dummy $ac_prog; ac_word=$2 15127da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 15137da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 15147da8b7e3Smrgif test "${ac_cv_prog_AWK+set}" = set; then 15157da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 15167da8b7e3Smrgelse 15177da8b7e3Smrg if test -n "$AWK"; then 15187da8b7e3Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 15197da8b7e3Smrgelse 15207da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15217da8b7e3Smrgfor as_dir in $PATH 15227da8b7e3Smrgdo 15237da8b7e3Smrg IFS=$as_save_IFS 15247da8b7e3Smrg test -z "$as_dir" && as_dir=. 15257da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 15267da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15277da8b7e3Smrg ac_cv_prog_AWK="$ac_prog" 15287da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15297da8b7e3Smrg break 2 15307da8b7e3Smrg fi 15317da8b7e3Smrgdone 15327da8b7e3Smrgdone 15337da8b7e3Smrg 15347da8b7e3Smrgfi 15357da8b7e3Smrgfi 15367da8b7e3SmrgAWK=$ac_cv_prog_AWK 15377da8b7e3Smrgif test -n "$AWK"; then 15387da8b7e3Smrg echo "$as_me:$LINENO: result: $AWK" >&5 15397da8b7e3Smrgecho "${ECHO_T}$AWK" >&6 15407da8b7e3Smrgelse 15417da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 15427da8b7e3Smrgecho "${ECHO_T}no" >&6 15437da8b7e3Smrgfi 15447da8b7e3Smrg 15457da8b7e3Smrg test -n "$AWK" && break 15467da8b7e3Smrgdone 15477da8b7e3Smrg 15487da8b7e3Smrgecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 15497da8b7e3Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 15507da8b7e3Smrgset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 15517da8b7e3Smrgif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 15527da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 15537da8b7e3Smrgelse 15547da8b7e3Smrg cat >conftest.make <<\_ACEOF 15557da8b7e3Smrgall: 15567da8b7e3Smrg @echo 'ac_maketemp="$(MAKE)"' 15577da8b7e3Smrg_ACEOF 15587da8b7e3Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 15597da8b7e3Smrgeval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 15607da8b7e3Smrgif test -n "$ac_maketemp"; then 15617da8b7e3Smrg eval ac_cv_prog_make_${ac_make}_set=yes 15627da8b7e3Smrgelse 15637da8b7e3Smrg eval ac_cv_prog_make_${ac_make}_set=no 15647da8b7e3Smrgfi 15657da8b7e3Smrgrm -f conftest.make 15667da8b7e3Smrgfi 15677da8b7e3Smrgif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 15687da8b7e3Smrg echo "$as_me:$LINENO: result: yes" >&5 15697da8b7e3Smrgecho "${ECHO_T}yes" >&6 15707da8b7e3Smrg SET_MAKE= 15717da8b7e3Smrgelse 15727da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 15737da8b7e3Smrgecho "${ECHO_T}no" >&6 15747da8b7e3Smrg SET_MAKE="MAKE=${MAKE-make}" 15757da8b7e3Smrgfi 15767da8b7e3Smrg 15777da8b7e3Smrgrm -rf .tst 2>/dev/null 15787da8b7e3Smrgmkdir .tst 2>/dev/null 15797da8b7e3Smrgif test -d .tst; then 15807da8b7e3Smrg am__leading_dot=. 15817da8b7e3Smrgelse 15827da8b7e3Smrg am__leading_dot=_ 15837da8b7e3Smrgfi 15847da8b7e3Smrgrmdir .tst 2>/dev/null 15857da8b7e3Smrg 15867da8b7e3Smrg# test to see if srcdir already configured 15877da8b7e3Smrgif test "`cd $srcdir && pwd`" != "`pwd`" && 15887da8b7e3Smrg test -f $srcdir/config.status; then 15897da8b7e3Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 15907da8b7e3Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 15917da8b7e3Smrg { (exit 1); exit 1; }; } 15927da8b7e3Smrgfi 15937da8b7e3Smrg 15947da8b7e3Smrg# test whether we have cygpath 15957da8b7e3Smrgif test -z "$CYGPATH_W"; then 15967da8b7e3Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 15977da8b7e3Smrg CYGPATH_W='cygpath -w' 15987da8b7e3Smrg else 15997da8b7e3Smrg CYGPATH_W=echo 16007da8b7e3Smrg fi 16017da8b7e3Smrgfi 16027da8b7e3Smrg 16037da8b7e3Smrg 16047da8b7e3Smrg# Define the identity of the package. 16057da8b7e3Smrg PACKAGE='xrefresh' 16067da8b7e3Smrg VERSION='1.0.2' 16077da8b7e3Smrg 16087da8b7e3Smrg 16097da8b7e3Smrgcat >>confdefs.h <<_ACEOF 16107da8b7e3Smrg#define PACKAGE "$PACKAGE" 16117da8b7e3Smrg_ACEOF 16127da8b7e3Smrg 16137da8b7e3Smrg 16147da8b7e3Smrgcat >>confdefs.h <<_ACEOF 16157da8b7e3Smrg#define VERSION "$VERSION" 16167da8b7e3Smrg_ACEOF 16177da8b7e3Smrg 16187da8b7e3Smrg# Some tools Automake needs. 16197da8b7e3Smrg 16207da8b7e3SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 16217da8b7e3Smrg 16227da8b7e3Smrg 16237da8b7e3SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 16247da8b7e3Smrg 16257da8b7e3Smrg 16267da8b7e3SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 16277da8b7e3Smrg 16287da8b7e3Smrg 16297da8b7e3SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 16307da8b7e3Smrg 16317da8b7e3Smrg 16327da8b7e3SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 16337da8b7e3Smrg 16347da8b7e3Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"} 16357da8b7e3Smrg 16367da8b7e3Smrg# Installed binaries are usually stripped using `strip' when the user 16377da8b7e3Smrg# run `make install-strip'. However `strip' might not be the right 16387da8b7e3Smrg# tool to use in cross-compilation environments, therefore Automake 16397da8b7e3Smrg# will honor the `STRIP' environment variable to overrule this program. 16407da8b7e3Smrgif test "$cross_compiling" != no; then 16417da8b7e3Smrg if test -n "$ac_tool_prefix"; then 16427da8b7e3Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 16437da8b7e3Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 16447da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 16457da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 16467da8b7e3Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 16477da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 16487da8b7e3Smrgelse 16497da8b7e3Smrg if test -n "$STRIP"; then 16507da8b7e3Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 16517da8b7e3Smrgelse 16527da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16537da8b7e3Smrgfor as_dir in $PATH 16547da8b7e3Smrgdo 16557da8b7e3Smrg IFS=$as_save_IFS 16567da8b7e3Smrg test -z "$as_dir" && as_dir=. 16577da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 16587da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16597da8b7e3Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 16607da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 16617da8b7e3Smrg break 2 16627da8b7e3Smrg fi 16637da8b7e3Smrgdone 16647da8b7e3Smrgdone 16657da8b7e3Smrg 16667da8b7e3Smrgfi 16677da8b7e3Smrgfi 16687da8b7e3SmrgSTRIP=$ac_cv_prog_STRIP 16697da8b7e3Smrgif test -n "$STRIP"; then 16707da8b7e3Smrg echo "$as_me:$LINENO: result: $STRIP" >&5 16717da8b7e3Smrgecho "${ECHO_T}$STRIP" >&6 16727da8b7e3Smrgelse 16737da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 16747da8b7e3Smrgecho "${ECHO_T}no" >&6 16757da8b7e3Smrgfi 16767da8b7e3Smrg 16777da8b7e3Smrgfi 16787da8b7e3Smrgif test -z "$ac_cv_prog_STRIP"; then 16797da8b7e3Smrg ac_ct_STRIP=$STRIP 16807da8b7e3Smrg # Extract the first word of "strip", so it can be a program name with args. 16817da8b7e3Smrgset dummy strip; ac_word=$2 16827da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 16837da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 16847da8b7e3Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 16857da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 16867da8b7e3Smrgelse 16877da8b7e3Smrg if test -n "$ac_ct_STRIP"; then 16887da8b7e3Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 16897da8b7e3Smrgelse 16907da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16917da8b7e3Smrgfor as_dir in $PATH 16927da8b7e3Smrgdo 16937da8b7e3Smrg IFS=$as_save_IFS 16947da8b7e3Smrg test -z "$as_dir" && as_dir=. 16957da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 16967da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16977da8b7e3Smrg ac_cv_prog_ac_ct_STRIP="strip" 16987da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 16997da8b7e3Smrg break 2 17007da8b7e3Smrg fi 17017da8b7e3Smrgdone 17027da8b7e3Smrgdone 17037da8b7e3Smrg 17047da8b7e3Smrg test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 17057da8b7e3Smrgfi 17067da8b7e3Smrgfi 17077da8b7e3Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 17087da8b7e3Smrgif test -n "$ac_ct_STRIP"; then 17097da8b7e3Smrg echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 17107da8b7e3Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6 17117da8b7e3Smrgelse 17127da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 17137da8b7e3Smrgecho "${ECHO_T}no" >&6 17147da8b7e3Smrgfi 17157da8b7e3Smrg 17167da8b7e3Smrg STRIP=$ac_ct_STRIP 17177da8b7e3Smrgelse 17187da8b7e3Smrg STRIP="$ac_cv_prog_STRIP" 17197da8b7e3Smrgfi 17207da8b7e3Smrg 17217da8b7e3Smrgfi 17227da8b7e3SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 17237da8b7e3Smrg 17247da8b7e3Smrg# We need awk for the "check" target. The system "awk" is bad on 17257da8b7e3Smrg# some platforms. 17267da8b7e3Smrg# Always define AMTAR for backward compatibility. 17277da8b7e3Smrg 17287da8b7e3SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 17297da8b7e3Smrg 17307da8b7e3Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 17317da8b7e3Smrg 17327da8b7e3Smrg 17337da8b7e3Smrg 17347da8b7e3Smrg 17357da8b7e3Smrg 17367da8b7e3Smrgecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 17377da8b7e3Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 17387da8b7e3Smrg # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 17397da8b7e3Smrgif test "${enable_maintainer_mode+set}" = set; then 17407da8b7e3Smrg enableval="$enable_maintainer_mode" 17417da8b7e3Smrg USE_MAINTAINER_MODE=$enableval 17427da8b7e3Smrgelse 17437da8b7e3Smrg USE_MAINTAINER_MODE=no 17447da8b7e3Smrgfi; 17457da8b7e3Smrg echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 17467da8b7e3Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6 17477da8b7e3Smrg 17487da8b7e3Smrg 17497da8b7e3Smrgif test $USE_MAINTAINER_MODE = yes; then 17507da8b7e3Smrg MAINTAINER_MODE_TRUE= 17517da8b7e3Smrg MAINTAINER_MODE_FALSE='#' 17527da8b7e3Smrgelse 17537da8b7e3Smrg MAINTAINER_MODE_TRUE='#' 17547da8b7e3Smrg MAINTAINER_MODE_FALSE= 17557da8b7e3Smrgfi 17567da8b7e3Smrg 17577da8b7e3Smrg MAINT=$MAINTAINER_MODE_TRUE 17587da8b7e3Smrg 17597da8b7e3Smrg 17607da8b7e3Smrg 17617da8b7e3Smrg ac_config_headers="$ac_config_headers config.h" 17627da8b7e3Smrg 17637da8b7e3Smrg 17647da8b7e3Smrgac_ext=c 17657da8b7e3Smrgac_cpp='$CPP $CPPFLAGS' 17667da8b7e3Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17677da8b7e3Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17687da8b7e3Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 17697da8b7e3Smrgif test -n "$ac_tool_prefix"; then 17707da8b7e3Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 17717da8b7e3Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 17727da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 17737da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 17747da8b7e3Smrgif test "${ac_cv_prog_CC+set}" = set; then 17757da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 17767da8b7e3Smrgelse 17777da8b7e3Smrg if test -n "$CC"; then 17787da8b7e3Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 17797da8b7e3Smrgelse 17807da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17817da8b7e3Smrgfor as_dir in $PATH 17827da8b7e3Smrgdo 17837da8b7e3Smrg IFS=$as_save_IFS 17847da8b7e3Smrg test -z "$as_dir" && as_dir=. 17857da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 17867da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17877da8b7e3Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 17887da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 17897da8b7e3Smrg break 2 17907da8b7e3Smrg fi 17917da8b7e3Smrgdone 17927da8b7e3Smrgdone 17937da8b7e3Smrg 17947da8b7e3Smrgfi 17957da8b7e3Smrgfi 17967da8b7e3SmrgCC=$ac_cv_prog_CC 17977da8b7e3Smrgif test -n "$CC"; then 17987da8b7e3Smrg echo "$as_me:$LINENO: result: $CC" >&5 17997da8b7e3Smrgecho "${ECHO_T}$CC" >&6 18007da8b7e3Smrgelse 18017da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 18027da8b7e3Smrgecho "${ECHO_T}no" >&6 18037da8b7e3Smrgfi 18047da8b7e3Smrg 18057da8b7e3Smrgfi 18067da8b7e3Smrgif test -z "$ac_cv_prog_CC"; then 18077da8b7e3Smrg ac_ct_CC=$CC 18087da8b7e3Smrg # Extract the first word of "gcc", so it can be a program name with args. 18097da8b7e3Smrgset dummy gcc; ac_word=$2 18107da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 18117da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 18127da8b7e3Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 18137da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 18147da8b7e3Smrgelse 18157da8b7e3Smrg if test -n "$ac_ct_CC"; then 18167da8b7e3Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 18177da8b7e3Smrgelse 18187da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18197da8b7e3Smrgfor as_dir in $PATH 18207da8b7e3Smrgdo 18217da8b7e3Smrg IFS=$as_save_IFS 18227da8b7e3Smrg test -z "$as_dir" && as_dir=. 18237da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 18247da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18257da8b7e3Smrg ac_cv_prog_ac_ct_CC="gcc" 18267da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 18277da8b7e3Smrg break 2 18287da8b7e3Smrg fi 18297da8b7e3Smrgdone 18307da8b7e3Smrgdone 18317da8b7e3Smrg 18327da8b7e3Smrgfi 18337da8b7e3Smrgfi 18347da8b7e3Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 18357da8b7e3Smrgif test -n "$ac_ct_CC"; then 18367da8b7e3Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 18377da8b7e3Smrgecho "${ECHO_T}$ac_ct_CC" >&6 18387da8b7e3Smrgelse 18397da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 18407da8b7e3Smrgecho "${ECHO_T}no" >&6 18417da8b7e3Smrgfi 18427da8b7e3Smrg 18437da8b7e3Smrg CC=$ac_ct_CC 18447da8b7e3Smrgelse 18457da8b7e3Smrg CC="$ac_cv_prog_CC" 18467da8b7e3Smrgfi 18477da8b7e3Smrg 18487da8b7e3Smrgif test -z "$CC"; then 18497da8b7e3Smrg if test -n "$ac_tool_prefix"; then 18507da8b7e3Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 18517da8b7e3Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 18527da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 18537da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 18547da8b7e3Smrgif test "${ac_cv_prog_CC+set}" = set; then 18557da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 18567da8b7e3Smrgelse 18577da8b7e3Smrg if test -n "$CC"; then 18587da8b7e3Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 18597da8b7e3Smrgelse 18607da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18617da8b7e3Smrgfor as_dir in $PATH 18627da8b7e3Smrgdo 18637da8b7e3Smrg IFS=$as_save_IFS 18647da8b7e3Smrg test -z "$as_dir" && as_dir=. 18657da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 18667da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18677da8b7e3Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 18687da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 18697da8b7e3Smrg break 2 18707da8b7e3Smrg fi 18717da8b7e3Smrgdone 18727da8b7e3Smrgdone 18737da8b7e3Smrg 18747da8b7e3Smrgfi 18757da8b7e3Smrgfi 18767da8b7e3SmrgCC=$ac_cv_prog_CC 18777da8b7e3Smrgif test -n "$CC"; then 18787da8b7e3Smrg echo "$as_me:$LINENO: result: $CC" >&5 18797da8b7e3Smrgecho "${ECHO_T}$CC" >&6 18807da8b7e3Smrgelse 18817da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 18827da8b7e3Smrgecho "${ECHO_T}no" >&6 18837da8b7e3Smrgfi 18847da8b7e3Smrg 18857da8b7e3Smrgfi 18867da8b7e3Smrgif test -z "$ac_cv_prog_CC"; then 18877da8b7e3Smrg ac_ct_CC=$CC 18887da8b7e3Smrg # Extract the first word of "cc", so it can be a program name with args. 18897da8b7e3Smrgset dummy cc; ac_word=$2 18907da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 18917da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 18927da8b7e3Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 18937da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 18947da8b7e3Smrgelse 18957da8b7e3Smrg if test -n "$ac_ct_CC"; then 18967da8b7e3Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 18977da8b7e3Smrgelse 18987da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18997da8b7e3Smrgfor as_dir in $PATH 19007da8b7e3Smrgdo 19017da8b7e3Smrg IFS=$as_save_IFS 19027da8b7e3Smrg test -z "$as_dir" && as_dir=. 19037da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19047da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19057da8b7e3Smrg ac_cv_prog_ac_ct_CC="cc" 19067da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19077da8b7e3Smrg break 2 19087da8b7e3Smrg fi 19097da8b7e3Smrgdone 19107da8b7e3Smrgdone 19117da8b7e3Smrg 19127da8b7e3Smrgfi 19137da8b7e3Smrgfi 19147da8b7e3Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 19157da8b7e3Smrgif test -n "$ac_ct_CC"; then 19167da8b7e3Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 19177da8b7e3Smrgecho "${ECHO_T}$ac_ct_CC" >&6 19187da8b7e3Smrgelse 19197da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 19207da8b7e3Smrgecho "${ECHO_T}no" >&6 19217da8b7e3Smrgfi 19227da8b7e3Smrg 19237da8b7e3Smrg CC=$ac_ct_CC 19247da8b7e3Smrgelse 19257da8b7e3Smrg CC="$ac_cv_prog_CC" 19267da8b7e3Smrgfi 19277da8b7e3Smrg 19287da8b7e3Smrgfi 19297da8b7e3Smrgif test -z "$CC"; then 19307da8b7e3Smrg # Extract the first word of "cc", so it can be a program name with args. 19317da8b7e3Smrgset dummy cc; ac_word=$2 19327da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 19337da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19347da8b7e3Smrgif test "${ac_cv_prog_CC+set}" = set; then 19357da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 19367da8b7e3Smrgelse 19377da8b7e3Smrg if test -n "$CC"; then 19387da8b7e3Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 19397da8b7e3Smrgelse 19407da8b7e3Smrg ac_prog_rejected=no 19417da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19427da8b7e3Smrgfor as_dir in $PATH 19437da8b7e3Smrgdo 19447da8b7e3Smrg IFS=$as_save_IFS 19457da8b7e3Smrg test -z "$as_dir" && as_dir=. 19467da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19477da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19487da8b7e3Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 19497da8b7e3Smrg ac_prog_rejected=yes 19507da8b7e3Smrg continue 19517da8b7e3Smrg fi 19527da8b7e3Smrg ac_cv_prog_CC="cc" 19537da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19547da8b7e3Smrg break 2 19557da8b7e3Smrg fi 19567da8b7e3Smrgdone 19577da8b7e3Smrgdone 19587da8b7e3Smrg 19597da8b7e3Smrgif test $ac_prog_rejected = yes; then 19607da8b7e3Smrg # We found a bogon in the path, so make sure we never use it. 19617da8b7e3Smrg set dummy $ac_cv_prog_CC 19627da8b7e3Smrg shift 19637da8b7e3Smrg if test $# != 0; then 19647da8b7e3Smrg # We chose a different compiler from the bogus one. 19657da8b7e3Smrg # However, it has the same basename, so the bogon will be chosen 19667da8b7e3Smrg # first if we set CC to just the basename; use the full file name. 19677da8b7e3Smrg shift 19687da8b7e3Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 19697da8b7e3Smrg fi 19707da8b7e3Smrgfi 19717da8b7e3Smrgfi 19727da8b7e3Smrgfi 19737da8b7e3SmrgCC=$ac_cv_prog_CC 19747da8b7e3Smrgif test -n "$CC"; then 19757da8b7e3Smrg echo "$as_me:$LINENO: result: $CC" >&5 19767da8b7e3Smrgecho "${ECHO_T}$CC" >&6 19777da8b7e3Smrgelse 19787da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 19797da8b7e3Smrgecho "${ECHO_T}no" >&6 19807da8b7e3Smrgfi 19817da8b7e3Smrg 19827da8b7e3Smrgfi 19837da8b7e3Smrgif test -z "$CC"; then 19847da8b7e3Smrg if test -n "$ac_tool_prefix"; then 19857da8b7e3Smrg for ac_prog in cl 19867da8b7e3Smrg do 19877da8b7e3Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 19887da8b7e3Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 19897da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 19907da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19917da8b7e3Smrgif test "${ac_cv_prog_CC+set}" = set; then 19927da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 19937da8b7e3Smrgelse 19947da8b7e3Smrg if test -n "$CC"; then 19957da8b7e3Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 19967da8b7e3Smrgelse 19977da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19987da8b7e3Smrgfor as_dir in $PATH 19997da8b7e3Smrgdo 20007da8b7e3Smrg IFS=$as_save_IFS 20017da8b7e3Smrg test -z "$as_dir" && as_dir=. 20027da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20037da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20047da8b7e3Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 20057da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 20067da8b7e3Smrg break 2 20077da8b7e3Smrg fi 20087da8b7e3Smrgdone 20097da8b7e3Smrgdone 20107da8b7e3Smrg 20117da8b7e3Smrgfi 20127da8b7e3Smrgfi 20137da8b7e3SmrgCC=$ac_cv_prog_CC 20147da8b7e3Smrgif test -n "$CC"; then 20157da8b7e3Smrg echo "$as_me:$LINENO: result: $CC" >&5 20167da8b7e3Smrgecho "${ECHO_T}$CC" >&6 20177da8b7e3Smrgelse 20187da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 20197da8b7e3Smrgecho "${ECHO_T}no" >&6 20207da8b7e3Smrgfi 20217da8b7e3Smrg 20227da8b7e3Smrg test -n "$CC" && break 20237da8b7e3Smrg done 20247da8b7e3Smrgfi 20257da8b7e3Smrgif test -z "$CC"; then 20267da8b7e3Smrg ac_ct_CC=$CC 20277da8b7e3Smrg for ac_prog in cl 20287da8b7e3Smrgdo 20297da8b7e3Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 20307da8b7e3Smrgset dummy $ac_prog; ac_word=$2 20317da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 20327da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 20337da8b7e3Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 20347da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 20357da8b7e3Smrgelse 20367da8b7e3Smrg if test -n "$ac_ct_CC"; then 20377da8b7e3Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 20387da8b7e3Smrgelse 20397da8b7e3Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20407da8b7e3Smrgfor as_dir in $PATH 20417da8b7e3Smrgdo 20427da8b7e3Smrg IFS=$as_save_IFS 20437da8b7e3Smrg test -z "$as_dir" && as_dir=. 20447da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20457da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20467da8b7e3Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 20477da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 20487da8b7e3Smrg break 2 20497da8b7e3Smrg fi 20507da8b7e3Smrgdone 20517da8b7e3Smrgdone 20527da8b7e3Smrg 20537da8b7e3Smrgfi 20547da8b7e3Smrgfi 20557da8b7e3Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 20567da8b7e3Smrgif test -n "$ac_ct_CC"; then 20577da8b7e3Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 20587da8b7e3Smrgecho "${ECHO_T}$ac_ct_CC" >&6 20597da8b7e3Smrgelse 20607da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 20617da8b7e3Smrgecho "${ECHO_T}no" >&6 20627da8b7e3Smrgfi 20637da8b7e3Smrg 20647da8b7e3Smrg test -n "$ac_ct_CC" && break 20657da8b7e3Smrgdone 20667da8b7e3Smrg 20677da8b7e3Smrg CC=$ac_ct_CC 20687da8b7e3Smrgfi 20697da8b7e3Smrg 20707da8b7e3Smrgfi 20717da8b7e3Smrg 20727da8b7e3Smrg 20737da8b7e3Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 20747da8b7e3SmrgSee \`config.log' for more details." >&5 20757da8b7e3Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 20767da8b7e3SmrgSee \`config.log' for more details." >&2;} 20777da8b7e3Smrg { (exit 1); exit 1; }; } 20787da8b7e3Smrg 20797da8b7e3Smrg# Provide some information about the compiler. 20807da8b7e3Smrgecho "$as_me:$LINENO:" \ 20817da8b7e3Smrg "checking for C compiler version" >&5 20827da8b7e3Smrgac_compiler=`set X $ac_compile; echo $2` 20837da8b7e3Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 20847da8b7e3Smrg (eval $ac_compiler --version </dev/null >&5) 2>&5 20857da8b7e3Smrg ac_status=$? 20867da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 20877da8b7e3Smrg (exit $ac_status); } 20887da8b7e3Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 20897da8b7e3Smrg (eval $ac_compiler -v </dev/null >&5) 2>&5 20907da8b7e3Smrg ac_status=$? 20917da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 20927da8b7e3Smrg (exit $ac_status); } 20937da8b7e3Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 20947da8b7e3Smrg (eval $ac_compiler -V </dev/null >&5) 2>&5 20957da8b7e3Smrg ac_status=$? 20967da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 20977da8b7e3Smrg (exit $ac_status); } 20987da8b7e3Smrg 20997da8b7e3Smrgcat >conftest.$ac_ext <<_ACEOF 21007da8b7e3Smrg/* confdefs.h. */ 21017da8b7e3Smrg_ACEOF 21027da8b7e3Smrgcat confdefs.h >>conftest.$ac_ext 21037da8b7e3Smrgcat >>conftest.$ac_ext <<_ACEOF 21047da8b7e3Smrg/* end confdefs.h. */ 21057da8b7e3Smrg 21067da8b7e3Smrgint 21077da8b7e3Smrgmain () 21087da8b7e3Smrg{ 21097da8b7e3Smrg 21107da8b7e3Smrg ; 21117da8b7e3Smrg return 0; 21127da8b7e3Smrg} 21137da8b7e3Smrg_ACEOF 21147da8b7e3Smrgac_clean_files_save=$ac_clean_files 21157da8b7e3Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 21167da8b7e3Smrg# Try to create an executable without -o first, disregard a.out. 21177da8b7e3Smrg# It will help us diagnose broken compilers, and finding out an intuition 21187da8b7e3Smrg# of exeext. 21197da8b7e3Smrgecho "$as_me:$LINENO: checking for C compiler default output file name" >&5 21207da8b7e3Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 21217da8b7e3Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 21227da8b7e3Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 21237da8b7e3Smrg (eval $ac_link_default) 2>&5 21247da8b7e3Smrg ac_status=$? 21257da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 21267da8b7e3Smrg (exit $ac_status); }; then 21277da8b7e3Smrg # Find the output, starting from the most likely. This scheme is 21287da8b7e3Smrg# not robust to junk in `.', hence go to wildcards (a.*) only as a last 21297da8b7e3Smrg# resort. 21307da8b7e3Smrg 21317da8b7e3Smrg# Be careful to initialize this variable, since it used to be cached. 21327da8b7e3Smrg# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 21337da8b7e3Smrgac_cv_exeext= 21347da8b7e3Smrg# b.out is created by i960 compilers. 21357da8b7e3Smrgfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 21367da8b7e3Smrgdo 21377da8b7e3Smrg test -f "$ac_file" || continue 21387da8b7e3Smrg case $ac_file in 21397da8b7e3Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 21407da8b7e3Smrg ;; 21417da8b7e3Smrg conftest.$ac_ext ) 21427da8b7e3Smrg # This is the source file. 21437da8b7e3Smrg ;; 21447da8b7e3Smrg [ab].out ) 21457da8b7e3Smrg # We found the default executable, but exeext='' is most 21467da8b7e3Smrg # certainly right. 21477da8b7e3Smrg break;; 21487da8b7e3Smrg *.* ) 21497da8b7e3Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 21507da8b7e3Smrg # FIXME: I believe we export ac_cv_exeext for Libtool, 21517da8b7e3Smrg # but it would be cool to find out if it's true. Does anybody 21527da8b7e3Smrg # maintain Libtool? --akim. 21537da8b7e3Smrg export ac_cv_exeext 21547da8b7e3Smrg break;; 21557da8b7e3Smrg * ) 21567da8b7e3Smrg break;; 21577da8b7e3Smrg esac 21587da8b7e3Smrgdone 21597da8b7e3Smrgelse 21607da8b7e3Smrg echo "$as_me: failed program was:" >&5 21617da8b7e3Smrgsed 's/^/| /' conftest.$ac_ext >&5 21627da8b7e3Smrg 21637da8b7e3Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 21647da8b7e3SmrgSee \`config.log' for more details." >&5 21657da8b7e3Smrgecho "$as_me: error: C compiler cannot create executables 21667da8b7e3SmrgSee \`config.log' for more details." >&2;} 21677da8b7e3Smrg { (exit 77); exit 77; }; } 21687da8b7e3Smrgfi 21697da8b7e3Smrg 21707da8b7e3Smrgac_exeext=$ac_cv_exeext 21717da8b7e3Smrgecho "$as_me:$LINENO: result: $ac_file" >&5 21727da8b7e3Smrgecho "${ECHO_T}$ac_file" >&6 21737da8b7e3Smrg 21747da8b7e3Smrg# Check the compiler produces executables we can run. If not, either 21757da8b7e3Smrg# the compiler is broken, or we cross compile. 21767da8b7e3Smrgecho "$as_me:$LINENO: checking whether the C compiler works" >&5 21777da8b7e3Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 21787da8b7e3Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 21797da8b7e3Smrg# If not cross compiling, check that we can run a simple program. 21807da8b7e3Smrgif test "$cross_compiling" != yes; then 21817da8b7e3Smrg if { ac_try='./$ac_file' 21827da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21837da8b7e3Smrg (eval $ac_try) 2>&5 21847da8b7e3Smrg ac_status=$? 21857da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 21867da8b7e3Smrg (exit $ac_status); }; }; then 21877da8b7e3Smrg cross_compiling=no 21887da8b7e3Smrg else 21897da8b7e3Smrg if test "$cross_compiling" = maybe; then 21907da8b7e3Smrg cross_compiling=yes 21917da8b7e3Smrg else 21927da8b7e3Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 21937da8b7e3SmrgIf you meant to cross compile, use \`--host'. 21947da8b7e3SmrgSee \`config.log' for more details." >&5 21957da8b7e3Smrgecho "$as_me: error: cannot run C compiled programs. 21967da8b7e3SmrgIf you meant to cross compile, use \`--host'. 21977da8b7e3SmrgSee \`config.log' for more details." >&2;} 21987da8b7e3Smrg { (exit 1); exit 1; }; } 21997da8b7e3Smrg fi 22007da8b7e3Smrg fi 22017da8b7e3Smrgfi 22027da8b7e3Smrgecho "$as_me:$LINENO: result: yes" >&5 22037da8b7e3Smrgecho "${ECHO_T}yes" >&6 22047da8b7e3Smrg 22057da8b7e3Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 22067da8b7e3Smrgac_clean_files=$ac_clean_files_save 22077da8b7e3Smrg# Check the compiler produces executables we can run. If not, either 22087da8b7e3Smrg# the compiler is broken, or we cross compile. 22097da8b7e3Smrgecho "$as_me:$LINENO: checking whether we are cross compiling" >&5 22107da8b7e3Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 22117da8b7e3Smrgecho "$as_me:$LINENO: result: $cross_compiling" >&5 22127da8b7e3Smrgecho "${ECHO_T}$cross_compiling" >&6 22137da8b7e3Smrg 22147da8b7e3Smrgecho "$as_me:$LINENO: checking for suffix of executables" >&5 22157da8b7e3Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 22167da8b7e3Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22177da8b7e3Smrg (eval $ac_link) 2>&5 22187da8b7e3Smrg ac_status=$? 22197da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 22207da8b7e3Smrg (exit $ac_status); }; then 22217da8b7e3Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 22227da8b7e3Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 22237da8b7e3Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 22247da8b7e3Smrg# `rm'. 22257da8b7e3Smrgfor ac_file in conftest.exe conftest conftest.*; do 22267da8b7e3Smrg test -f "$ac_file" || continue 22277da8b7e3Smrg case $ac_file in 22287da8b7e3Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 22297da8b7e3Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 22307da8b7e3Smrg export ac_cv_exeext 22317da8b7e3Smrg break;; 22327da8b7e3Smrg * ) break;; 22337da8b7e3Smrg esac 22347da8b7e3Smrgdone 22357da8b7e3Smrgelse 22367da8b7e3Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 22377da8b7e3SmrgSee \`config.log' for more details." >&5 22387da8b7e3Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 22397da8b7e3SmrgSee \`config.log' for more details." >&2;} 22407da8b7e3Smrg { (exit 1); exit 1; }; } 22417da8b7e3Smrgfi 22427da8b7e3Smrg 22437da8b7e3Smrgrm -f conftest$ac_cv_exeext 22447da8b7e3Smrgecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5 22457da8b7e3Smrgecho "${ECHO_T}$ac_cv_exeext" >&6 22467da8b7e3Smrg 22477da8b7e3Smrgrm -f conftest.$ac_ext 22487da8b7e3SmrgEXEEXT=$ac_cv_exeext 22497da8b7e3Smrgac_exeext=$EXEEXT 22507da8b7e3Smrgecho "$as_me:$LINENO: checking for suffix of object files" >&5 22517da8b7e3Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 22527da8b7e3Smrgif test "${ac_cv_objext+set}" = set; then 22537da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 22547da8b7e3Smrgelse 22557da8b7e3Smrg cat >conftest.$ac_ext <<_ACEOF 22567da8b7e3Smrg/* confdefs.h. */ 22577da8b7e3Smrg_ACEOF 22587da8b7e3Smrgcat confdefs.h >>conftest.$ac_ext 22597da8b7e3Smrgcat >>conftest.$ac_ext <<_ACEOF 22607da8b7e3Smrg/* end confdefs.h. */ 22617da8b7e3Smrg 22627da8b7e3Smrgint 22637da8b7e3Smrgmain () 22647da8b7e3Smrg{ 22657da8b7e3Smrg 22667da8b7e3Smrg ; 22677da8b7e3Smrg return 0; 22687da8b7e3Smrg} 22697da8b7e3Smrg_ACEOF 22707da8b7e3Smrgrm -f conftest.o conftest.obj 22717da8b7e3Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22727da8b7e3Smrg (eval $ac_compile) 2>&5 22737da8b7e3Smrg ac_status=$? 22747da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 22757da8b7e3Smrg (exit $ac_status); }; then 22767da8b7e3Smrg for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 22777da8b7e3Smrg case $ac_file in 22787da8b7e3Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 22797da8b7e3Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 22807da8b7e3Smrg break;; 22817da8b7e3Smrg esac 22827da8b7e3Smrgdone 22837da8b7e3Smrgelse 22847da8b7e3Smrg echo "$as_me: failed program was:" >&5 22857da8b7e3Smrgsed 's/^/| /' conftest.$ac_ext >&5 22867da8b7e3Smrg 22877da8b7e3Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 22887da8b7e3SmrgSee \`config.log' for more details." >&5 22897da8b7e3Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 22907da8b7e3SmrgSee \`config.log' for more details." >&2;} 22917da8b7e3Smrg { (exit 1); exit 1; }; } 22927da8b7e3Smrgfi 22937da8b7e3Smrg 22947da8b7e3Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 22957da8b7e3Smrgfi 22967da8b7e3Smrgecho "$as_me:$LINENO: result: $ac_cv_objext" >&5 22977da8b7e3Smrgecho "${ECHO_T}$ac_cv_objext" >&6 22987da8b7e3SmrgOBJEXT=$ac_cv_objext 22997da8b7e3Smrgac_objext=$OBJEXT 23007da8b7e3Smrgecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 23017da8b7e3Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 23027da8b7e3Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 23037da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 23047da8b7e3Smrgelse 23057da8b7e3Smrg cat >conftest.$ac_ext <<_ACEOF 23067da8b7e3Smrg/* confdefs.h. */ 23077da8b7e3Smrg_ACEOF 23087da8b7e3Smrgcat confdefs.h >>conftest.$ac_ext 23097da8b7e3Smrgcat >>conftest.$ac_ext <<_ACEOF 23107da8b7e3Smrg/* end confdefs.h. */ 23117da8b7e3Smrg 23127da8b7e3Smrgint 23137da8b7e3Smrgmain () 23147da8b7e3Smrg{ 23157da8b7e3Smrg#ifndef __GNUC__ 23167da8b7e3Smrg choke me 23177da8b7e3Smrg#endif 23187da8b7e3Smrg 23197da8b7e3Smrg ; 23207da8b7e3Smrg return 0; 23217da8b7e3Smrg} 23227da8b7e3Smrg_ACEOF 23237da8b7e3Smrgrm -f conftest.$ac_objext 23247da8b7e3Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23257da8b7e3Smrg (eval $ac_compile) 2>conftest.er1 23267da8b7e3Smrg ac_status=$? 23277da8b7e3Smrg grep -v '^ *+' conftest.er1 >conftest.err 23287da8b7e3Smrg rm -f conftest.er1 23297da8b7e3Smrg cat conftest.err >&5 23307da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23317da8b7e3Smrg (exit $ac_status); } && 23327da8b7e3Smrg { ac_try='test -z "$ac_c_werror_flag" 23337da8b7e3Smrg || test ! -s conftest.err' 23347da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23357da8b7e3Smrg (eval $ac_try) 2>&5 23367da8b7e3Smrg ac_status=$? 23377da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23387da8b7e3Smrg (exit $ac_status); }; } && 23397da8b7e3Smrg { ac_try='test -s conftest.$ac_objext' 23407da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23417da8b7e3Smrg (eval $ac_try) 2>&5 23427da8b7e3Smrg ac_status=$? 23437da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23447da8b7e3Smrg (exit $ac_status); }; }; then 23457da8b7e3Smrg ac_compiler_gnu=yes 23467da8b7e3Smrgelse 23477da8b7e3Smrg echo "$as_me: failed program was:" >&5 23487da8b7e3Smrgsed 's/^/| /' conftest.$ac_ext >&5 23497da8b7e3Smrg 23507da8b7e3Smrgac_compiler_gnu=no 23517da8b7e3Smrgfi 23527da8b7e3Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23537da8b7e3Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 23547da8b7e3Smrg 23557da8b7e3Smrgfi 23567da8b7e3Smrgecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 23577da8b7e3Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 23587da8b7e3SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 23597da8b7e3Smrgac_test_CFLAGS=${CFLAGS+set} 23607da8b7e3Smrgac_save_CFLAGS=$CFLAGS 23617da8b7e3SmrgCFLAGS="-g" 23627da8b7e3Smrgecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5 23637da8b7e3Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 23647da8b7e3Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 23657da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 23667da8b7e3Smrgelse 23677da8b7e3Smrg cat >conftest.$ac_ext <<_ACEOF 23687da8b7e3Smrg/* confdefs.h. */ 23697da8b7e3Smrg_ACEOF 23707da8b7e3Smrgcat confdefs.h >>conftest.$ac_ext 23717da8b7e3Smrgcat >>conftest.$ac_ext <<_ACEOF 23727da8b7e3Smrg/* end confdefs.h. */ 23737da8b7e3Smrg 23747da8b7e3Smrgint 23757da8b7e3Smrgmain () 23767da8b7e3Smrg{ 23777da8b7e3Smrg 23787da8b7e3Smrg ; 23797da8b7e3Smrg return 0; 23807da8b7e3Smrg} 23817da8b7e3Smrg_ACEOF 23827da8b7e3Smrgrm -f conftest.$ac_objext 23837da8b7e3Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23847da8b7e3Smrg (eval $ac_compile) 2>conftest.er1 23857da8b7e3Smrg ac_status=$? 23867da8b7e3Smrg grep -v '^ *+' conftest.er1 >conftest.err 23877da8b7e3Smrg rm -f conftest.er1 23887da8b7e3Smrg cat conftest.err >&5 23897da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23907da8b7e3Smrg (exit $ac_status); } && 23917da8b7e3Smrg { ac_try='test -z "$ac_c_werror_flag" 23927da8b7e3Smrg || test ! -s conftest.err' 23937da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23947da8b7e3Smrg (eval $ac_try) 2>&5 23957da8b7e3Smrg ac_status=$? 23967da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23977da8b7e3Smrg (exit $ac_status); }; } && 23987da8b7e3Smrg { ac_try='test -s conftest.$ac_objext' 23997da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24007da8b7e3Smrg (eval $ac_try) 2>&5 24017da8b7e3Smrg ac_status=$? 24027da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 24037da8b7e3Smrg (exit $ac_status); }; }; then 24047da8b7e3Smrg ac_cv_prog_cc_g=yes 24057da8b7e3Smrgelse 24067da8b7e3Smrg echo "$as_me: failed program was:" >&5 24077da8b7e3Smrgsed 's/^/| /' conftest.$ac_ext >&5 24087da8b7e3Smrg 24097da8b7e3Smrgac_cv_prog_cc_g=no 24107da8b7e3Smrgfi 24117da8b7e3Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24127da8b7e3Smrgfi 24137da8b7e3Smrgecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 24147da8b7e3Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6 24157da8b7e3Smrgif test "$ac_test_CFLAGS" = set; then 24167da8b7e3Smrg CFLAGS=$ac_save_CFLAGS 24177da8b7e3Smrgelif test $ac_cv_prog_cc_g = yes; then 24187da8b7e3Smrg if test "$GCC" = yes; then 24197da8b7e3Smrg CFLAGS="-g -O2" 24207da8b7e3Smrg else 24217da8b7e3Smrg CFLAGS="-g" 24227da8b7e3Smrg fi 24237da8b7e3Smrgelse 24247da8b7e3Smrg if test "$GCC" = yes; then 24257da8b7e3Smrg CFLAGS="-O2" 24267da8b7e3Smrg else 24277da8b7e3Smrg CFLAGS= 24287da8b7e3Smrg fi 24297da8b7e3Smrgfi 24307da8b7e3Smrgecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 24317da8b7e3Smrgecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 24327da8b7e3Smrgif test "${ac_cv_prog_cc_stdc+set}" = set; then 24337da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 24347da8b7e3Smrgelse 24357da8b7e3Smrg ac_cv_prog_cc_stdc=no 24367da8b7e3Smrgac_save_CC=$CC 24377da8b7e3Smrgcat >conftest.$ac_ext <<_ACEOF 24387da8b7e3Smrg/* confdefs.h. */ 24397da8b7e3Smrg_ACEOF 24407da8b7e3Smrgcat confdefs.h >>conftest.$ac_ext 24417da8b7e3Smrgcat >>conftest.$ac_ext <<_ACEOF 24427da8b7e3Smrg/* end confdefs.h. */ 24437da8b7e3Smrg#include <stdarg.h> 24447da8b7e3Smrg#include <stdio.h> 24457da8b7e3Smrg#include <sys/types.h> 24467da8b7e3Smrg#include <sys/stat.h> 24477da8b7e3Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 24487da8b7e3Smrgstruct buf { int x; }; 24497da8b7e3SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 24507da8b7e3Smrgstatic char *e (p, i) 24517da8b7e3Smrg char **p; 24527da8b7e3Smrg int i; 24537da8b7e3Smrg{ 24547da8b7e3Smrg return p[i]; 24557da8b7e3Smrg} 24567da8b7e3Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 24577da8b7e3Smrg{ 24587da8b7e3Smrg char *s; 24597da8b7e3Smrg va_list v; 24607da8b7e3Smrg va_start (v,p); 24617da8b7e3Smrg s = g (p, va_arg (v,int)); 24627da8b7e3Smrg va_end (v); 24637da8b7e3Smrg return s; 24647da8b7e3Smrg} 24657da8b7e3Smrg 24667da8b7e3Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 24677da8b7e3Smrg function prototypes and stuff, but not '\xHH' hex character constants. 24687da8b7e3Smrg These don't provoke an error unfortunately, instead are silently treated 24697da8b7e3Smrg as 'x'. The following induces an error, until -std1 is added to get 24707da8b7e3Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 24717da8b7e3Smrg array size at least. It's necessary to write '\x00'==0 to get something 24727da8b7e3Smrg that's true only with -std1. */ 24737da8b7e3Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 24747da8b7e3Smrg 24757da8b7e3Smrgint test (int i, double x); 24767da8b7e3Smrgstruct s1 {int (*f) (int a);}; 24777da8b7e3Smrgstruct s2 {int (*f) (double a);}; 24787da8b7e3Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 24797da8b7e3Smrgint argc; 24807da8b7e3Smrgchar **argv; 24817da8b7e3Smrgint 24827da8b7e3Smrgmain () 24837da8b7e3Smrg{ 24847da8b7e3Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 24857da8b7e3Smrg ; 24867da8b7e3Smrg return 0; 24877da8b7e3Smrg} 24887da8b7e3Smrg_ACEOF 24897da8b7e3Smrg# Don't try gcc -ansi; that turns off useful extensions and 24907da8b7e3Smrg# breaks some systems' header files. 24917da8b7e3Smrg# AIX -qlanglvl=ansi 24927da8b7e3Smrg# Ultrix and OSF/1 -std1 24937da8b7e3Smrg# HP-UX 10.20 and later -Ae 24947da8b7e3Smrg# HP-UX older versions -Aa -D_HPUX_SOURCE 24957da8b7e3Smrg# SVR4 -Xc -D__EXTENSIONS__ 24967da8b7e3Smrgfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 24977da8b7e3Smrgdo 24987da8b7e3Smrg CC="$ac_save_CC $ac_arg" 24997da8b7e3Smrg rm -f conftest.$ac_objext 25007da8b7e3Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 25017da8b7e3Smrg (eval $ac_compile) 2>conftest.er1 25027da8b7e3Smrg ac_status=$? 25037da8b7e3Smrg grep -v '^ *+' conftest.er1 >conftest.err 25047da8b7e3Smrg rm -f conftest.er1 25057da8b7e3Smrg cat conftest.err >&5 25067da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25077da8b7e3Smrg (exit $ac_status); } && 25087da8b7e3Smrg { ac_try='test -z "$ac_c_werror_flag" 25097da8b7e3Smrg || test ! -s conftest.err' 25107da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25117da8b7e3Smrg (eval $ac_try) 2>&5 25127da8b7e3Smrg ac_status=$? 25137da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25147da8b7e3Smrg (exit $ac_status); }; } && 25157da8b7e3Smrg { ac_try='test -s conftest.$ac_objext' 25167da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25177da8b7e3Smrg (eval $ac_try) 2>&5 25187da8b7e3Smrg ac_status=$? 25197da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25207da8b7e3Smrg (exit $ac_status); }; }; then 25217da8b7e3Smrg ac_cv_prog_cc_stdc=$ac_arg 25227da8b7e3Smrgbreak 25237da8b7e3Smrgelse 25247da8b7e3Smrg echo "$as_me: failed program was:" >&5 25257da8b7e3Smrgsed 's/^/| /' conftest.$ac_ext >&5 25267da8b7e3Smrg 25277da8b7e3Smrgfi 25287da8b7e3Smrgrm -f conftest.err conftest.$ac_objext 25297da8b7e3Smrgdone 25307da8b7e3Smrgrm -f conftest.$ac_ext conftest.$ac_objext 25317da8b7e3SmrgCC=$ac_save_CC 25327da8b7e3Smrg 25337da8b7e3Smrgfi 25347da8b7e3Smrg 25357da8b7e3Smrgcase "x$ac_cv_prog_cc_stdc" in 25367da8b7e3Smrg x|xno) 25377da8b7e3Smrg echo "$as_me:$LINENO: result: none needed" >&5 25387da8b7e3Smrgecho "${ECHO_T}none needed" >&6 ;; 25397da8b7e3Smrg *) 25407da8b7e3Smrg echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 25417da8b7e3Smrgecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 25427da8b7e3Smrg CC="$CC $ac_cv_prog_cc_stdc" ;; 25437da8b7e3Smrgesac 25447da8b7e3Smrg 25457da8b7e3Smrg# Some people use a C++ compiler to compile C. Since we use `exit', 25467da8b7e3Smrg# in C++ we need to declare it. In case someone uses the same compiler 25477da8b7e3Smrg# for both compiling C and C++ we need to have the C++ compiler decide 25487da8b7e3Smrg# the declaration of exit, since it's the most demanding environment. 25497da8b7e3Smrgcat >conftest.$ac_ext <<_ACEOF 25507da8b7e3Smrg#ifndef __cplusplus 25517da8b7e3Smrg choke me 25527da8b7e3Smrg#endif 25537da8b7e3Smrg_ACEOF 25547da8b7e3Smrgrm -f conftest.$ac_objext 25557da8b7e3Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 25567da8b7e3Smrg (eval $ac_compile) 2>conftest.er1 25577da8b7e3Smrg ac_status=$? 25587da8b7e3Smrg grep -v '^ *+' conftest.er1 >conftest.err 25597da8b7e3Smrg rm -f conftest.er1 25607da8b7e3Smrg cat conftest.err >&5 25617da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25627da8b7e3Smrg (exit $ac_status); } && 25637da8b7e3Smrg { ac_try='test -z "$ac_c_werror_flag" 25647da8b7e3Smrg || test ! -s conftest.err' 25657da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25667da8b7e3Smrg (eval $ac_try) 2>&5 25677da8b7e3Smrg ac_status=$? 25687da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25697da8b7e3Smrg (exit $ac_status); }; } && 25707da8b7e3Smrg { ac_try='test -s conftest.$ac_objext' 25717da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25727da8b7e3Smrg (eval $ac_try) 2>&5 25737da8b7e3Smrg ac_status=$? 25747da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25757da8b7e3Smrg (exit $ac_status); }; }; then 25767da8b7e3Smrg for ac_declaration in \ 25777da8b7e3Smrg '' \ 25787da8b7e3Smrg 'extern "C" void std::exit (int) throw (); using std::exit;' \ 25797da8b7e3Smrg 'extern "C" void std::exit (int); using std::exit;' \ 25807da8b7e3Smrg 'extern "C" void exit (int) throw ();' \ 25817da8b7e3Smrg 'extern "C" void exit (int);' \ 25827da8b7e3Smrg 'void exit (int);' 25837da8b7e3Smrgdo 25847da8b7e3Smrg cat >conftest.$ac_ext <<_ACEOF 25857da8b7e3Smrg/* confdefs.h. */ 25867da8b7e3Smrg_ACEOF 25877da8b7e3Smrgcat confdefs.h >>conftest.$ac_ext 25887da8b7e3Smrgcat >>conftest.$ac_ext <<_ACEOF 25897da8b7e3Smrg/* end confdefs.h. */ 25907da8b7e3Smrg$ac_declaration 25917da8b7e3Smrg#include <stdlib.h> 25927da8b7e3Smrgint 25937da8b7e3Smrgmain () 25947da8b7e3Smrg{ 25957da8b7e3Smrgexit (42); 25967da8b7e3Smrg ; 25977da8b7e3Smrg return 0; 25987da8b7e3Smrg} 25997da8b7e3Smrg_ACEOF 26007da8b7e3Smrgrm -f conftest.$ac_objext 26017da8b7e3Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 26027da8b7e3Smrg (eval $ac_compile) 2>conftest.er1 26037da8b7e3Smrg ac_status=$? 26047da8b7e3Smrg grep -v '^ *+' conftest.er1 >conftest.err 26057da8b7e3Smrg rm -f conftest.er1 26067da8b7e3Smrg cat conftest.err >&5 26077da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26087da8b7e3Smrg (exit $ac_status); } && 26097da8b7e3Smrg { ac_try='test -z "$ac_c_werror_flag" 26107da8b7e3Smrg || test ! -s conftest.err' 26117da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26127da8b7e3Smrg (eval $ac_try) 2>&5 26137da8b7e3Smrg ac_status=$? 26147da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26157da8b7e3Smrg (exit $ac_status); }; } && 26167da8b7e3Smrg { ac_try='test -s conftest.$ac_objext' 26177da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26187da8b7e3Smrg (eval $ac_try) 2>&5 26197da8b7e3Smrg ac_status=$? 26207da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26217da8b7e3Smrg (exit $ac_status); }; }; then 26227da8b7e3Smrg : 26237da8b7e3Smrgelse 26247da8b7e3Smrg echo "$as_me: failed program was:" >&5 26257da8b7e3Smrgsed 's/^/| /' conftest.$ac_ext >&5 26267da8b7e3Smrg 26277da8b7e3Smrgcontinue 26287da8b7e3Smrgfi 26297da8b7e3Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 26307da8b7e3Smrg cat >conftest.$ac_ext <<_ACEOF 26317da8b7e3Smrg/* confdefs.h. */ 26327da8b7e3Smrg_ACEOF 26337da8b7e3Smrgcat confdefs.h >>conftest.$ac_ext 26347da8b7e3Smrgcat >>conftest.$ac_ext <<_ACEOF 26357da8b7e3Smrg/* end confdefs.h. */ 26367da8b7e3Smrg$ac_declaration 26377da8b7e3Smrgint 26387da8b7e3Smrgmain () 26397da8b7e3Smrg{ 26407da8b7e3Smrgexit (42); 26417da8b7e3Smrg ; 26427da8b7e3Smrg return 0; 26437da8b7e3Smrg} 26447da8b7e3Smrg_ACEOF 26457da8b7e3Smrgrm -f conftest.$ac_objext 26467da8b7e3Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 26477da8b7e3Smrg (eval $ac_compile) 2>conftest.er1 26487da8b7e3Smrg ac_status=$? 26497da8b7e3Smrg grep -v '^ *+' conftest.er1 >conftest.err 26507da8b7e3Smrg rm -f conftest.er1 26517da8b7e3Smrg cat conftest.err >&5 26527da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26537da8b7e3Smrg (exit $ac_status); } && 26547da8b7e3Smrg { ac_try='test -z "$ac_c_werror_flag" 26557da8b7e3Smrg || test ! -s conftest.err' 26567da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26577da8b7e3Smrg (eval $ac_try) 2>&5 26587da8b7e3Smrg ac_status=$? 26597da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26607da8b7e3Smrg (exit $ac_status); }; } && 26617da8b7e3Smrg { ac_try='test -s conftest.$ac_objext' 26627da8b7e3Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26637da8b7e3Smrg (eval $ac_try) 2>&5 26647da8b7e3Smrg ac_status=$? 26657da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26667da8b7e3Smrg (exit $ac_status); }; }; then 26677da8b7e3Smrg break 26687da8b7e3Smrgelse 26697da8b7e3Smrg echo "$as_me: failed program was:" >&5 26707da8b7e3Smrgsed 's/^/| /' conftest.$ac_ext >&5 26717da8b7e3Smrg 26727da8b7e3Smrgfi 26737da8b7e3Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 26747da8b7e3Smrgdone 26757da8b7e3Smrgrm -f conftest* 26767da8b7e3Smrgif test -n "$ac_declaration"; then 26777da8b7e3Smrg echo '#ifdef __cplusplus' >>confdefs.h 26787da8b7e3Smrg echo $ac_declaration >>confdefs.h 26797da8b7e3Smrg echo '#endif' >>confdefs.h 26807da8b7e3Smrgfi 26817da8b7e3Smrg 26827da8b7e3Smrgelse 26837da8b7e3Smrg echo "$as_me: failed program was:" >&5 26847da8b7e3Smrgsed 's/^/| /' conftest.$ac_ext >&5 26857da8b7e3Smrg 26867da8b7e3Smrgfi 26877da8b7e3Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 26887da8b7e3Smrgac_ext=c 26897da8b7e3Smrgac_cpp='$CPP $CPPFLAGS' 26907da8b7e3Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26917da8b7e3Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26927da8b7e3Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26937da8b7e3SmrgDEPDIR="${am__leading_dot}deps" 26947da8b7e3Smrg 26957da8b7e3Smrg ac_config_commands="$ac_config_commands depfiles" 26967da8b7e3Smrg 26977da8b7e3Smrg 26987da8b7e3Smrgam_make=${MAKE-make} 26997da8b7e3Smrgcat > confinc << 'END' 27007da8b7e3Smrgam__doit: 27017da8b7e3Smrg @echo done 27027da8b7e3Smrg.PHONY: am__doit 27037da8b7e3SmrgEND 27047da8b7e3Smrg# If we don't find an include directive, just comment out the code. 27057da8b7e3Smrgecho "$as_me:$LINENO: checking for style of include used by $am_make" >&5 27067da8b7e3Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 27077da8b7e3Smrgam__include="#" 27087da8b7e3Smrgam__quote= 27097da8b7e3Smrg_am_result=none 27107da8b7e3Smrg# First try GNU make style include. 27117da8b7e3Smrgecho "include confinc" > confmf 27127da8b7e3Smrg# We grep out `Entering directory' and `Leaving directory' 27137da8b7e3Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 27147da8b7e3Smrg# In particular we don't look at `^make:' because GNU make might 27157da8b7e3Smrg# be invoked under some other name (usually "gmake"), in which 27167da8b7e3Smrg# case it prints its new name instead of `make'. 27177da8b7e3Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 27187da8b7e3Smrg am__include=include 27197da8b7e3Smrg am__quote= 27207da8b7e3Smrg _am_result=GNU 27217da8b7e3Smrgfi 27227da8b7e3Smrg# Now try BSD make style include. 27237da8b7e3Smrgif test "$am__include" = "#"; then 27247da8b7e3Smrg echo '.include "confinc"' > confmf 27257da8b7e3Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 27267da8b7e3Smrg am__include=.include 27277da8b7e3Smrg am__quote="\"" 27287da8b7e3Smrg _am_result=BSD 27297da8b7e3Smrg fi 27307da8b7e3Smrgfi 27317da8b7e3Smrg 27327da8b7e3Smrg 27337da8b7e3Smrgecho "$as_me:$LINENO: result: $_am_result" >&5 27347da8b7e3Smrgecho "${ECHO_T}$_am_result" >&6 27357da8b7e3Smrgrm -f confinc confmf 27367da8b7e3Smrg 27377da8b7e3Smrg# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 27387da8b7e3Smrgif test "${enable_dependency_tracking+set}" = set; then 27397da8b7e3Smrg enableval="$enable_dependency_tracking" 27407da8b7e3Smrg 27417da8b7e3Smrgfi; 27427da8b7e3Smrgif test "x$enable_dependency_tracking" != xno; then 27437da8b7e3Smrg am_depcomp="$ac_aux_dir/depcomp" 27447da8b7e3Smrg AMDEPBACKSLASH='\' 27457da8b7e3Smrgfi 27467da8b7e3Smrg 27477da8b7e3Smrg 27487da8b7e3Smrgif test "x$enable_dependency_tracking" != xno; then 27497da8b7e3Smrg AMDEP_TRUE= 27507da8b7e3Smrg AMDEP_FALSE='#' 27517da8b7e3Smrgelse 27527da8b7e3Smrg AMDEP_TRUE='#' 27537da8b7e3Smrg AMDEP_FALSE= 27547da8b7e3Smrgfi 27557da8b7e3Smrg 27567da8b7e3Smrg 27577da8b7e3Smrg 27587da8b7e3Smrg 27597da8b7e3Smrgdepcc="$CC" am_compiler_list= 27607da8b7e3Smrg 27617da8b7e3Smrgecho "$as_me:$LINENO: checking dependency style of $depcc" >&5 27627da8b7e3Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 27637da8b7e3Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 27647da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 27657da8b7e3Smrgelse 27667da8b7e3Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 27677da8b7e3Smrg # We make a subdir and do the tests there. Otherwise we can end up 27687da8b7e3Smrg # making bogus files that we don't know about and never remove. For 27697da8b7e3Smrg # instance it was reported that on HP-UX the gcc test will end up 27707da8b7e3Smrg # making a dummy file named `D' -- because `-MD' means `put the output 27717da8b7e3Smrg # in D'. 27727da8b7e3Smrg mkdir conftest.dir 27737da8b7e3Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 27747da8b7e3Smrg # using a relative directory. 27757da8b7e3Smrg cp "$am_depcomp" conftest.dir 27767da8b7e3Smrg cd conftest.dir 27777da8b7e3Smrg # We will build objects and dependencies in a subdirectory because 27787da8b7e3Smrg # it helps to detect inapplicable dependency modes. For instance 27797da8b7e3Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 27807da8b7e3Smrg # side effect of compilation, but ICC will put the dependencies in 27817da8b7e3Smrg # the current directory while Tru64 will put them in the object 27827da8b7e3Smrg # directory. 27837da8b7e3Smrg mkdir sub 27847da8b7e3Smrg 27857da8b7e3Smrg am_cv_CC_dependencies_compiler_type=none 27867da8b7e3Smrg if test "$am_compiler_list" = ""; then 27877da8b7e3Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 27887da8b7e3Smrg fi 27897da8b7e3Smrg for depmode in $am_compiler_list; do 27907da8b7e3Smrg # Setup a source with many dependencies, because some compilers 27917da8b7e3Smrg # like to wrap large dependency lists on column 80 (with \), and 27927da8b7e3Smrg # we should not choose a depcomp mode which is confused by this. 27937da8b7e3Smrg # 27947da8b7e3Smrg # We need to recreate these files for each test, as the compiler may 27957da8b7e3Smrg # overwrite some of them when testing with obscure command lines. 27967da8b7e3Smrg # This happens at least with the AIX C compiler. 27977da8b7e3Smrg : > sub/conftest.c 27987da8b7e3Smrg for i in 1 2 3 4 5 6; do 27997da8b7e3Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 28007da8b7e3Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 28017da8b7e3Smrg # Solaris 8's {/usr,}/bin/sh. 28027da8b7e3Smrg touch sub/conftst$i.h 28037da8b7e3Smrg done 28047da8b7e3Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 28057da8b7e3Smrg 28067da8b7e3Smrg case $depmode in 28077da8b7e3Smrg nosideeffect) 28087da8b7e3Smrg # after this tag, mechanisms are not by side-effect, so they'll 28097da8b7e3Smrg # only be used when explicitly requested 28107da8b7e3Smrg if test "x$enable_dependency_tracking" = xyes; then 28117da8b7e3Smrg continue 28127da8b7e3Smrg else 28137da8b7e3Smrg break 28147da8b7e3Smrg fi 28157da8b7e3Smrg ;; 28167da8b7e3Smrg none) break ;; 28177da8b7e3Smrg esac 28187da8b7e3Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 28197da8b7e3Smrg # mode. It turns out that the SunPro C++ compiler does not properly 28207da8b7e3Smrg # handle `-M -o', and we need to detect this. 28217da8b7e3Smrg if depmode=$depmode \ 28227da8b7e3Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 28237da8b7e3Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 28247da8b7e3Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 28257da8b7e3Smrg >/dev/null 2>conftest.err && 28267da8b7e3Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 28277da8b7e3Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 28287da8b7e3Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 28297da8b7e3Smrg # icc doesn't choke on unknown options, it will just issue warnings 28307da8b7e3Smrg # or remarks (even with -Werror). So we grep stderr for any message 28317da8b7e3Smrg # that says an option was ignored or not supported. 28327da8b7e3Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 28337da8b7e3Smrg # icc: Command line warning: ignoring option '-M'; no argument required 28347da8b7e3Smrg # The diagnosis changed in icc 8.0: 28357da8b7e3Smrg # icc: Command line remark: option '-MP' not supported 28367da8b7e3Smrg if (grep 'ignoring option' conftest.err || 28377da8b7e3Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 28387da8b7e3Smrg am_cv_CC_dependencies_compiler_type=$depmode 28397da8b7e3Smrg break 28407da8b7e3Smrg fi 28417da8b7e3Smrg fi 28427da8b7e3Smrg done 28437da8b7e3Smrg 28447da8b7e3Smrg cd .. 28457da8b7e3Smrg rm -rf conftest.dir 28467da8b7e3Smrgelse 28477da8b7e3Smrg am_cv_CC_dependencies_compiler_type=none 28487da8b7e3Smrgfi 28497da8b7e3Smrg 28507da8b7e3Smrgfi 28517da8b7e3Smrgecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 28527da8b7e3Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 28537da8b7e3SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 28547da8b7e3Smrg 28557da8b7e3Smrg 28567da8b7e3Smrg 28577da8b7e3Smrgif 28587da8b7e3Smrg test "x$enable_dependency_tracking" != xno \ 28597da8b7e3Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 28607da8b7e3Smrg am__fastdepCC_TRUE= 28617da8b7e3Smrg am__fastdepCC_FALSE='#' 28627da8b7e3Smrgelse 28637da8b7e3Smrg am__fastdepCC_TRUE='#' 28647da8b7e3Smrg am__fastdepCC_FALSE= 28657da8b7e3Smrgfi 28667da8b7e3Smrg 28677da8b7e3Smrg 28687da8b7e3Smrg# Find a good install program. We prefer a C program (faster), 28697da8b7e3Smrg# so one script is as good as another. But avoid the broken or 28707da8b7e3Smrg# incompatible versions: 28717da8b7e3Smrg# SysV /etc/install, /usr/sbin/install 28727da8b7e3Smrg# SunOS /usr/etc/install 28737da8b7e3Smrg# IRIX /sbin/install 28747da8b7e3Smrg# AIX /bin/install 28757da8b7e3Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 28767da8b7e3Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 28777da8b7e3Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 28787da8b7e3Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 28797da8b7e3Smrg# OS/2's system install, which has a completely different semantic 28807da8b7e3Smrg# ./install, which can be erroneously created by make from ./install.sh. 28817da8b7e3Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 28827da8b7e3Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 28837da8b7e3Smrgif test -z "$INSTALL"; then 28847da8b7e3Smrgif test "${ac_cv_path_install+set}" = set; then 28857da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 28867da8b7e3Smrgelse 28877da8b7e3Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28887da8b7e3Smrgfor as_dir in $PATH 28897da8b7e3Smrgdo 28907da8b7e3Smrg IFS=$as_save_IFS 28917da8b7e3Smrg test -z "$as_dir" && as_dir=. 28927da8b7e3Smrg # Account for people who put trailing slashes in PATH elements. 28937da8b7e3Smrgcase $as_dir/ in 28947da8b7e3Smrg ./ | .// | /cC/* | \ 28957da8b7e3Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 28967da8b7e3Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 28977da8b7e3Smrg /usr/ucb/* ) ;; 28987da8b7e3Smrg *) 28997da8b7e3Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 29007da8b7e3Smrg # Don't use installbsd from OSF since it installs stuff as root 29017da8b7e3Smrg # by default. 29027da8b7e3Smrg for ac_prog in ginstall scoinst install; do 29037da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 29047da8b7e3Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 29057da8b7e3Smrg if test $ac_prog = install && 29067da8b7e3Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 29077da8b7e3Smrg # AIX install. It has an incompatible calling convention. 29087da8b7e3Smrg : 29097da8b7e3Smrg elif test $ac_prog = install && 29107da8b7e3Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 29117da8b7e3Smrg # program-specific install script used by HP pwplus--don't use. 29127da8b7e3Smrg : 29137da8b7e3Smrg else 29147da8b7e3Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 29157da8b7e3Smrg break 3 29167da8b7e3Smrg fi 29177da8b7e3Smrg fi 29187da8b7e3Smrg done 29197da8b7e3Smrg done 29207da8b7e3Smrg ;; 29217da8b7e3Smrgesac 29227da8b7e3Smrgdone 29237da8b7e3Smrg 29247da8b7e3Smrg 29257da8b7e3Smrgfi 29267da8b7e3Smrg if test "${ac_cv_path_install+set}" = set; then 29277da8b7e3Smrg INSTALL=$ac_cv_path_install 29287da8b7e3Smrg else 29297da8b7e3Smrg # As a last resort, use the slow shell script. We don't cache a 29307da8b7e3Smrg # path for INSTALL within a source directory, because that will 29317da8b7e3Smrg # break other packages using the cache if that directory is 29327da8b7e3Smrg # removed, or if the path is relative. 29337da8b7e3Smrg INSTALL=$ac_install_sh 29347da8b7e3Smrg fi 29357da8b7e3Smrgfi 29367da8b7e3Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 29377da8b7e3Smrgecho "${ECHO_T}$INSTALL" >&6 29387da8b7e3Smrg 29397da8b7e3Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 29407da8b7e3Smrg# It thinks the first close brace ends the variable substitution. 29417da8b7e3Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 29427da8b7e3Smrg 29437da8b7e3Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 29447da8b7e3Smrg 29457da8b7e3Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 29467da8b7e3Smrg 29477da8b7e3Smrg 29487da8b7e3Smrg# Checks for pkg-config packages 29497da8b7e3Smrg 29507da8b7e3Smrg 29517da8b7e3Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 29527da8b7e3Smrg if test -n "$ac_tool_prefix"; then 29537da8b7e3Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 29547da8b7e3Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 29557da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 29567da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 29577da8b7e3Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 29587da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 29597da8b7e3Smrgelse 29607da8b7e3Smrg case $PKG_CONFIG in 29617da8b7e3Smrg [\\/]* | ?:[\\/]*) 29627da8b7e3Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 29637da8b7e3Smrg ;; 29647da8b7e3Smrg *) 29657da8b7e3Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29667da8b7e3Smrgfor as_dir in $PATH 29677da8b7e3Smrgdo 29687da8b7e3Smrg IFS=$as_save_IFS 29697da8b7e3Smrg test -z "$as_dir" && as_dir=. 29707da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 29717da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 29727da8b7e3Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 29737da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 29747da8b7e3Smrg break 2 29757da8b7e3Smrg fi 29767da8b7e3Smrgdone 29777da8b7e3Smrgdone 29787da8b7e3Smrg 29797da8b7e3Smrg ;; 29807da8b7e3Smrgesac 29817da8b7e3Smrgfi 29827da8b7e3SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 29837da8b7e3Smrg 29847da8b7e3Smrgif test -n "$PKG_CONFIG"; then 29857da8b7e3Smrg echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 29867da8b7e3Smrgecho "${ECHO_T}$PKG_CONFIG" >&6 29877da8b7e3Smrgelse 29887da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 29897da8b7e3Smrgecho "${ECHO_T}no" >&6 29907da8b7e3Smrgfi 29917da8b7e3Smrg 29927da8b7e3Smrgfi 29937da8b7e3Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 29947da8b7e3Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 29957da8b7e3Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 29967da8b7e3Smrgset dummy pkg-config; ac_word=$2 29977da8b7e3Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 29987da8b7e3Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 29997da8b7e3Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 30007da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 30017da8b7e3Smrgelse 30027da8b7e3Smrg case $ac_pt_PKG_CONFIG in 30037da8b7e3Smrg [\\/]* | ?:[\\/]*) 30047da8b7e3Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 30057da8b7e3Smrg ;; 30067da8b7e3Smrg *) 30077da8b7e3Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 30087da8b7e3Smrgfor as_dir in $PATH 30097da8b7e3Smrgdo 30107da8b7e3Smrg IFS=$as_save_IFS 30117da8b7e3Smrg test -z "$as_dir" && as_dir=. 30127da8b7e3Smrg for ac_exec_ext in '' $ac_executable_extensions; do 30137da8b7e3Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 30147da8b7e3Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 30157da8b7e3Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 30167da8b7e3Smrg break 2 30177da8b7e3Smrg fi 30187da8b7e3Smrgdone 30197da8b7e3Smrgdone 30207da8b7e3Smrg 30217da8b7e3Smrg ;; 30227da8b7e3Smrgesac 30237da8b7e3Smrgfi 30247da8b7e3Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 30257da8b7e3Smrg 30267da8b7e3Smrgif test -n "$ac_pt_PKG_CONFIG"; then 30277da8b7e3Smrg echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 30287da8b7e3Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 30297da8b7e3Smrgelse 30307da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 30317da8b7e3Smrgecho "${ECHO_T}no" >&6 30327da8b7e3Smrgfi 30337da8b7e3Smrg 30347da8b7e3Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 30357da8b7e3Smrgelse 30367da8b7e3Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 30377da8b7e3Smrgfi 30387da8b7e3Smrg 30397da8b7e3Smrgfi 30407da8b7e3Smrgif test -n "$PKG_CONFIG"; then 30417da8b7e3Smrg _pkg_min_version=0.9.0 30427da8b7e3Smrg echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 30437da8b7e3Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 30447da8b7e3Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 30457da8b7e3Smrg echo "$as_me:$LINENO: result: yes" >&5 30467da8b7e3Smrgecho "${ECHO_T}yes" >&6 30477da8b7e3Smrg else 30487da8b7e3Smrg echo "$as_me:$LINENO: result: no" >&5 30497da8b7e3Smrgecho "${ECHO_T}no" >&6 30507da8b7e3Smrg PKG_CONFIG="" 30517da8b7e3Smrg fi 30527da8b7e3Smrg 30537da8b7e3Smrgfi 30547da8b7e3Smrg 30557da8b7e3Smrgpkg_failed=no 30567da8b7e3Smrgecho "$as_me:$LINENO: checking for XREFRESH" >&5 30577da8b7e3Smrgecho $ECHO_N "checking for XREFRESH... $ECHO_C" >&6 30587da8b7e3Smrg 30597da8b7e3Smrgif test -n "$PKG_CONFIG"; then 30607da8b7e3Smrg if test -n "$XREFRESH_CFLAGS"; then 30617da8b7e3Smrg pkg_cv_XREFRESH_CFLAGS="$XREFRESH_CFLAGS" 30627da8b7e3Smrg else 30637da8b7e3Smrg if test -n "$PKG_CONFIG" && \ 30647da8b7e3Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 30657da8b7e3Smrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 30667da8b7e3Smrg ac_status=$? 30677da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 30687da8b7e3Smrg (exit $ac_status); }; then 30697da8b7e3Smrg pkg_cv_XREFRESH_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 30707da8b7e3Smrgelse 30717da8b7e3Smrg pkg_failed=yes 30727da8b7e3Smrgfi 30737da8b7e3Smrg fi 30747da8b7e3Smrgelse 30757da8b7e3Smrg pkg_failed=untried 30767da8b7e3Smrgfi 30777da8b7e3Smrgif test -n "$PKG_CONFIG"; then 30787da8b7e3Smrg if test -n "$XREFRESH_LIBS"; then 30797da8b7e3Smrg pkg_cv_XREFRESH_LIBS="$XREFRESH_LIBS" 30807da8b7e3Smrg else 30817da8b7e3Smrg if test -n "$PKG_CONFIG" && \ 30827da8b7e3Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 30837da8b7e3Smrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 30847da8b7e3Smrg ac_status=$? 30857da8b7e3Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 30867da8b7e3Smrg (exit $ac_status); }; then 30877da8b7e3Smrg pkg_cv_XREFRESH_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 30887da8b7e3Smrgelse 30897da8b7e3Smrg pkg_failed=yes 30907da8b7e3Smrgfi 30917da8b7e3Smrg fi 30927da8b7e3Smrgelse 30937da8b7e3Smrg pkg_failed=untried 30947da8b7e3Smrgfi 30957da8b7e3Smrg 30967da8b7e3Smrg 30977da8b7e3Smrg 30987da8b7e3Smrgif test $pkg_failed = yes; then 30997da8b7e3Smrg 31007da8b7e3Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 31017da8b7e3Smrg _pkg_short_errors_supported=yes 31027da8b7e3Smrgelse 31037da8b7e3Smrg _pkg_short_errors_supported=no 31047da8b7e3Smrgfi 31057da8b7e3Smrg if test $_pkg_short_errors_supported = yes; then 31067da8b7e3Smrg XREFRESH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"` 31077da8b7e3Smrg else 31087da8b7e3Smrg XREFRESH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"` 31097da8b7e3Smrg fi 31107da8b7e3Smrg # Put the nasty error message in config.log where it belongs 31117da8b7e3Smrg echo "$XREFRESH_PKG_ERRORS" >&5 31127da8b7e3Smrg 31137da8b7e3Smrg { { echo "$as_me:$LINENO: error: Package requirements (x11) were not met: 31147da8b7e3Smrg 31157da8b7e3Smrg$XREFRESH_PKG_ERRORS 31167da8b7e3Smrg 31177da8b7e3SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 31187da8b7e3Smrginstalled software in a non-standard prefix. 31197da8b7e3Smrg 31207da8b7e3SmrgAlternatively, you may set the environment variables XREFRESH_CFLAGS 31217da8b7e3Smrgand XREFRESH_LIBS to avoid the need to call pkg-config. 31227da8b7e3SmrgSee the pkg-config man page for more details. 31237da8b7e3Smrg" >&5 31247da8b7e3Smrgecho "$as_me: error: Package requirements (x11) were not met: 31257da8b7e3Smrg 31267da8b7e3Smrg$XREFRESH_PKG_ERRORS 31277da8b7e3Smrg 31287da8b7e3SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 31297da8b7e3Smrginstalled software in a non-standard prefix. 31307da8b7e3Smrg 31317da8b7e3SmrgAlternatively, you may set the environment variables XREFRESH_CFLAGS 31327da8b7e3Smrgand XREFRESH_LIBS to avoid the need to call pkg-config. 31337da8b7e3SmrgSee the pkg-config man page for more details. 31347da8b7e3Smrg" >&2;} 31357da8b7e3Smrg { (exit 1); exit 1; }; } 31367da8b7e3Smrgelif test $pkg_failed = untried; then 31377da8b7e3Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 31387da8b7e3Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 31397da8b7e3Smrgpath to pkg-config. 31407da8b7e3Smrg 31417da8b7e3SmrgAlternatively, you may set the environment variables XREFRESH_CFLAGS 31427da8b7e3Smrgand XREFRESH_LIBS to avoid the need to call pkg-config. 31437da8b7e3SmrgSee the pkg-config man page for more details. 31447da8b7e3Smrg 31457da8b7e3SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 31467da8b7e3SmrgSee \`config.log' for more details." >&5 31477da8b7e3Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 31487da8b7e3Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 31497da8b7e3Smrgpath to pkg-config. 31507da8b7e3Smrg 31517da8b7e3SmrgAlternatively, you may set the environment variables XREFRESH_CFLAGS 31527da8b7e3Smrgand XREFRESH_LIBS to avoid the need to call pkg-config. 31537da8b7e3SmrgSee the pkg-config man page for more details. 31547da8b7e3Smrg 31557da8b7e3SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 31567da8b7e3SmrgSee \`config.log' for more details." >&2;} 31577da8b7e3Smrg { (exit 1); exit 1; }; } 31587da8b7e3Smrgelse 31597da8b7e3Smrg XREFRESH_CFLAGS=$pkg_cv_XREFRESH_CFLAGS 31607da8b7e3Smrg XREFRESH_LIBS=$pkg_cv_XREFRESH_LIBS 31617da8b7e3Smrg echo "$as_me:$LINENO: result: yes" >&5 31627da8b7e3Smrgecho "${ECHO_T}yes" >&6 31637da8b7e3Smrg : 31647da8b7e3Smrgfi 31657da8b7e3Smrg 31667da8b7e3Smrg 31677da8b7e3Smrg 31687da8b7e3Smrg# Make sure we can run config.sub. 31697da8b7e3Smrg$ac_config_sub sun4 >/dev/null 2>&1 || 31707da8b7e3Smrg { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 31717da8b7e3Smrgecho "$as_me: error: cannot run $ac_config_sub" >&2;} 31727da8b7e3Smrg { (exit 1); exit 1; }; } 31737da8b7e3Smrg 31747da8b7e3Smrgecho "$as_me:$LINENO: checking build system type" >&5 31757da8b7e3Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6 31767da8b7e3Smrgif test "${ac_cv_build+set}" = set; then 31777da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 31787da8b7e3Smrgelse 31797da8b7e3Smrg ac_cv_build_alias=$build_alias 31807da8b7e3Smrgtest -z "$ac_cv_build_alias" && 31817da8b7e3Smrg ac_cv_build_alias=`$ac_config_guess` 31827da8b7e3Smrgtest -z "$ac_cv_build_alias" && 31837da8b7e3Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 31847da8b7e3Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 31857da8b7e3Smrg { (exit 1); exit 1; }; } 31867da8b7e3Smrgac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 31877da8b7e3Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 31887da8b7e3Smrgecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 31897da8b7e3Smrg { (exit 1); exit 1; }; } 31907da8b7e3Smrg 31917da8b7e3Smrgfi 31927da8b7e3Smrgecho "$as_me:$LINENO: result: $ac_cv_build" >&5 31937da8b7e3Smrgecho "${ECHO_T}$ac_cv_build" >&6 31947da8b7e3Smrgbuild=$ac_cv_build 31957da8b7e3Smrgbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 31967da8b7e3Smrgbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 31977da8b7e3Smrgbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 31987da8b7e3Smrg 31997da8b7e3Smrg 32007da8b7e3Smrgecho "$as_me:$LINENO: checking host system type" >&5 32017da8b7e3Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6 32027da8b7e3Smrgif test "${ac_cv_host+set}" = set; then 32037da8b7e3Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 32047da8b7e3Smrgelse 32057da8b7e3Smrg ac_cv_host_alias=$host_alias 32067da8b7e3Smrgtest -z "$ac_cv_host_alias" && 32077da8b7e3Smrg ac_cv_host_alias=$ac_cv_build_alias 32087da8b7e3Smrgac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 32097da8b7e3Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 32107da8b7e3Smrgecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 32117da8b7e3Smrg { (exit 1); exit 1; }; } 32127da8b7e3Smrg 32137da8b7e3Smrgfi 32147da8b7e3Smrgecho "$as_me:$LINENO: result: $ac_cv_host" >&5 32157da8b7e3Smrgecho "${ECHO_T}$ac_cv_host" >&6 32167da8b7e3Smrghost=$ac_cv_host 32177da8b7e3Smrghost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 32187da8b7e3Smrghost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 32197da8b7e3Smrghost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 32207da8b7e3Smrg 32217da8b7e3Smrg 32227da8b7e3Smrg 32237da8b7e3Smrg 32247da8b7e3Smrg 32257da8b7e3Smrgif test x$APP_MAN_SUFFIX = x ; then 32267da8b7e3Smrg case $host_os in 32277da8b7e3Smrg linux*) APP_MAN_SUFFIX=1x ;; 32287da8b7e3Smrg *) APP_MAN_SUFFIX=1 ;; 32297da8b7e3Smrg esac 32307da8b7e3Smrgfi 32317da8b7e3Smrgif test x$APP_MAN_DIR = x ; then 32327da8b7e3Smrg case $host_os in 32337da8b7e3Smrg linux*) APP_MAN_DIR='$(mandir)/man1' ;; 32347da8b7e3Smrg *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;; 32357da8b7e3Smrg esac 32367da8b7e3Smrgfi 32377da8b7e3Smrg 32387da8b7e3Smrgif test x$LIB_MAN_SUFFIX = x ; then 32397da8b7e3Smrg case $host_os in 32407da8b7e3Smrg linux*) LIB_MAN_SUFFIX=3x ;; 32417da8b7e3Smrg *) LIB_MAN_SUFFIX=3 ;; 32427da8b7e3Smrg esac 32437da8b7e3Smrgfi 32447da8b7e3Smrgif test x$LIB_MAN_DIR = x ; then 32457da8b7e3Smrg case $host_os in 32467da8b7e3Smrg linux*) LIB_MAN_DIR='$(mandir)/man3' ;; 32477da8b7e3Smrg *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;; 32487da8b7e3Smrg esac 32497da8b7e3Smrgfi 32507da8b7e3Smrg 32517da8b7e3Smrgif test x$FILE_MAN_SUFFIX = x ; then 32527da8b7e3Smrg case $host_os in 32537da8b7e3Smrg linux*) FILE_MAN_SUFFIX=5x ;; 32547da8b7e3Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 32557da8b7e3Smrg *) FILE_MAN_SUFFIX=5 ;; 32567da8b7e3Smrg esac 32577da8b7e3Smrgfi 32587da8b7e3Smrgif test x$FILE_MAN_DIR = x ; then 32597da8b7e3Smrg case $host_os in 32607da8b7e3Smrg linux*) FILE_MAN_DIR='$(mandir)/man5' ;; 32617da8b7e3Smrg *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;; 32627da8b7e3Smrg esac 32637da8b7e3Smrgfi 32647da8b7e3Smrg 32657da8b7e3Smrg# In Imake's linux.cf, the misc man suffix & dir was only changed for 32667da8b7e3Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 32677da8b7e3Smrgif test x$MISC_MAN_SUFFIX = x ; then 32687da8b7e3Smrg case $host_os in 32697da8b7e3Smrg# linux*) MISC_MAN_SUFFIX=7x ;; 32707da8b7e3Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 32717da8b7e3Smrg *) MISC_MAN_SUFFIX=7 ;; 32727da8b7e3Smrg esac 32737da8b7e3Smrgfi 32747da8b7e3Smrgif test x$MISC_MAN_DIR = x ; then 32757da8b7e3Smrg case $host_os in 32767da8b7e3Smrg# linux*) MISC_MAN_DIR='$(mandir)/man7' ;; 32777da8b7e3Smrg *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;; 32787da8b7e3Smrg esac 32797da8b7e3Smrgfi 32807da8b7e3Smrg 32817da8b7e3Smrg# In Imake's linux.cf, the driver man suffix & dir was only changed for 32827da8b7e3Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 32837da8b7e3Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 32847da8b7e3Smrg case $host_os in 32857da8b7e3Smrg# linux*) DRIVER_MAN_SUFFIX=4x ;; 32867da8b7e3Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 32877da8b7e3Smrg *) DRIVER_MAN_SUFFIX=4 ;; 32887da8b7e3Smrg esac 32897da8b7e3Smrgfi 32907da8b7e3Smrgif test x$DRIVER_MAN_DIR = x ; then 32917da8b7e3Smrg case $host_os in 32927da8b7e3Smrg# linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;; 32937da8b7e3Smrg *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;; 32947da8b7e3Smrg esac 32957da8b7e3Smrgfi 32967da8b7e3Smrg 32977da8b7e3Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 32987da8b7e3Smrg case $host_os in 32997da8b7e3Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 33007da8b7e3Smrg *) ADMIN_MAN_SUFFIX=8 ;; 33017da8b7e3Smrg esac 33027da8b7e3Smrgfi 33037da8b7e3Smrgif test x$ADMIN_MAN_DIR = x ; then 33047da8b7e3Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 33057da8b7e3Smrgfi 33067da8b7e3Smrg 33077da8b7e3Smrg 33087da8b7e3Smrg 33097da8b7e3Smrg 33107da8b7e3Smrg 33117da8b7e3Smrg 33127da8b7e3Smrg 33137da8b7e3Smrg 33147da8b7e3Smrg 33157da8b7e3Smrg 33167da8b7e3Smrg 33177da8b7e3Smrg 33187da8b7e3Smrg 33197da8b7e3Smrg 33207da8b7e3Smrg 33217da8b7e3Smrg 33227da8b7e3Smrg 33237da8b7e3Smrg# Check whether --with-release-version or --without-release-version was given. 33247da8b7e3Smrgif test "${with_release_version+set}" = set; then 33257da8b7e3Smrg withval="$with_release_version" 33267da8b7e3Smrg RELEASE_VERSION="$withval" 33277da8b7e3Smrgelse 33287da8b7e3Smrg RELEASE_VERSION="" 33297da8b7e3Smrgfi; 33307da8b7e3Smrg if test "x$RELEASE_VERSION" != "x"; then 33317da8b7e3Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 33327da8b7e3Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 33337da8b7e3Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 33347da8b7e3Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 33357da8b7e3Smrg fi 33367da8b7e3Smrg 33377da8b7e3Smrg 33387da8b7e3Smrg ac_config_files="$ac_config_files Makefile" 33397da8b7e3Smrgcat >confcache <<\_ACEOF 33407da8b7e3Smrg# This file is a shell script that caches the results of configure 33417da8b7e3Smrg# tests run on this system so they can be shared between configure 33427da8b7e3Smrg# scripts and configure runs, see configure's option --config-cache. 33437da8b7e3Smrg# It is not useful on other systems. If it contains results you don't 33447da8b7e3Smrg# want to keep, you may remove or edit it. 33457da8b7e3Smrg# 33467da8b7e3Smrg# config.status only pays attention to the cache file if you give it 33477da8b7e3Smrg# the --recheck option to rerun configure. 33487da8b7e3Smrg# 33497da8b7e3Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 33507da8b7e3Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 33517da8b7e3Smrg# following values. 33527da8b7e3Smrg 33537da8b7e3Smrg_ACEOF 33547da8b7e3Smrg 33557da8b7e3Smrg# The following way of writing the cache mishandles newlines in values, 33567da8b7e3Smrg# but we know of no workaround that is simple, portable, and efficient. 33577da8b7e3Smrg# So, don't put newlines in cache variables' values. 33587da8b7e3Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 33597da8b7e3Smrg# and sets the high bit in the cache file unless we assign to the vars. 33607da8b7e3Smrg{ 33617da8b7e3Smrg (set) 2>&1 | 33627da8b7e3Smrg case `(ac_space=' '; set | grep ac_space) 2>&1` in 33637da8b7e3Smrg *ac_space=\ *) 33647da8b7e3Smrg # `set' does not quote correctly, so add quotes (double-quote 33657da8b7e3Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 33667da8b7e3Smrg sed -n \ 33677da8b7e3Smrg "s/'/'\\\\''/g; 33687da8b7e3Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 33697da8b7e3Smrg ;; 33707da8b7e3Smrg *) 33717da8b7e3Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 33727da8b7e3Smrg sed -n \ 33737da8b7e3Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 33747da8b7e3Smrg ;; 33757da8b7e3Smrg esac; 33767da8b7e3Smrg} | 33777da8b7e3Smrg sed ' 33787da8b7e3Smrg t clear 33797da8b7e3Smrg : clear 33807da8b7e3Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 33817da8b7e3Smrg t end 33827da8b7e3Smrg /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 33837da8b7e3Smrg : end' >>confcache 33847da8b7e3Smrgif diff $cache_file confcache >/dev/null 2>&1; then :; else 33857da8b7e3Smrg if test -w $cache_file; then 33867da8b7e3Smrg test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 33877da8b7e3Smrg cat confcache >$cache_file 33887da8b7e3Smrg else 33897da8b7e3Smrg echo "not updating unwritable cache $cache_file" 33907da8b7e3Smrg fi 33917da8b7e3Smrgfi 33927da8b7e3Smrgrm -f confcache 33937da8b7e3Smrg 33947da8b7e3Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 33957da8b7e3Smrg# Let make expand exec_prefix. 33967da8b7e3Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 33977da8b7e3Smrg 33987da8b7e3Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 33997da8b7e3Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 34007da8b7e3Smrg# trailing colons and then remove the whole line if VPATH becomes empty 34017da8b7e3Smrg# (actually we leave an empty line to preserve line numbers). 34027da8b7e3Smrgif test "x$srcdir" = x.; then 34037da8b7e3Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 34047da8b7e3Smrgs/:*\$(srcdir):*/:/; 34057da8b7e3Smrgs/:*\${srcdir}:*/:/; 34067da8b7e3Smrgs/:*@srcdir@:*/:/; 34077da8b7e3Smrgs/^\([^=]*=[ ]*\):*/\1/; 34087da8b7e3Smrgs/:*$//; 34097da8b7e3Smrgs/^[^=]*=[ ]*$//; 34107da8b7e3Smrg}' 34117da8b7e3Smrgfi 34127da8b7e3Smrg 34137da8b7e3SmrgDEFS=-DHAVE_CONFIG_H 34147da8b7e3Smrg 34157da8b7e3Smrgac_libobjs= 34167da8b7e3Smrgac_ltlibobjs= 34177da8b7e3Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 34187da8b7e3Smrg # 1. Remove the extension, and $U if already installed. 34197da8b7e3Smrg ac_i=`echo "$ac_i" | 34207da8b7e3Smrg sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 34217da8b7e3Smrg # 2. Add them. 34227da8b7e3Smrg ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 34237da8b7e3Smrg ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 34247da8b7e3Smrgdone 34257da8b7e3SmrgLIBOBJS=$ac_libobjs 34267da8b7e3Smrg 34277da8b7e3SmrgLTLIBOBJS=$ac_ltlibobjs 34287da8b7e3Smrg 34297da8b7e3Smrg 34307da8b7e3Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 34317da8b7e3Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 34327da8b7e3SmrgUsually this means the macro was only invoked conditionally." >&5 34337da8b7e3Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 34347da8b7e3SmrgUsually this means the macro was only invoked conditionally." >&2;} 34357da8b7e3Smrg { (exit 1); exit 1; }; } 34367da8b7e3Smrgfi 34377da8b7e3Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 34387da8b7e3Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 34397da8b7e3SmrgUsually this means the macro was only invoked conditionally." >&5 34407da8b7e3Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 34417da8b7e3SmrgUsually this means the macro was only invoked conditionally." >&2;} 34427da8b7e3Smrg { (exit 1); exit 1; }; } 34437da8b7e3Smrgfi 34447da8b7e3Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 34457da8b7e3Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 34467da8b7e3SmrgUsually this means the macro was only invoked conditionally." >&5 34477da8b7e3Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 34487da8b7e3SmrgUsually this means the macro was only invoked conditionally." >&2;} 34497da8b7e3Smrg { (exit 1); exit 1; }; } 34507da8b7e3Smrgfi 34517da8b7e3Smrg 34527da8b7e3Smrg: ${CONFIG_STATUS=./config.status} 34537da8b7e3Smrgac_clean_files_save=$ac_clean_files 34547da8b7e3Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 34557da8b7e3Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 34567da8b7e3Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 34577da8b7e3Smrgcat >$CONFIG_STATUS <<_ACEOF 34587da8b7e3Smrg#! $SHELL 34597da8b7e3Smrg# Generated by $as_me. 34607da8b7e3Smrg# Run this file to recreate the current configuration. 34617da8b7e3Smrg# Compiler output produced by configure, useful for debugging 34627da8b7e3Smrg# configure, is in config.log if it exists. 34637da8b7e3Smrg 34647da8b7e3Smrgdebug=false 34657da8b7e3Smrgac_cs_recheck=false 34667da8b7e3Smrgac_cs_silent=false 34677da8b7e3SmrgSHELL=\${CONFIG_SHELL-$SHELL} 34687da8b7e3Smrg_ACEOF 34697da8b7e3Smrg 34707da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 34717da8b7e3Smrg## --------------------- ## 34727da8b7e3Smrg## M4sh Initialization. ## 34737da8b7e3Smrg## --------------------- ## 34747da8b7e3Smrg 34757da8b7e3Smrg# Be Bourne compatible 34767da8b7e3Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 34777da8b7e3Smrg emulate sh 34787da8b7e3Smrg NULLCMD=: 34797da8b7e3Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 34807da8b7e3Smrg # is contrary to our usage. Disable this feature. 34817da8b7e3Smrg alias -g '${1+"$@"}'='"$@"' 34827da8b7e3Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 34837da8b7e3Smrg set -o posix 34847da8b7e3Smrgfi 34857da8b7e3SmrgDUALCASE=1; export DUALCASE # for MKS sh 34867da8b7e3Smrg 34877da8b7e3Smrg# Support unset when possible. 34887da8b7e3Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 34897da8b7e3Smrg as_unset=unset 34907da8b7e3Smrgelse 34917da8b7e3Smrg as_unset=false 34927da8b7e3Smrgfi 34937da8b7e3Smrg 34947da8b7e3Smrg 34957da8b7e3Smrg# Work around bugs in pre-3.0 UWIN ksh. 34967da8b7e3Smrg$as_unset ENV MAIL MAILPATH 34977da8b7e3SmrgPS1='$ ' 34987da8b7e3SmrgPS2='> ' 34997da8b7e3SmrgPS4='+ ' 35007da8b7e3Smrg 35017da8b7e3Smrg# NLS nuisances. 35027da8b7e3Smrgfor as_var in \ 35037da8b7e3Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 35047da8b7e3Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 35057da8b7e3Smrg LC_TELEPHONE LC_TIME 35067da8b7e3Smrgdo 35077da8b7e3Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 35087da8b7e3Smrg eval $as_var=C; export $as_var 35097da8b7e3Smrg else 35107da8b7e3Smrg $as_unset $as_var 35117da8b7e3Smrg fi 35127da8b7e3Smrgdone 35137da8b7e3Smrg 35147da8b7e3Smrg# Required to use basename. 35157da8b7e3Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 35167da8b7e3Smrg as_expr=expr 35177da8b7e3Smrgelse 35187da8b7e3Smrg as_expr=false 35197da8b7e3Smrgfi 35207da8b7e3Smrg 35217da8b7e3Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 35227da8b7e3Smrg as_basename=basename 35237da8b7e3Smrgelse 35247da8b7e3Smrg as_basename=false 35257da8b7e3Smrgfi 35267da8b7e3Smrg 35277da8b7e3Smrg 35287da8b7e3Smrg# Name of the executable. 35297da8b7e3Smrgas_me=`$as_basename "$0" || 35307da8b7e3Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 35317da8b7e3Smrg X"$0" : 'X\(//\)$' \| \ 35327da8b7e3Smrg X"$0" : 'X\(/\)$' \| \ 35337da8b7e3Smrg . : '\(.\)' 2>/dev/null || 35347da8b7e3Smrgecho X/"$0" | 35357da8b7e3Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 35367da8b7e3Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 35377da8b7e3Smrg /^X\/\(\/\).*/{ s//\1/; q; } 35387da8b7e3Smrg s/.*/./; q'` 35397da8b7e3Smrg 35407da8b7e3Smrg 35417da8b7e3Smrg# PATH needs CR, and LINENO needs CR and PATH. 35427da8b7e3Smrg# Avoid depending upon Character Ranges. 35437da8b7e3Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 35447da8b7e3Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 35457da8b7e3Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 35467da8b7e3Smrgas_cr_digits='0123456789' 35477da8b7e3Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 35487da8b7e3Smrg 35497da8b7e3Smrg# The user is always right. 35507da8b7e3Smrgif test "${PATH_SEPARATOR+set}" != set; then 35517da8b7e3Smrg echo "#! /bin/sh" >conf$$.sh 35527da8b7e3Smrg echo "exit 0" >>conf$$.sh 35537da8b7e3Smrg chmod +x conf$$.sh 35547da8b7e3Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 35557da8b7e3Smrg PATH_SEPARATOR=';' 35567da8b7e3Smrg else 35577da8b7e3Smrg PATH_SEPARATOR=: 35587da8b7e3Smrg fi 35597da8b7e3Smrg rm -f conf$$.sh 35607da8b7e3Smrgfi 35617da8b7e3Smrg 35627da8b7e3Smrg 35637da8b7e3Smrg as_lineno_1=$LINENO 35647da8b7e3Smrg as_lineno_2=$LINENO 35657da8b7e3Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 35667da8b7e3Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 35677da8b7e3Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 35687da8b7e3Smrg # Find who we are. Look in the path if we contain no path at all 35697da8b7e3Smrg # relative or not. 35707da8b7e3Smrg case $0 in 35717da8b7e3Smrg *[\\/]* ) as_myself=$0 ;; 35727da8b7e3Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 35737da8b7e3Smrgfor as_dir in $PATH 35747da8b7e3Smrgdo 35757da8b7e3Smrg IFS=$as_save_IFS 35767da8b7e3Smrg test -z "$as_dir" && as_dir=. 35777da8b7e3Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 35787da8b7e3Smrgdone 35797da8b7e3Smrg 35807da8b7e3Smrg ;; 35817da8b7e3Smrg esac 35827da8b7e3Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 35837da8b7e3Smrg # in which case we are not to be found in the path. 35847da8b7e3Smrg if test "x$as_myself" = x; then 35857da8b7e3Smrg as_myself=$0 35867da8b7e3Smrg fi 35877da8b7e3Smrg if test ! -f "$as_myself"; then 35887da8b7e3Smrg { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 35897da8b7e3Smrgecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 35907da8b7e3Smrg { (exit 1); exit 1; }; } 35917da8b7e3Smrg fi 35927da8b7e3Smrg case $CONFIG_SHELL in 35937da8b7e3Smrg '') 35947da8b7e3Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 35957da8b7e3Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 35967da8b7e3Smrgdo 35977da8b7e3Smrg IFS=$as_save_IFS 35987da8b7e3Smrg test -z "$as_dir" && as_dir=. 35997da8b7e3Smrg for as_base in sh bash ksh sh5; do 36007da8b7e3Smrg case $as_dir in 36017da8b7e3Smrg /*) 36027da8b7e3Smrg if ("$as_dir/$as_base" -c ' 36037da8b7e3Smrg as_lineno_1=$LINENO 36047da8b7e3Smrg as_lineno_2=$LINENO 36057da8b7e3Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 36067da8b7e3Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 36077da8b7e3Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 36087da8b7e3Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 36097da8b7e3Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 36107da8b7e3Smrg CONFIG_SHELL=$as_dir/$as_base 36117da8b7e3Smrg export CONFIG_SHELL 36127da8b7e3Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 36137da8b7e3Smrg fi;; 36147da8b7e3Smrg esac 36157da8b7e3Smrg done 36167da8b7e3Smrgdone 36177da8b7e3Smrg;; 36187da8b7e3Smrg esac 36197da8b7e3Smrg 36207da8b7e3Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 36217da8b7e3Smrg # uniformly replaced by the line number. The first 'sed' inserts a 36227da8b7e3Smrg # line-number line before each line; the second 'sed' does the real 36237da8b7e3Smrg # work. The second script uses 'N' to pair each line-number line 36247da8b7e3Smrg # with the numbered line, and appends trailing '-' during 36257da8b7e3Smrg # substitution so that $LINENO is not a special case at line end. 36267da8b7e3Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 36277da8b7e3Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 36287da8b7e3Smrg sed '=' <$as_myself | 36297da8b7e3Smrg sed ' 36307da8b7e3Smrg N 36317da8b7e3Smrg s,$,-, 36327da8b7e3Smrg : loop 36337da8b7e3Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 36347da8b7e3Smrg t loop 36357da8b7e3Smrg s,-$,, 36367da8b7e3Smrg s,^['$as_cr_digits']*\n,, 36377da8b7e3Smrg ' >$as_me.lineno && 36387da8b7e3Smrg chmod +x $as_me.lineno || 36397da8b7e3Smrg { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 36407da8b7e3Smrgecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 36417da8b7e3Smrg { (exit 1); exit 1; }; } 36427da8b7e3Smrg 36437da8b7e3Smrg # Don't try to exec as it changes $[0], causing all sort of problems 36447da8b7e3Smrg # (the dirname of $[0] is not the place where we might find the 36457da8b7e3Smrg # original and so on. Autoconf is especially sensible to this). 36467da8b7e3Smrg . ./$as_me.lineno 36477da8b7e3Smrg # Exit status is that of the last command. 36487da8b7e3Smrg exit 36497da8b7e3Smrg} 36507da8b7e3Smrg 36517da8b7e3Smrg 36527da8b7e3Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 36537da8b7e3Smrg *c*,-n*) ECHO_N= ECHO_C=' 36547da8b7e3Smrg' ECHO_T=' ' ;; 36557da8b7e3Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 36567da8b7e3Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 36577da8b7e3Smrgesac 36587da8b7e3Smrg 36597da8b7e3Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 36607da8b7e3Smrg as_expr=expr 36617da8b7e3Smrgelse 36627da8b7e3Smrg as_expr=false 36637da8b7e3Smrgfi 36647da8b7e3Smrg 36657da8b7e3Smrgrm -f conf$$ conf$$.exe conf$$.file 36667da8b7e3Smrgecho >conf$$.file 36677da8b7e3Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 36687da8b7e3Smrg # We could just check for DJGPP; but this test a) works b) is more generic 36697da8b7e3Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 36707da8b7e3Smrg if test -f conf$$.exe; then 36717da8b7e3Smrg # Don't use ln at all; we don't have any links 36727da8b7e3Smrg as_ln_s='cp -p' 36737da8b7e3Smrg else 36747da8b7e3Smrg as_ln_s='ln -s' 36757da8b7e3Smrg fi 36767da8b7e3Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 36777da8b7e3Smrg as_ln_s=ln 36787da8b7e3Smrgelse 36797da8b7e3Smrg as_ln_s='cp -p' 36807da8b7e3Smrgfi 36817da8b7e3Smrgrm -f conf$$ conf$$.exe conf$$.file 36827da8b7e3Smrg 36837da8b7e3Smrgif mkdir -p . 2>/dev/null; then 36847da8b7e3Smrg as_mkdir_p=: 36857da8b7e3Smrgelse 36867da8b7e3Smrg test -d ./-p && rmdir ./-p 36877da8b7e3Smrg as_mkdir_p=false 36887da8b7e3Smrgfi 36897da8b7e3Smrg 36907da8b7e3Smrgas_executable_p="test -f" 36917da8b7e3Smrg 36927da8b7e3Smrg# Sed expression to map a string onto a valid CPP name. 36937da8b7e3Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 36947da8b7e3Smrg 36957da8b7e3Smrg# Sed expression to map a string onto a valid variable name. 36967da8b7e3Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 36977da8b7e3Smrg 36987da8b7e3Smrg 36997da8b7e3Smrg# IFS 37007da8b7e3Smrg# We need space, tab and new line, in precisely that order. 37017da8b7e3Smrgas_nl=' 37027da8b7e3Smrg' 37037da8b7e3SmrgIFS=" $as_nl" 37047da8b7e3Smrg 37057da8b7e3Smrg# CDPATH. 37067da8b7e3Smrg$as_unset CDPATH 37077da8b7e3Smrg 37087da8b7e3Smrgexec 6>&1 37097da8b7e3Smrg 37107da8b7e3Smrg# Open the log real soon, to keep \$[0] and so on meaningful, and to 37117da8b7e3Smrg# report actual input values of CONFIG_FILES etc. instead of their 37127da8b7e3Smrg# values after options handling. Logging --version etc. is OK. 37137da8b7e3Smrgexec 5>>config.log 37147da8b7e3Smrg{ 37157da8b7e3Smrg echo 37167da8b7e3Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 37177da8b7e3Smrg## Running $as_me. ## 37187da8b7e3Smrg_ASBOX 37197da8b7e3Smrg} >&5 37207da8b7e3Smrgcat >&5 <<_CSEOF 37217da8b7e3Smrg 37227da8b7e3SmrgThis file was extended by xrefresh $as_me 1.0.2, which was 37237da8b7e3Smrggenerated by GNU Autoconf 2.59. Invocation command line was 37247da8b7e3Smrg 37257da8b7e3Smrg CONFIG_FILES = $CONFIG_FILES 37267da8b7e3Smrg CONFIG_HEADERS = $CONFIG_HEADERS 37277da8b7e3Smrg CONFIG_LINKS = $CONFIG_LINKS 37287da8b7e3Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 37297da8b7e3Smrg $ $0 $@ 37307da8b7e3Smrg 37317da8b7e3Smrg_CSEOF 37327da8b7e3Smrgecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 37337da8b7e3Smrgecho >&5 37347da8b7e3Smrg_ACEOF 37357da8b7e3Smrg 37367da8b7e3Smrg# Files that config.status was made for. 37377da8b7e3Smrgif test -n "$ac_config_files"; then 37387da8b7e3Smrg echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 37397da8b7e3Smrgfi 37407da8b7e3Smrg 37417da8b7e3Smrgif test -n "$ac_config_headers"; then 37427da8b7e3Smrg echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 37437da8b7e3Smrgfi 37447da8b7e3Smrg 37457da8b7e3Smrgif test -n "$ac_config_links"; then 37467da8b7e3Smrg echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 37477da8b7e3Smrgfi 37487da8b7e3Smrg 37497da8b7e3Smrgif test -n "$ac_config_commands"; then 37507da8b7e3Smrg echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 37517da8b7e3Smrgfi 37527da8b7e3Smrg 37537da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 37547da8b7e3Smrg 37557da8b7e3Smrgac_cs_usage="\ 37567da8b7e3Smrg\`$as_me' instantiates files from templates according to the 37577da8b7e3Smrgcurrent configuration. 37587da8b7e3Smrg 37597da8b7e3SmrgUsage: $0 [OPTIONS] [FILE]... 37607da8b7e3Smrg 37617da8b7e3Smrg -h, --help print this help, then exit 37627da8b7e3Smrg -V, --version print version number, then exit 37637da8b7e3Smrg -q, --quiet do not print progress messages 37647da8b7e3Smrg -d, --debug don't remove temporary files 37657da8b7e3Smrg --recheck update $as_me by reconfiguring in the same conditions 37667da8b7e3Smrg --file=FILE[:TEMPLATE] 37677da8b7e3Smrg instantiate the configuration file FILE 37687da8b7e3Smrg --header=FILE[:TEMPLATE] 37697da8b7e3Smrg instantiate the configuration header FILE 37707da8b7e3Smrg 37717da8b7e3SmrgConfiguration files: 37727da8b7e3Smrg$config_files 37737da8b7e3Smrg 37747da8b7e3SmrgConfiguration headers: 37757da8b7e3Smrg$config_headers 37767da8b7e3Smrg 37777da8b7e3SmrgConfiguration commands: 37787da8b7e3Smrg$config_commands 37797da8b7e3Smrg 37807da8b7e3SmrgReport bugs to <bug-autoconf@gnu.org>." 37817da8b7e3Smrg_ACEOF 37827da8b7e3Smrg 37837da8b7e3Smrgcat >>$CONFIG_STATUS <<_ACEOF 37847da8b7e3Smrgac_cs_version="\\ 37857da8b7e3Smrgxrefresh config.status 1.0.2 37867da8b7e3Smrgconfigured by $0, generated by GNU Autoconf 2.59, 37877da8b7e3Smrg with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 37887da8b7e3Smrg 37897da8b7e3SmrgCopyright (C) 2003 Free Software Foundation, Inc. 37907da8b7e3SmrgThis config.status script is free software; the Free Software Foundation 37917da8b7e3Smrggives unlimited permission to copy, distribute and modify it." 37927da8b7e3Smrgsrcdir=$srcdir 37937da8b7e3SmrgINSTALL="$INSTALL" 37947da8b7e3Smrg_ACEOF 37957da8b7e3Smrg 37967da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 37977da8b7e3Smrg# If no file are specified by the user, then we need to provide default 37987da8b7e3Smrg# value. By we need to know if files were specified by the user. 37997da8b7e3Smrgac_need_defaults=: 38007da8b7e3Smrgwhile test $# != 0 38017da8b7e3Smrgdo 38027da8b7e3Smrg case $1 in 38037da8b7e3Smrg --*=*) 38047da8b7e3Smrg ac_option=`expr "x$1" : 'x\([^=]*\)='` 38057da8b7e3Smrg ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 38067da8b7e3Smrg ac_shift=: 38077da8b7e3Smrg ;; 38087da8b7e3Smrg -*) 38097da8b7e3Smrg ac_option=$1 38107da8b7e3Smrg ac_optarg=$2 38117da8b7e3Smrg ac_shift=shift 38127da8b7e3Smrg ;; 38137da8b7e3Smrg *) # This is not an option, so the user has probably given explicit 38147da8b7e3Smrg # arguments. 38157da8b7e3Smrg ac_option=$1 38167da8b7e3Smrg ac_need_defaults=false;; 38177da8b7e3Smrg esac 38187da8b7e3Smrg 38197da8b7e3Smrg case $ac_option in 38207da8b7e3Smrg # Handling of the options. 38217da8b7e3Smrg_ACEOF 38227da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 38237da8b7e3Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 38247da8b7e3Smrg ac_cs_recheck=: ;; 38257da8b7e3Smrg --version | --vers* | -V ) 38267da8b7e3Smrg echo "$ac_cs_version"; exit 0 ;; 38277da8b7e3Smrg --he | --h) 38287da8b7e3Smrg # Conflict between --help and --header 38297da8b7e3Smrg { { echo "$as_me:$LINENO: error: ambiguous option: $1 38307da8b7e3SmrgTry \`$0 --help' for more information." >&5 38317da8b7e3Smrgecho "$as_me: error: ambiguous option: $1 38327da8b7e3SmrgTry \`$0 --help' for more information." >&2;} 38337da8b7e3Smrg { (exit 1); exit 1; }; };; 38347da8b7e3Smrg --help | --hel | -h ) 38357da8b7e3Smrg echo "$ac_cs_usage"; exit 0 ;; 38367da8b7e3Smrg --debug | --d* | -d ) 38377da8b7e3Smrg debug=: ;; 38387da8b7e3Smrg --file | --fil | --fi | --f ) 38397da8b7e3Smrg $ac_shift 38407da8b7e3Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 38417da8b7e3Smrg ac_need_defaults=false;; 38427da8b7e3Smrg --header | --heade | --head | --hea ) 38437da8b7e3Smrg $ac_shift 38447da8b7e3Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 38457da8b7e3Smrg ac_need_defaults=false;; 38467da8b7e3Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 38477da8b7e3Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 38487da8b7e3Smrg ac_cs_silent=: ;; 38497da8b7e3Smrg 38507da8b7e3Smrg # This is an error. 38517da8b7e3Smrg -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 38527da8b7e3SmrgTry \`$0 --help' for more information." >&5 38537da8b7e3Smrgecho "$as_me: error: unrecognized option: $1 38547da8b7e3SmrgTry \`$0 --help' for more information." >&2;} 38557da8b7e3Smrg { (exit 1); exit 1; }; } ;; 38567da8b7e3Smrg 38577da8b7e3Smrg *) ac_config_targets="$ac_config_targets $1" ;; 38587da8b7e3Smrg 38597da8b7e3Smrg esac 38607da8b7e3Smrg shift 38617da8b7e3Smrgdone 38627da8b7e3Smrg 38637da8b7e3Smrgac_configure_extra_args= 38647da8b7e3Smrg 38657da8b7e3Smrgif $ac_cs_silent; then 38667da8b7e3Smrg exec 6>/dev/null 38677da8b7e3Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 38687da8b7e3Smrgfi 38697da8b7e3Smrg 38707da8b7e3Smrg_ACEOF 38717da8b7e3Smrgcat >>$CONFIG_STATUS <<_ACEOF 38727da8b7e3Smrgif \$ac_cs_recheck; then 38737da8b7e3Smrg echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 38747da8b7e3Smrg exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 38757da8b7e3Smrgfi 38767da8b7e3Smrg 38777da8b7e3Smrg_ACEOF 38787da8b7e3Smrg 38797da8b7e3Smrgcat >>$CONFIG_STATUS <<_ACEOF 38807da8b7e3Smrg# 38817da8b7e3Smrg# INIT-COMMANDS section. 38827da8b7e3Smrg# 38837da8b7e3Smrg 38847da8b7e3SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 38857da8b7e3Smrg 38867da8b7e3Smrg_ACEOF 38877da8b7e3Smrg 38887da8b7e3Smrg 38897da8b7e3Smrg 38907da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 38917da8b7e3Smrgfor ac_config_target in $ac_config_targets 38927da8b7e3Smrgdo 38937da8b7e3Smrg case "$ac_config_target" in 38947da8b7e3Smrg # Handling of arguments. 38957da8b7e3Smrg "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 38967da8b7e3Smrg "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 38977da8b7e3Smrg "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 38987da8b7e3Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 38997da8b7e3Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 39007da8b7e3Smrg { (exit 1); exit 1; }; };; 39017da8b7e3Smrg esac 39027da8b7e3Smrgdone 39037da8b7e3Smrg 39047da8b7e3Smrg# If the user did not use the arguments to specify the items to instantiate, 39057da8b7e3Smrg# then the envvar interface is used. Set only those that are not. 39067da8b7e3Smrg# We use the long form for the default assignment because of an extremely 39077da8b7e3Smrg# bizarre bug on SunOS 4.1.3. 39087da8b7e3Smrgif $ac_need_defaults; then 39097da8b7e3Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 39107da8b7e3Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 39117da8b7e3Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 39127da8b7e3Smrgfi 39137da8b7e3Smrg 39147da8b7e3Smrg# Have a temporary directory for convenience. Make it in the build tree 39157da8b7e3Smrg# simply because there is no reason to put it here, and in addition, 39167da8b7e3Smrg# creating and moving files from /tmp can sometimes cause problems. 39177da8b7e3Smrg# Create a temporary directory, and hook for its removal unless debugging. 39187da8b7e3Smrg$debug || 39197da8b7e3Smrg{ 39207da8b7e3Smrg trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 39217da8b7e3Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 39227da8b7e3Smrg} 39237da8b7e3Smrg 39247da8b7e3Smrg# Create a (secure) tmp directory for tmp files. 39257da8b7e3Smrg 39267da8b7e3Smrg{ 39277da8b7e3Smrg tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 39287da8b7e3Smrg test -n "$tmp" && test -d "$tmp" 39297da8b7e3Smrg} || 39307da8b7e3Smrg{ 39317da8b7e3Smrg tmp=./confstat$$-$RANDOM 39327da8b7e3Smrg (umask 077 && mkdir $tmp) 39337da8b7e3Smrg} || 39347da8b7e3Smrg{ 39357da8b7e3Smrg echo "$me: cannot create a temporary directory in ." >&2 39367da8b7e3Smrg { (exit 1); exit 1; } 39377da8b7e3Smrg} 39387da8b7e3Smrg 39397da8b7e3Smrg_ACEOF 39407da8b7e3Smrg 39417da8b7e3Smrgcat >>$CONFIG_STATUS <<_ACEOF 39427da8b7e3Smrg 39437da8b7e3Smrg# 39447da8b7e3Smrg# CONFIG_FILES section. 39457da8b7e3Smrg# 39467da8b7e3Smrg 39477da8b7e3Smrg# No need to generate the scripts if there are no CONFIG_FILES. 39487da8b7e3Smrg# This happens for instance when ./config.status config.h 39497da8b7e3Smrgif test -n "\$CONFIG_FILES"; then 39507da8b7e3Smrg # Protect against being on the right side of a sed subst in config.status. 39517da8b7e3Smrg sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 39527da8b7e3Smrg s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 39537da8b7e3Smrgs,@SHELL@,$SHELL,;t t 39547da8b7e3Smrgs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 39557da8b7e3Smrgs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 39567da8b7e3Smrgs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 39577da8b7e3Smrgs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 39587da8b7e3Smrgs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 39597da8b7e3Smrgs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 39607da8b7e3Smrgs,@exec_prefix@,$exec_prefix,;t t 39617da8b7e3Smrgs,@prefix@,$prefix,;t t 39627da8b7e3Smrgs,@program_transform_name@,$program_transform_name,;t t 39637da8b7e3Smrgs,@bindir@,$bindir,;t t 39647da8b7e3Smrgs,@sbindir@,$sbindir,;t t 39657da8b7e3Smrgs,@libexecdir@,$libexecdir,;t t 39667da8b7e3Smrgs,@datadir@,$datadir,;t t 39677da8b7e3Smrgs,@sysconfdir@,$sysconfdir,;t t 39687da8b7e3Smrgs,@sharedstatedir@,$sharedstatedir,;t t 39697da8b7e3Smrgs,@localstatedir@,$localstatedir,;t t 39707da8b7e3Smrgs,@libdir@,$libdir,;t t 39717da8b7e3Smrgs,@includedir@,$includedir,;t t 39727da8b7e3Smrgs,@oldincludedir@,$oldincludedir,;t t 39737da8b7e3Smrgs,@infodir@,$infodir,;t t 39747da8b7e3Smrgs,@mandir@,$mandir,;t t 39757da8b7e3Smrgs,@build_alias@,$build_alias,;t t 39767da8b7e3Smrgs,@host_alias@,$host_alias,;t t 39777da8b7e3Smrgs,@target_alias@,$target_alias,;t t 39787da8b7e3Smrgs,@DEFS@,$DEFS,;t t 39797da8b7e3Smrgs,@ECHO_C@,$ECHO_C,;t t 39807da8b7e3Smrgs,@ECHO_N@,$ECHO_N,;t t 39817da8b7e3Smrgs,@ECHO_T@,$ECHO_T,;t t 39827da8b7e3Smrgs,@LIBS@,$LIBS,;t t 39837da8b7e3Smrgs,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 39847da8b7e3Smrgs,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 39857da8b7e3Smrgs,@INSTALL_DATA@,$INSTALL_DATA,;t t 39867da8b7e3Smrgs,@CYGPATH_W@,$CYGPATH_W,;t t 39877da8b7e3Smrgs,@PACKAGE@,$PACKAGE,;t t 39887da8b7e3Smrgs,@VERSION@,$VERSION,;t t 39897da8b7e3Smrgs,@ACLOCAL@,$ACLOCAL,;t t 39907da8b7e3Smrgs,@AUTOCONF@,$AUTOCONF,;t t 39917da8b7e3Smrgs,@AUTOMAKE@,$AUTOMAKE,;t t 39927da8b7e3Smrgs,@AUTOHEADER@,$AUTOHEADER,;t t 39937da8b7e3Smrgs,@MAKEINFO@,$MAKEINFO,;t t 39947da8b7e3Smrgs,@install_sh@,$install_sh,;t t 39957da8b7e3Smrgs,@STRIP@,$STRIP,;t t 39967da8b7e3Smrgs,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 39977da8b7e3Smrgs,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 39987da8b7e3Smrgs,@mkdir_p@,$mkdir_p,;t t 39997da8b7e3Smrgs,@AWK@,$AWK,;t t 40007da8b7e3Smrgs,@SET_MAKE@,$SET_MAKE,;t t 40017da8b7e3Smrgs,@am__leading_dot@,$am__leading_dot,;t t 40027da8b7e3Smrgs,@AMTAR@,$AMTAR,;t t 40037da8b7e3Smrgs,@am__tar@,$am__tar,;t t 40047da8b7e3Smrgs,@am__untar@,$am__untar,;t t 40057da8b7e3Smrgs,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 40067da8b7e3Smrgs,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 40077da8b7e3Smrgs,@MAINT@,$MAINT,;t t 40087da8b7e3Smrgs,@CC@,$CC,;t t 40097da8b7e3Smrgs,@CFLAGS@,$CFLAGS,;t t 40107da8b7e3Smrgs,@LDFLAGS@,$LDFLAGS,;t t 40117da8b7e3Smrgs,@CPPFLAGS@,$CPPFLAGS,;t t 40127da8b7e3Smrgs,@ac_ct_CC@,$ac_ct_CC,;t t 40137da8b7e3Smrgs,@EXEEXT@,$EXEEXT,;t t 40147da8b7e3Smrgs,@OBJEXT@,$OBJEXT,;t t 40157da8b7e3Smrgs,@DEPDIR@,$DEPDIR,;t t 40167da8b7e3Smrgs,@am__include@,$am__include,;t t 40177da8b7e3Smrgs,@am__quote@,$am__quote,;t t 40187da8b7e3Smrgs,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 40197da8b7e3Smrgs,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 40207da8b7e3Smrgs,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 40217da8b7e3Smrgs,@CCDEPMODE@,$CCDEPMODE,;t t 40227da8b7e3Smrgs,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 40237da8b7e3Smrgs,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 40247da8b7e3Smrgs,@PKG_CONFIG@,$PKG_CONFIG,;t t 40257da8b7e3Smrgs,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 40267da8b7e3Smrgs,@XREFRESH_CFLAGS@,$XREFRESH_CFLAGS,;t t 40277da8b7e3Smrgs,@XREFRESH_LIBS@,$XREFRESH_LIBS,;t t 40287da8b7e3Smrgs,@build@,$build,;t t 40297da8b7e3Smrgs,@build_cpu@,$build_cpu,;t t 40307da8b7e3Smrgs,@build_vendor@,$build_vendor,;t t 40317da8b7e3Smrgs,@build_os@,$build_os,;t t 40327da8b7e3Smrgs,@host@,$host,;t t 40337da8b7e3Smrgs,@host_cpu@,$host_cpu,;t t 40347da8b7e3Smrgs,@host_vendor@,$host_vendor,;t t 40357da8b7e3Smrgs,@host_os@,$host_os,;t t 40367da8b7e3Smrgs,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t 40377da8b7e3Smrgs,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t 40387da8b7e3Smrgs,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t 40397da8b7e3Smrgs,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t 40407da8b7e3Smrgs,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t 40417da8b7e3Smrgs,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t 40427da8b7e3Smrgs,@APP_MAN_DIR@,$APP_MAN_DIR,;t t 40437da8b7e3Smrgs,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t 40447da8b7e3Smrgs,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t 40457da8b7e3Smrgs,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t 40467da8b7e3Smrgs,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t 40477da8b7e3Smrgs,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t 40487da8b7e3Smrgs,@LIBOBJS@,$LIBOBJS,;t t 40497da8b7e3Smrgs,@LTLIBOBJS@,$LTLIBOBJS,;t t 40507da8b7e3SmrgCEOF 40517da8b7e3Smrg 40527da8b7e3Smrg_ACEOF 40537da8b7e3Smrg 40547da8b7e3Smrg cat >>$CONFIG_STATUS <<\_ACEOF 40557da8b7e3Smrg # Split the substitutions into bite-sized pieces for seds with 40567da8b7e3Smrg # small command number limits, like on Digital OSF/1 and HP-UX. 40577da8b7e3Smrg ac_max_sed_lines=48 40587da8b7e3Smrg ac_sed_frag=1 # Number of current file. 40597da8b7e3Smrg ac_beg=1 # First line for current file. 40607da8b7e3Smrg ac_end=$ac_max_sed_lines # Line after last line for current file. 40617da8b7e3Smrg ac_more_lines=: 40627da8b7e3Smrg ac_sed_cmds= 40637da8b7e3Smrg while $ac_more_lines; do 40647da8b7e3Smrg if test $ac_beg -gt 1; then 40657da8b7e3Smrg sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 40667da8b7e3Smrg else 40677da8b7e3Smrg sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 40687da8b7e3Smrg fi 40697da8b7e3Smrg if test ! -s $tmp/subs.frag; then 40707da8b7e3Smrg ac_more_lines=false 40717da8b7e3Smrg else 40727da8b7e3Smrg # The purpose of the label and of the branching condition is to 40737da8b7e3Smrg # speed up the sed processing (if there are no `@' at all, there 40747da8b7e3Smrg # is no need to browse any of the substitutions). 40757da8b7e3Smrg # These are the two extra sed commands mentioned above. 40767da8b7e3Smrg (echo ':t 40777da8b7e3Smrg /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 40787da8b7e3Smrg if test -z "$ac_sed_cmds"; then 40797da8b7e3Smrg ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 40807da8b7e3Smrg else 40817da8b7e3Smrg ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 40827da8b7e3Smrg fi 40837da8b7e3Smrg ac_sed_frag=`expr $ac_sed_frag + 1` 40847da8b7e3Smrg ac_beg=$ac_end 40857da8b7e3Smrg ac_end=`expr $ac_end + $ac_max_sed_lines` 40867da8b7e3Smrg fi 40877da8b7e3Smrg done 40887da8b7e3Smrg if test -z "$ac_sed_cmds"; then 40897da8b7e3Smrg ac_sed_cmds=cat 40907da8b7e3Smrg fi 40917da8b7e3Smrgfi # test -n "$CONFIG_FILES" 40927da8b7e3Smrg 40937da8b7e3Smrg_ACEOF 40947da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 40957da8b7e3Smrgfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 40967da8b7e3Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 40977da8b7e3Smrg case $ac_file in 40987da8b7e3Smrg - | *:- | *:-:* ) # input from stdin 40997da8b7e3Smrg cat >$tmp/stdin 41007da8b7e3Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 41017da8b7e3Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 41027da8b7e3Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 41037da8b7e3Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 41047da8b7e3Smrg * ) ac_file_in=$ac_file.in ;; 41057da8b7e3Smrg esac 41067da8b7e3Smrg 41077da8b7e3Smrg # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 41087da8b7e3Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 41097da8b7e3Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 41107da8b7e3Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 41117da8b7e3Smrg X"$ac_file" : 'X\(//\)$' \| \ 41127da8b7e3Smrg X"$ac_file" : 'X\(/\)' \| \ 41137da8b7e3Smrg . : '\(.\)' 2>/dev/null || 41147da8b7e3Smrgecho X"$ac_file" | 41157da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 41167da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 41177da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 41187da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 41197da8b7e3Smrg s/.*/./; q'` 41207da8b7e3Smrg { if $as_mkdir_p; then 41217da8b7e3Smrg mkdir -p "$ac_dir" 41227da8b7e3Smrg else 41237da8b7e3Smrg as_dir="$ac_dir" 41247da8b7e3Smrg as_dirs= 41257da8b7e3Smrg while test ! -d "$as_dir"; do 41267da8b7e3Smrg as_dirs="$as_dir $as_dirs" 41277da8b7e3Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 41287da8b7e3Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 41297da8b7e3Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 41307da8b7e3Smrg X"$as_dir" : 'X\(//\)$' \| \ 41317da8b7e3Smrg X"$as_dir" : 'X\(/\)' \| \ 41327da8b7e3Smrg . : '\(.\)' 2>/dev/null || 41337da8b7e3Smrgecho X"$as_dir" | 41347da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 41357da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 41367da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 41377da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 41387da8b7e3Smrg s/.*/./; q'` 41397da8b7e3Smrg done 41407da8b7e3Smrg test ! -n "$as_dirs" || mkdir $as_dirs 41417da8b7e3Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 41427da8b7e3Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 41437da8b7e3Smrg { (exit 1); exit 1; }; }; } 41447da8b7e3Smrg 41457da8b7e3Smrg ac_builddir=. 41467da8b7e3Smrg 41477da8b7e3Smrgif test "$ac_dir" != .; then 41487da8b7e3Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 41497da8b7e3Smrg # A "../" for each directory in $ac_dir_suffix. 41507da8b7e3Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 41517da8b7e3Smrgelse 41527da8b7e3Smrg ac_dir_suffix= ac_top_builddir= 41537da8b7e3Smrgfi 41547da8b7e3Smrg 41557da8b7e3Smrgcase $srcdir in 41567da8b7e3Smrg .) # No --srcdir option. We are building in place. 41577da8b7e3Smrg ac_srcdir=. 41587da8b7e3Smrg if test -z "$ac_top_builddir"; then 41597da8b7e3Smrg ac_top_srcdir=. 41607da8b7e3Smrg else 41617da8b7e3Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 41627da8b7e3Smrg fi ;; 41637da8b7e3Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 41647da8b7e3Smrg ac_srcdir=$srcdir$ac_dir_suffix; 41657da8b7e3Smrg ac_top_srcdir=$srcdir ;; 41667da8b7e3Smrg *) # Relative path. 41677da8b7e3Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 41687da8b7e3Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 41697da8b7e3Smrgesac 41707da8b7e3Smrg 41717da8b7e3Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 41727da8b7e3Smrg# the directories may not exist. 41737da8b7e3Smrgcase `pwd` in 41747da8b7e3Smrg.) ac_abs_builddir="$ac_dir";; 41757da8b7e3Smrg*) 41767da8b7e3Smrg case "$ac_dir" in 41777da8b7e3Smrg .) ac_abs_builddir=`pwd`;; 41787da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 41797da8b7e3Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 41807da8b7e3Smrg esac;; 41817da8b7e3Smrgesac 41827da8b7e3Smrgcase $ac_abs_builddir in 41837da8b7e3Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 41847da8b7e3Smrg*) 41857da8b7e3Smrg case ${ac_top_builddir}. in 41867da8b7e3Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 41877da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 41887da8b7e3Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 41897da8b7e3Smrg esac;; 41907da8b7e3Smrgesac 41917da8b7e3Smrgcase $ac_abs_builddir in 41927da8b7e3Smrg.) ac_abs_srcdir=$ac_srcdir;; 41937da8b7e3Smrg*) 41947da8b7e3Smrg case $ac_srcdir in 41957da8b7e3Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 41967da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 41977da8b7e3Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 41987da8b7e3Smrg esac;; 41997da8b7e3Smrgesac 42007da8b7e3Smrgcase $ac_abs_builddir in 42017da8b7e3Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 42027da8b7e3Smrg*) 42037da8b7e3Smrg case $ac_top_srcdir in 42047da8b7e3Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 42057da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 42067da8b7e3Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 42077da8b7e3Smrg esac;; 42087da8b7e3Smrgesac 42097da8b7e3Smrg 42107da8b7e3Smrg 42117da8b7e3Smrg case $INSTALL in 42127da8b7e3Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 42137da8b7e3Smrg *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 42147da8b7e3Smrg esac 42157da8b7e3Smrg 42167da8b7e3Smrg if test x"$ac_file" != x-; then 42177da8b7e3Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 42187da8b7e3Smrgecho "$as_me: creating $ac_file" >&6;} 42197da8b7e3Smrg rm -f "$ac_file" 42207da8b7e3Smrg fi 42217da8b7e3Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 42227da8b7e3Smrg # use $as_me), people would be surprised to read: 42237da8b7e3Smrg # /* config.h. Generated by config.status. */ 42247da8b7e3Smrg if test x"$ac_file" = x-; then 42257da8b7e3Smrg configure_input= 42267da8b7e3Smrg else 42277da8b7e3Smrg configure_input="$ac_file. " 42287da8b7e3Smrg fi 42297da8b7e3Smrg configure_input=$configure_input"Generated from `echo $ac_file_in | 42307da8b7e3Smrg sed 's,.*/,,'` by configure." 42317da8b7e3Smrg 42327da8b7e3Smrg # First look for the input files in the build tree, otherwise in the 42337da8b7e3Smrg # src tree. 42347da8b7e3Smrg ac_file_inputs=`IFS=: 42357da8b7e3Smrg for f in $ac_file_in; do 42367da8b7e3Smrg case $f in 42377da8b7e3Smrg -) echo $tmp/stdin ;; 42387da8b7e3Smrg [\\/$]*) 42397da8b7e3Smrg # Absolute (can't be DOS-style, as IFS=:) 42407da8b7e3Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 42417da8b7e3Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 42427da8b7e3Smrg { (exit 1); exit 1; }; } 42437da8b7e3Smrg echo "$f";; 42447da8b7e3Smrg *) # Relative 42457da8b7e3Smrg if test -f "$f"; then 42467da8b7e3Smrg # Build tree 42477da8b7e3Smrg echo "$f" 42487da8b7e3Smrg elif test -f "$srcdir/$f"; then 42497da8b7e3Smrg # Source tree 42507da8b7e3Smrg echo "$srcdir/$f" 42517da8b7e3Smrg else 42527da8b7e3Smrg # /dev/null tree 42537da8b7e3Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 42547da8b7e3Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 42557da8b7e3Smrg { (exit 1); exit 1; }; } 42567da8b7e3Smrg fi;; 42577da8b7e3Smrg esac 42587da8b7e3Smrg done` || { (exit 1); exit 1; } 42597da8b7e3Smrg_ACEOF 42607da8b7e3Smrgcat >>$CONFIG_STATUS <<_ACEOF 42617da8b7e3Smrg sed "$ac_vpsub 42627da8b7e3Smrg$extrasub 42637da8b7e3Smrg_ACEOF 42647da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 42657da8b7e3Smrg:t 42667da8b7e3Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 42677da8b7e3Smrgs,@configure_input@,$configure_input,;t t 42687da8b7e3Smrgs,@srcdir@,$ac_srcdir,;t t 42697da8b7e3Smrgs,@abs_srcdir@,$ac_abs_srcdir,;t t 42707da8b7e3Smrgs,@top_srcdir@,$ac_top_srcdir,;t t 42717da8b7e3Smrgs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 42727da8b7e3Smrgs,@builddir@,$ac_builddir,;t t 42737da8b7e3Smrgs,@abs_builddir@,$ac_abs_builddir,;t t 42747da8b7e3Smrgs,@top_builddir@,$ac_top_builddir,;t t 42757da8b7e3Smrgs,@abs_top_builddir@,$ac_abs_top_builddir,;t t 42767da8b7e3Smrgs,@INSTALL@,$ac_INSTALL,;t t 42777da8b7e3Smrg" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 42787da8b7e3Smrg rm -f $tmp/stdin 42797da8b7e3Smrg if test x"$ac_file" != x-; then 42807da8b7e3Smrg mv $tmp/out $ac_file 42817da8b7e3Smrg else 42827da8b7e3Smrg cat $tmp/out 42837da8b7e3Smrg rm -f $tmp/out 42847da8b7e3Smrg fi 42857da8b7e3Smrg 42867da8b7e3Smrgdone 42877da8b7e3Smrg_ACEOF 42887da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 42897da8b7e3Smrg 42907da8b7e3Smrg# 42917da8b7e3Smrg# CONFIG_HEADER section. 42927da8b7e3Smrg# 42937da8b7e3Smrg 42947da8b7e3Smrg# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 42957da8b7e3Smrg# NAME is the cpp macro being defined and VALUE is the value it is being given. 42967da8b7e3Smrg# 42977da8b7e3Smrg# ac_d sets the value in "#define NAME VALUE" lines. 42987da8b7e3Smrgac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 42997da8b7e3Smrgac_dB='[ ].*$,\1#\2' 43007da8b7e3Smrgac_dC=' ' 43017da8b7e3Smrgac_dD=',;t' 43027da8b7e3Smrg# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 43037da8b7e3Smrgac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 43047da8b7e3Smrgac_uB='$,\1#\2define\3' 43057da8b7e3Smrgac_uC=' ' 43067da8b7e3Smrgac_uD=',;t' 43077da8b7e3Smrg 43087da8b7e3Smrgfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 43097da8b7e3Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 43107da8b7e3Smrg case $ac_file in 43117da8b7e3Smrg - | *:- | *:-:* ) # input from stdin 43127da8b7e3Smrg cat >$tmp/stdin 43137da8b7e3Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 43147da8b7e3Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 43157da8b7e3Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 43167da8b7e3Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 43177da8b7e3Smrg * ) ac_file_in=$ac_file.in ;; 43187da8b7e3Smrg esac 43197da8b7e3Smrg 43207da8b7e3Smrg test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 43217da8b7e3Smrgecho "$as_me: creating $ac_file" >&6;} 43227da8b7e3Smrg 43237da8b7e3Smrg # First look for the input files in the build tree, otherwise in the 43247da8b7e3Smrg # src tree. 43257da8b7e3Smrg ac_file_inputs=`IFS=: 43267da8b7e3Smrg for f in $ac_file_in; do 43277da8b7e3Smrg case $f in 43287da8b7e3Smrg -) echo $tmp/stdin ;; 43297da8b7e3Smrg [\\/$]*) 43307da8b7e3Smrg # Absolute (can't be DOS-style, as IFS=:) 43317da8b7e3Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 43327da8b7e3Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 43337da8b7e3Smrg { (exit 1); exit 1; }; } 43347da8b7e3Smrg # Do quote $f, to prevent DOS paths from being IFS'd. 43357da8b7e3Smrg echo "$f";; 43367da8b7e3Smrg *) # Relative 43377da8b7e3Smrg if test -f "$f"; then 43387da8b7e3Smrg # Build tree 43397da8b7e3Smrg echo "$f" 43407da8b7e3Smrg elif test -f "$srcdir/$f"; then 43417da8b7e3Smrg # Source tree 43427da8b7e3Smrg echo "$srcdir/$f" 43437da8b7e3Smrg else 43447da8b7e3Smrg # /dev/null tree 43457da8b7e3Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 43467da8b7e3Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 43477da8b7e3Smrg { (exit 1); exit 1; }; } 43487da8b7e3Smrg fi;; 43497da8b7e3Smrg esac 43507da8b7e3Smrg done` || { (exit 1); exit 1; } 43517da8b7e3Smrg # Remove the trailing spaces. 43527da8b7e3Smrg sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 43537da8b7e3Smrg 43547da8b7e3Smrg_ACEOF 43557da8b7e3Smrg 43567da8b7e3Smrg# Transform confdefs.h into two sed scripts, `conftest.defines' and 43577da8b7e3Smrg# `conftest.undefs', that substitutes the proper values into 43587da8b7e3Smrg# config.h.in to produce config.h. The first handles `#define' 43597da8b7e3Smrg# templates, and the second `#undef' templates. 43607da8b7e3Smrg# And first: Protect against being on the right side of a sed subst in 43617da8b7e3Smrg# config.status. Protect against being in an unquoted here document 43627da8b7e3Smrg# in config.status. 43637da8b7e3Smrgrm -f conftest.defines conftest.undefs 43647da8b7e3Smrg# Using a here document instead of a string reduces the quoting nightmare. 43657da8b7e3Smrg# Putting comments in sed scripts is not portable. 43667da8b7e3Smrg# 43677da8b7e3Smrg# `end' is used to avoid that the second main sed command (meant for 43687da8b7e3Smrg# 0-ary CPP macros) applies to n-ary macro definitions. 43697da8b7e3Smrg# See the Autoconf documentation for `clear'. 43707da8b7e3Smrgcat >confdef2sed.sed <<\_ACEOF 43717da8b7e3Smrgs/[\\&,]/\\&/g 43727da8b7e3Smrgs,[\\$`],\\&,g 43737da8b7e3Smrgt clear 43747da8b7e3Smrg: clear 43757da8b7e3Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 43767da8b7e3Smrgt end 43777da8b7e3Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 43787da8b7e3Smrg: end 43797da8b7e3Smrg_ACEOF 43807da8b7e3Smrg# If some macros were called several times there might be several times 43817da8b7e3Smrg# the same #defines, which is useless. Nevertheless, we may not want to 43827da8b7e3Smrg# sort them, since we want the *last* AC-DEFINE to be honored. 43837da8b7e3Smrguniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 43847da8b7e3Smrgsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 43857da8b7e3Smrgrm -f confdef2sed.sed 43867da8b7e3Smrg 43877da8b7e3Smrg# This sed command replaces #undef with comments. This is necessary, for 43887da8b7e3Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 43897da8b7e3Smrg# on some systems where configure will not decide to define it. 43907da8b7e3Smrgcat >>conftest.undefs <<\_ACEOF 43917da8b7e3Smrgs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 43927da8b7e3Smrg_ACEOF 43937da8b7e3Smrg 43947da8b7e3Smrg# Break up conftest.defines because some shells have a limit on the size 43957da8b7e3Smrg# of here documents, and old seds have small limits too (100 cmds). 43967da8b7e3Smrgecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 43977da8b7e3Smrgecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 43987da8b7e3Smrgecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 43997da8b7e3Smrgecho ' :' >>$CONFIG_STATUS 44007da8b7e3Smrgrm -f conftest.tail 44017da8b7e3Smrgwhile grep . conftest.defines >/dev/null 44027da8b7e3Smrgdo 44037da8b7e3Smrg # Write a limited-size here document to $tmp/defines.sed. 44047da8b7e3Smrg echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 44057da8b7e3Smrg # Speed up: don't consider the non `#define' lines. 44067da8b7e3Smrg echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 44077da8b7e3Smrg # Work around the forget-to-reset-the-flag bug. 44087da8b7e3Smrg echo 't clr' >>$CONFIG_STATUS 44097da8b7e3Smrg echo ': clr' >>$CONFIG_STATUS 44107da8b7e3Smrg sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 44117da8b7e3Smrg echo 'CEOF 44127da8b7e3Smrg sed -f $tmp/defines.sed $tmp/in >$tmp/out 44137da8b7e3Smrg rm -f $tmp/in 44147da8b7e3Smrg mv $tmp/out $tmp/in 44157da8b7e3Smrg' >>$CONFIG_STATUS 44167da8b7e3Smrg sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 44177da8b7e3Smrg rm -f conftest.defines 44187da8b7e3Smrg mv conftest.tail conftest.defines 44197da8b7e3Smrgdone 44207da8b7e3Smrgrm -f conftest.defines 44217da8b7e3Smrgecho ' fi # grep' >>$CONFIG_STATUS 44227da8b7e3Smrgecho >>$CONFIG_STATUS 44237da8b7e3Smrg 44247da8b7e3Smrg# Break up conftest.undefs because some shells have a limit on the size 44257da8b7e3Smrg# of here documents, and old seds have small limits too (100 cmds). 44267da8b7e3Smrgecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 44277da8b7e3Smrgrm -f conftest.tail 44287da8b7e3Smrgwhile grep . conftest.undefs >/dev/null 44297da8b7e3Smrgdo 44307da8b7e3Smrg # Write a limited-size here document to $tmp/undefs.sed. 44317da8b7e3Smrg echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 44327da8b7e3Smrg # Speed up: don't consider the non `#undef' 44337da8b7e3Smrg echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 44347da8b7e3Smrg # Work around the forget-to-reset-the-flag bug. 44357da8b7e3Smrg echo 't clr' >>$CONFIG_STATUS 44367da8b7e3Smrg echo ': clr' >>$CONFIG_STATUS 44377da8b7e3Smrg sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 44387da8b7e3Smrg echo 'CEOF 44397da8b7e3Smrg sed -f $tmp/undefs.sed $tmp/in >$tmp/out 44407da8b7e3Smrg rm -f $tmp/in 44417da8b7e3Smrg mv $tmp/out $tmp/in 44427da8b7e3Smrg' >>$CONFIG_STATUS 44437da8b7e3Smrg sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 44447da8b7e3Smrg rm -f conftest.undefs 44457da8b7e3Smrg mv conftest.tail conftest.undefs 44467da8b7e3Smrgdone 44477da8b7e3Smrgrm -f conftest.undefs 44487da8b7e3Smrg 44497da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 44507da8b7e3Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 44517da8b7e3Smrg # use $as_me), people would be surprised to read: 44527da8b7e3Smrg # /* config.h. Generated by config.status. */ 44537da8b7e3Smrg if test x"$ac_file" = x-; then 44547da8b7e3Smrg echo "/* Generated by configure. */" >$tmp/config.h 44557da8b7e3Smrg else 44567da8b7e3Smrg echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 44577da8b7e3Smrg fi 44587da8b7e3Smrg cat $tmp/in >>$tmp/config.h 44597da8b7e3Smrg rm -f $tmp/in 44607da8b7e3Smrg if test x"$ac_file" != x-; then 44617da8b7e3Smrg if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 44627da8b7e3Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 44637da8b7e3Smrgecho "$as_me: $ac_file is unchanged" >&6;} 44647da8b7e3Smrg else 44657da8b7e3Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 44667da8b7e3Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 44677da8b7e3Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 44687da8b7e3Smrg X"$ac_file" : 'X\(//\)$' \| \ 44697da8b7e3Smrg X"$ac_file" : 'X\(/\)' \| \ 44707da8b7e3Smrg . : '\(.\)' 2>/dev/null || 44717da8b7e3Smrgecho X"$ac_file" | 44727da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 44737da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 44747da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 44757da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 44767da8b7e3Smrg s/.*/./; q'` 44777da8b7e3Smrg { if $as_mkdir_p; then 44787da8b7e3Smrg mkdir -p "$ac_dir" 44797da8b7e3Smrg else 44807da8b7e3Smrg as_dir="$ac_dir" 44817da8b7e3Smrg as_dirs= 44827da8b7e3Smrg while test ! -d "$as_dir"; do 44837da8b7e3Smrg as_dirs="$as_dir $as_dirs" 44847da8b7e3Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 44857da8b7e3Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 44867da8b7e3Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 44877da8b7e3Smrg X"$as_dir" : 'X\(//\)$' \| \ 44887da8b7e3Smrg X"$as_dir" : 'X\(/\)' \| \ 44897da8b7e3Smrg . : '\(.\)' 2>/dev/null || 44907da8b7e3Smrgecho X"$as_dir" | 44917da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 44927da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 44937da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 44947da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 44957da8b7e3Smrg s/.*/./; q'` 44967da8b7e3Smrg done 44977da8b7e3Smrg test ! -n "$as_dirs" || mkdir $as_dirs 44987da8b7e3Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 44997da8b7e3Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 45007da8b7e3Smrg { (exit 1); exit 1; }; }; } 45017da8b7e3Smrg 45027da8b7e3Smrg rm -f $ac_file 45037da8b7e3Smrg mv $tmp/config.h $ac_file 45047da8b7e3Smrg fi 45057da8b7e3Smrg else 45067da8b7e3Smrg cat $tmp/config.h 45077da8b7e3Smrg rm -f $tmp/config.h 45087da8b7e3Smrg fi 45097da8b7e3Smrg# Compute $ac_file's index in $config_headers. 45107da8b7e3Smrg_am_stamp_count=1 45117da8b7e3Smrgfor _am_header in $config_headers :; do 45127da8b7e3Smrg case $_am_header in 45137da8b7e3Smrg $ac_file | $ac_file:* ) 45147da8b7e3Smrg break ;; 45157da8b7e3Smrg * ) 45167da8b7e3Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 45177da8b7e3Smrg esac 45187da8b7e3Smrgdone 45197da8b7e3Smrgecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 45207da8b7e3Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 45217da8b7e3Smrg X$ac_file : 'X\(//\)[^/]' \| \ 45227da8b7e3Smrg X$ac_file : 'X\(//\)$' \| \ 45237da8b7e3Smrg X$ac_file : 'X\(/\)' \| \ 45247da8b7e3Smrg . : '\(.\)' 2>/dev/null || 45257da8b7e3Smrgecho X$ac_file | 45267da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 45277da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 45287da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 45297da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 45307da8b7e3Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 45317da8b7e3Smrgdone 45327da8b7e3Smrg_ACEOF 45337da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 45347da8b7e3Smrg 45357da8b7e3Smrg# 45367da8b7e3Smrg# CONFIG_COMMANDS section. 45377da8b7e3Smrg# 45387da8b7e3Smrgfor ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 45397da8b7e3Smrg ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 45407da8b7e3Smrg ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 45417da8b7e3Smrg ac_dir=`(dirname "$ac_dest") 2>/dev/null || 45427da8b7e3Smrg$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 45437da8b7e3Smrg X"$ac_dest" : 'X\(//\)[^/]' \| \ 45447da8b7e3Smrg X"$ac_dest" : 'X\(//\)$' \| \ 45457da8b7e3Smrg X"$ac_dest" : 'X\(/\)' \| \ 45467da8b7e3Smrg . : '\(.\)' 2>/dev/null || 45477da8b7e3Smrgecho X"$ac_dest" | 45487da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 45497da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 45507da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 45517da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 45527da8b7e3Smrg s/.*/./; q'` 45537da8b7e3Smrg { if $as_mkdir_p; then 45547da8b7e3Smrg mkdir -p "$ac_dir" 45557da8b7e3Smrg else 45567da8b7e3Smrg as_dir="$ac_dir" 45577da8b7e3Smrg as_dirs= 45587da8b7e3Smrg while test ! -d "$as_dir"; do 45597da8b7e3Smrg as_dirs="$as_dir $as_dirs" 45607da8b7e3Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 45617da8b7e3Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 45627da8b7e3Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 45637da8b7e3Smrg X"$as_dir" : 'X\(//\)$' \| \ 45647da8b7e3Smrg X"$as_dir" : 'X\(/\)' \| \ 45657da8b7e3Smrg . : '\(.\)' 2>/dev/null || 45667da8b7e3Smrgecho X"$as_dir" | 45677da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 45687da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 45697da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 45707da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 45717da8b7e3Smrg s/.*/./; q'` 45727da8b7e3Smrg done 45737da8b7e3Smrg test ! -n "$as_dirs" || mkdir $as_dirs 45747da8b7e3Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 45757da8b7e3Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 45767da8b7e3Smrg { (exit 1); exit 1; }; }; } 45777da8b7e3Smrg 45787da8b7e3Smrg ac_builddir=. 45797da8b7e3Smrg 45807da8b7e3Smrgif test "$ac_dir" != .; then 45817da8b7e3Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 45827da8b7e3Smrg # A "../" for each directory in $ac_dir_suffix. 45837da8b7e3Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 45847da8b7e3Smrgelse 45857da8b7e3Smrg ac_dir_suffix= ac_top_builddir= 45867da8b7e3Smrgfi 45877da8b7e3Smrg 45887da8b7e3Smrgcase $srcdir in 45897da8b7e3Smrg .) # No --srcdir option. We are building in place. 45907da8b7e3Smrg ac_srcdir=. 45917da8b7e3Smrg if test -z "$ac_top_builddir"; then 45927da8b7e3Smrg ac_top_srcdir=. 45937da8b7e3Smrg else 45947da8b7e3Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 45957da8b7e3Smrg fi ;; 45967da8b7e3Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 45977da8b7e3Smrg ac_srcdir=$srcdir$ac_dir_suffix; 45987da8b7e3Smrg ac_top_srcdir=$srcdir ;; 45997da8b7e3Smrg *) # Relative path. 46007da8b7e3Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 46017da8b7e3Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 46027da8b7e3Smrgesac 46037da8b7e3Smrg 46047da8b7e3Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 46057da8b7e3Smrg# the directories may not exist. 46067da8b7e3Smrgcase `pwd` in 46077da8b7e3Smrg.) ac_abs_builddir="$ac_dir";; 46087da8b7e3Smrg*) 46097da8b7e3Smrg case "$ac_dir" in 46107da8b7e3Smrg .) ac_abs_builddir=`pwd`;; 46117da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 46127da8b7e3Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 46137da8b7e3Smrg esac;; 46147da8b7e3Smrgesac 46157da8b7e3Smrgcase $ac_abs_builddir in 46167da8b7e3Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 46177da8b7e3Smrg*) 46187da8b7e3Smrg case ${ac_top_builddir}. in 46197da8b7e3Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 46207da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 46217da8b7e3Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 46227da8b7e3Smrg esac;; 46237da8b7e3Smrgesac 46247da8b7e3Smrgcase $ac_abs_builddir in 46257da8b7e3Smrg.) ac_abs_srcdir=$ac_srcdir;; 46267da8b7e3Smrg*) 46277da8b7e3Smrg case $ac_srcdir in 46287da8b7e3Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 46297da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 46307da8b7e3Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 46317da8b7e3Smrg esac;; 46327da8b7e3Smrgesac 46337da8b7e3Smrgcase $ac_abs_builddir in 46347da8b7e3Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 46357da8b7e3Smrg*) 46367da8b7e3Smrg case $ac_top_srcdir in 46377da8b7e3Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 46387da8b7e3Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 46397da8b7e3Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 46407da8b7e3Smrg esac;; 46417da8b7e3Smrgesac 46427da8b7e3Smrg 46437da8b7e3Smrg 46447da8b7e3Smrg { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 46457da8b7e3Smrgecho "$as_me: executing $ac_dest commands" >&6;} 46467da8b7e3Smrg case $ac_dest in 46477da8b7e3Smrg depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 46487da8b7e3Smrg # Strip MF so we end up with the name of the file. 46497da8b7e3Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 46507da8b7e3Smrg # Check whether this is an Automake generated Makefile or not. 46517da8b7e3Smrg # We used to match only the files named `Makefile.in', but 46527da8b7e3Smrg # some people rename them; so instead we look at the file content. 46537da8b7e3Smrg # Grep'ing the first line is not enough: some people post-process 46547da8b7e3Smrg # each Makefile.in and add a new line on top of each file to say so. 46557da8b7e3Smrg # So let's grep whole file. 46567da8b7e3Smrg if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 46577da8b7e3Smrg dirpart=`(dirname "$mf") 2>/dev/null || 46587da8b7e3Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 46597da8b7e3Smrg X"$mf" : 'X\(//\)[^/]' \| \ 46607da8b7e3Smrg X"$mf" : 'X\(//\)$' \| \ 46617da8b7e3Smrg X"$mf" : 'X\(/\)' \| \ 46627da8b7e3Smrg . : '\(.\)' 2>/dev/null || 46637da8b7e3Smrgecho X"$mf" | 46647da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 46657da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 46667da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 46677da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 46687da8b7e3Smrg s/.*/./; q'` 46697da8b7e3Smrg else 46707da8b7e3Smrg continue 46717da8b7e3Smrg fi 46727da8b7e3Smrg # Extract the definition of DEPDIR, am__include, and am__quote 46737da8b7e3Smrg # from the Makefile without running `make'. 46747da8b7e3Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 46757da8b7e3Smrg test -z "$DEPDIR" && continue 46767da8b7e3Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 46777da8b7e3Smrg test -z "am__include" && continue 46787da8b7e3Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 46797da8b7e3Smrg # When using ansi2knr, U may be empty or an underscore; expand it 46807da8b7e3Smrg U=`sed -n 's/^U = //p' < "$mf"` 46817da8b7e3Smrg # Find all dependency output files, they are included files with 46827da8b7e3Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 46837da8b7e3Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 46847da8b7e3Smrg # expansion. 46857da8b7e3Smrg for file in `sed -n " 46867da8b7e3Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 46877da8b7e3Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 46887da8b7e3Smrg # Make sure the directory exists. 46897da8b7e3Smrg test -f "$dirpart/$file" && continue 46907da8b7e3Smrg fdir=`(dirname "$file") 2>/dev/null || 46917da8b7e3Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 46927da8b7e3Smrg X"$file" : 'X\(//\)[^/]' \| \ 46937da8b7e3Smrg X"$file" : 'X\(//\)$' \| \ 46947da8b7e3Smrg X"$file" : 'X\(/\)' \| \ 46957da8b7e3Smrg . : '\(.\)' 2>/dev/null || 46967da8b7e3Smrgecho X"$file" | 46977da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 46987da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 46997da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 47007da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 47017da8b7e3Smrg s/.*/./; q'` 47027da8b7e3Smrg { if $as_mkdir_p; then 47037da8b7e3Smrg mkdir -p $dirpart/$fdir 47047da8b7e3Smrg else 47057da8b7e3Smrg as_dir=$dirpart/$fdir 47067da8b7e3Smrg as_dirs= 47077da8b7e3Smrg while test ! -d "$as_dir"; do 47087da8b7e3Smrg as_dirs="$as_dir $as_dirs" 47097da8b7e3Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 47107da8b7e3Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 47117da8b7e3Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 47127da8b7e3Smrg X"$as_dir" : 'X\(//\)$' \| \ 47137da8b7e3Smrg X"$as_dir" : 'X\(/\)' \| \ 47147da8b7e3Smrg . : '\(.\)' 2>/dev/null || 47157da8b7e3Smrgecho X"$as_dir" | 47167da8b7e3Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 47177da8b7e3Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 47187da8b7e3Smrg /^X\(\/\/\)$/{ s//\1/; q; } 47197da8b7e3Smrg /^X\(\/\).*/{ s//\1/; q; } 47207da8b7e3Smrg s/.*/./; q'` 47217da8b7e3Smrg done 47227da8b7e3Smrg test ! -n "$as_dirs" || mkdir $as_dirs 47237da8b7e3Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 47247da8b7e3Smrgecho "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 47257da8b7e3Smrg { (exit 1); exit 1; }; }; } 47267da8b7e3Smrg 47277da8b7e3Smrg # echo "creating $dirpart/$file" 47287da8b7e3Smrg echo '# dummy' > "$dirpart/$file" 47297da8b7e3Smrg done 47307da8b7e3Smrgdone 47317da8b7e3Smrg ;; 47327da8b7e3Smrg esac 47337da8b7e3Smrgdone 47347da8b7e3Smrg_ACEOF 47357da8b7e3Smrg 47367da8b7e3Smrgcat >>$CONFIG_STATUS <<\_ACEOF 47377da8b7e3Smrg 47387da8b7e3Smrg{ (exit 0); exit 0; } 47397da8b7e3Smrg_ACEOF 47407da8b7e3Smrgchmod +x $CONFIG_STATUS 47417da8b7e3Smrgac_clean_files=$ac_clean_files_save 47427da8b7e3Smrg 47437da8b7e3Smrg 47447da8b7e3Smrg# configure is writing to config.log, and then calls config.status. 47457da8b7e3Smrg# config.status does its own redirection, appending to config.log. 47467da8b7e3Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 47477da8b7e3Smrg# by configure, so config.status won't be able to write to it; its 47487da8b7e3Smrg# output is simply discarded. So we exec the FD to /dev/null, 47497da8b7e3Smrg# effectively closing config.log, so it can be properly (re)opened and 47507da8b7e3Smrg# appended to by config.status. When coming back to configure, we 47517da8b7e3Smrg# need to make the FD available again. 47527da8b7e3Smrgif test "$no_create" != yes; then 47537da8b7e3Smrg ac_cs_success=: 47547da8b7e3Smrg ac_config_status_args= 47557da8b7e3Smrg test "$silent" = yes && 47567da8b7e3Smrg ac_config_status_args="$ac_config_status_args --quiet" 47577da8b7e3Smrg exec 5>/dev/null 47587da8b7e3Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 47597da8b7e3Smrg exec 5>>config.log 47607da8b7e3Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 47617da8b7e3Smrg # would make configure fail if this is the last instruction. 47627da8b7e3Smrg $ac_cs_success || { (exit 1); exit 1; } 47637da8b7e3Smrgfi 47647da8b7e3Smrg 4765