14963b7b6Smrg#! /bin/sh 24963b7b6Smrg# Guess values for system-dependent variables and create Makefiles. 34963b7b6Smrg# Generated by GNU Autoconf 2.59 for xsetmode 1.0.0. 44963b7b6Smrg# 54963b7b6Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 64963b7b6Smrg# 74963b7b6Smrg# Copyright (C) 2003 Free Software Foundation, Inc. 84963b7b6Smrg# This configure script is free software; the Free Software Foundation 94963b7b6Smrg# gives unlimited permission to copy, distribute and modify it. 104963b7b6Smrg## --------------------- ## 114963b7b6Smrg## M4sh Initialization. ## 124963b7b6Smrg## --------------------- ## 134963b7b6Smrg 144963b7b6Smrg# Be Bourne compatible 154963b7b6Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 164963b7b6Smrg emulate sh 174963b7b6Smrg NULLCMD=: 184963b7b6Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 194963b7b6Smrg # is contrary to our usage. Disable this feature. 204963b7b6Smrg alias -g '${1+"$@"}'='"$@"' 214963b7b6Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 224963b7b6Smrg set -o posix 234963b7b6Smrgfi 244963b7b6SmrgDUALCASE=1; export DUALCASE # for MKS sh 254963b7b6Smrg 264963b7b6Smrg# Support unset when possible. 274963b7b6Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 284963b7b6Smrg as_unset=unset 294963b7b6Smrgelse 304963b7b6Smrg as_unset=false 314963b7b6Smrgfi 324963b7b6Smrg 334963b7b6Smrg 344963b7b6Smrg# Work around bugs in pre-3.0 UWIN ksh. 354963b7b6Smrg$as_unset ENV MAIL MAILPATH 364963b7b6SmrgPS1='$ ' 374963b7b6SmrgPS2='> ' 384963b7b6SmrgPS4='+ ' 394963b7b6Smrg 404963b7b6Smrg# NLS nuisances. 414963b7b6Smrgfor as_var in \ 424963b7b6Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 434963b7b6Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 444963b7b6Smrg LC_TELEPHONE LC_TIME 454963b7b6Smrgdo 464963b7b6Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 474963b7b6Smrg eval $as_var=C; export $as_var 484963b7b6Smrg else 494963b7b6Smrg $as_unset $as_var 504963b7b6Smrg fi 514963b7b6Smrgdone 524963b7b6Smrg 534963b7b6Smrg# Required to use basename. 544963b7b6Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 554963b7b6Smrg as_expr=expr 564963b7b6Smrgelse 574963b7b6Smrg as_expr=false 584963b7b6Smrgfi 594963b7b6Smrg 604963b7b6Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 614963b7b6Smrg as_basename=basename 624963b7b6Smrgelse 634963b7b6Smrg as_basename=false 644963b7b6Smrgfi 654963b7b6Smrg 664963b7b6Smrg 674963b7b6Smrg# Name of the executable. 684963b7b6Smrgas_me=`$as_basename "$0" || 694963b7b6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 704963b7b6Smrg X"$0" : 'X\(//\)$' \| \ 714963b7b6Smrg X"$0" : 'X\(/\)$' \| \ 724963b7b6Smrg . : '\(.\)' 2>/dev/null || 734963b7b6Smrgecho X/"$0" | 744963b7b6Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 754963b7b6Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 764963b7b6Smrg /^X\/\(\/\).*/{ s//\1/; q; } 774963b7b6Smrg s/.*/./; q'` 784963b7b6Smrg 794963b7b6Smrg 804963b7b6Smrg# PATH needs CR, and LINENO needs CR and PATH. 814963b7b6Smrg# Avoid depending upon Character Ranges. 824963b7b6Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 834963b7b6Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 844963b7b6Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 854963b7b6Smrgas_cr_digits='0123456789' 864963b7b6Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 874963b7b6Smrg 884963b7b6Smrg# The user is always right. 894963b7b6Smrgif test "${PATH_SEPARATOR+set}" != set; then 904963b7b6Smrg echo "#! /bin/sh" >conf$$.sh 914963b7b6Smrg echo "exit 0" >>conf$$.sh 924963b7b6Smrg chmod +x conf$$.sh 934963b7b6Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 944963b7b6Smrg PATH_SEPARATOR=';' 954963b7b6Smrg else 964963b7b6Smrg PATH_SEPARATOR=: 974963b7b6Smrg fi 984963b7b6Smrg rm -f conf$$.sh 994963b7b6Smrgfi 1004963b7b6Smrg 1014963b7b6Smrg 1024963b7b6Smrg as_lineno_1=$LINENO 1034963b7b6Smrg as_lineno_2=$LINENO 1044963b7b6Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1054963b7b6Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 1064963b7b6Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 1074963b7b6Smrg # Find who we are. Look in the path if we contain no path at all 1084963b7b6Smrg # relative or not. 1094963b7b6Smrg case $0 in 1104963b7b6Smrg *[\\/]* ) as_myself=$0 ;; 1114963b7b6Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1124963b7b6Smrgfor as_dir in $PATH 1134963b7b6Smrgdo 1144963b7b6Smrg IFS=$as_save_IFS 1154963b7b6Smrg test -z "$as_dir" && as_dir=. 1164963b7b6Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1174963b7b6Smrgdone 1184963b7b6Smrg 1194963b7b6Smrg ;; 1204963b7b6Smrg esac 1214963b7b6Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 1224963b7b6Smrg # in which case we are not to be found in the path. 1234963b7b6Smrg if test "x$as_myself" = x; then 1244963b7b6Smrg as_myself=$0 1254963b7b6Smrg fi 1264963b7b6Smrg if test ! -f "$as_myself"; then 1274963b7b6Smrg { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 1284963b7b6Smrg { (exit 1); exit 1; }; } 1294963b7b6Smrg fi 1304963b7b6Smrg case $CONFIG_SHELL in 1314963b7b6Smrg '') 1324963b7b6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1334963b7b6Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1344963b7b6Smrgdo 1354963b7b6Smrg IFS=$as_save_IFS 1364963b7b6Smrg test -z "$as_dir" && as_dir=. 1374963b7b6Smrg for as_base in sh bash ksh sh5; do 1384963b7b6Smrg case $as_dir in 1394963b7b6Smrg /*) 1404963b7b6Smrg if ("$as_dir/$as_base" -c ' 1414963b7b6Smrg as_lineno_1=$LINENO 1424963b7b6Smrg as_lineno_2=$LINENO 1434963b7b6Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1444963b7b6Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 1454963b7b6Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 1464963b7b6Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 1474963b7b6Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 1484963b7b6Smrg CONFIG_SHELL=$as_dir/$as_base 1494963b7b6Smrg export CONFIG_SHELL 1504963b7b6Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 1514963b7b6Smrg fi;; 1524963b7b6Smrg esac 1534963b7b6Smrg done 1544963b7b6Smrgdone 1554963b7b6Smrg;; 1564963b7b6Smrg esac 1574963b7b6Smrg 1584963b7b6Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 1594963b7b6Smrg # uniformly replaced by the line number. The first 'sed' inserts a 1604963b7b6Smrg # line-number line before each line; the second 'sed' does the real 1614963b7b6Smrg # work. The second script uses 'N' to pair each line-number line 1624963b7b6Smrg # with the numbered line, and appends trailing '-' during 1634963b7b6Smrg # substitution so that $LINENO is not a special case at line end. 1644963b7b6Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 1654963b7b6Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 1664963b7b6Smrg sed '=' <$as_myself | 1674963b7b6Smrg sed ' 1684963b7b6Smrg N 1694963b7b6Smrg s,$,-, 1704963b7b6Smrg : loop 1714963b7b6Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 1724963b7b6Smrg t loop 1734963b7b6Smrg s,-$,, 1744963b7b6Smrg s,^['$as_cr_digits']*\n,, 1754963b7b6Smrg ' >$as_me.lineno && 1764963b7b6Smrg chmod +x $as_me.lineno || 1774963b7b6Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 1784963b7b6Smrg { (exit 1); exit 1; }; } 1794963b7b6Smrg 1804963b7b6Smrg # Don't try to exec as it changes $[0], causing all sort of problems 1814963b7b6Smrg # (the dirname of $[0] is not the place where we might find the 1824963b7b6Smrg # original and so on. Autoconf is especially sensible to this). 1834963b7b6Smrg . ./$as_me.lineno 1844963b7b6Smrg # Exit status is that of the last command. 1854963b7b6Smrg exit 1864963b7b6Smrg} 1874963b7b6Smrg 1884963b7b6Smrg 1894963b7b6Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1904963b7b6Smrg *c*,-n*) ECHO_N= ECHO_C=' 1914963b7b6Smrg' ECHO_T=' ' ;; 1924963b7b6Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1934963b7b6Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1944963b7b6Smrgesac 1954963b7b6Smrg 1964963b7b6Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 1974963b7b6Smrg as_expr=expr 1984963b7b6Smrgelse 1994963b7b6Smrg as_expr=false 2004963b7b6Smrgfi 2014963b7b6Smrg 2024963b7b6Smrgrm -f conf$$ conf$$.exe conf$$.file 2034963b7b6Smrgecho >conf$$.file 2044963b7b6Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 2054963b7b6Smrg # We could just check for DJGPP; but this test a) works b) is more generic 2064963b7b6Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 2074963b7b6Smrg if test -f conf$$.exe; then 2084963b7b6Smrg # Don't use ln at all; we don't have any links 2094963b7b6Smrg as_ln_s='cp -p' 2104963b7b6Smrg else 2114963b7b6Smrg as_ln_s='ln -s' 2124963b7b6Smrg fi 2134963b7b6Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 2144963b7b6Smrg as_ln_s=ln 2154963b7b6Smrgelse 2164963b7b6Smrg as_ln_s='cp -p' 2174963b7b6Smrgfi 2184963b7b6Smrgrm -f conf$$ conf$$.exe conf$$.file 2194963b7b6Smrg 2204963b7b6Smrgif mkdir -p . 2>/dev/null; then 2214963b7b6Smrg as_mkdir_p=: 2224963b7b6Smrgelse 2234963b7b6Smrg test -d ./-p && rmdir ./-p 2244963b7b6Smrg as_mkdir_p=false 2254963b7b6Smrgfi 2264963b7b6Smrg 2274963b7b6Smrgas_executable_p="test -f" 2284963b7b6Smrg 2294963b7b6Smrg# Sed expression to map a string onto a valid CPP name. 2304963b7b6Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2314963b7b6Smrg 2324963b7b6Smrg# Sed expression to map a string onto a valid variable name. 2334963b7b6Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2344963b7b6Smrg 2354963b7b6Smrg 2364963b7b6Smrg# IFS 2374963b7b6Smrg# We need space, tab and new line, in precisely that order. 2384963b7b6Smrgas_nl=' 2394963b7b6Smrg' 2404963b7b6SmrgIFS=" $as_nl" 2414963b7b6Smrg 2424963b7b6Smrg# CDPATH. 2434963b7b6Smrg$as_unset CDPATH 2444963b7b6Smrg 2454963b7b6Smrg 2464963b7b6Smrg# Name of the host. 2474963b7b6Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 2484963b7b6Smrg# so uname gets run too. 2494963b7b6Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 2504963b7b6Smrg 2514963b7b6Smrgexec 6>&1 2524963b7b6Smrg 2534963b7b6Smrg# 2544963b7b6Smrg# Initializations. 2554963b7b6Smrg# 2564963b7b6Smrgac_default_prefix=/usr/local 2574963b7b6Smrgac_config_libobj_dir=. 2584963b7b6Smrgcross_compiling=no 2594963b7b6Smrgsubdirs= 2604963b7b6SmrgMFLAGS= 2614963b7b6SmrgMAKEFLAGS= 2624963b7b6SmrgSHELL=${CONFIG_SHELL-/bin/sh} 2634963b7b6Smrg 2644963b7b6Smrg# Maximum number of lines to put in a shell here document. 2654963b7b6Smrg# This variable seems obsolete. It should probably be removed, and 2664963b7b6Smrg# only ac_max_sed_lines should be used. 2674963b7b6Smrg: ${ac_max_here_lines=38} 2684963b7b6Smrg 2694963b7b6Smrg# Identity of this package. 2704963b7b6SmrgPACKAGE_NAME='xsetmode' 2714963b7b6SmrgPACKAGE_TARNAME='xsetmode' 2724963b7b6SmrgPACKAGE_VERSION='1.0.0' 2734963b7b6SmrgPACKAGE_STRING='xsetmode 1.0.0' 2744963b7b6SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 2754963b7b6Smrg 2764963b7b6Smrgac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG ac_pt_PKG_CONFIG XSETMODE_CFLAGS XSETMODE_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' 2774963b7b6Smrgac_subst_files='' 2784963b7b6Smrg 2794963b7b6Smrg# Initialize some variables set by options. 2804963b7b6Smrgac_init_help= 2814963b7b6Smrgac_init_version=false 2824963b7b6Smrg# The variables have the same names as the options, with 2834963b7b6Smrg# dashes changed to underlines. 2844963b7b6Smrgcache_file=/dev/null 2854963b7b6Smrgexec_prefix=NONE 2864963b7b6Smrgno_create= 2874963b7b6Smrgno_recursion= 2884963b7b6Smrgprefix=NONE 2894963b7b6Smrgprogram_prefix=NONE 2904963b7b6Smrgprogram_suffix=NONE 2914963b7b6Smrgprogram_transform_name=s,x,x, 2924963b7b6Smrgsilent= 2934963b7b6Smrgsite= 2944963b7b6Smrgsrcdir= 2954963b7b6Smrgverbose= 2964963b7b6Smrgx_includes=NONE 2974963b7b6Smrgx_libraries=NONE 2984963b7b6Smrg 2994963b7b6Smrg# Installation directory options. 3004963b7b6Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 3014963b7b6Smrg# and all the variables that are supposed to be based on exec_prefix 3024963b7b6Smrg# by default will actually change. 3034963b7b6Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 3044963b7b6Smrgbindir='${exec_prefix}/bin' 3054963b7b6Smrgsbindir='${exec_prefix}/sbin' 3064963b7b6Smrglibexecdir='${exec_prefix}/libexec' 3074963b7b6Smrgdatadir='${prefix}/share' 3084963b7b6Smrgsysconfdir='${prefix}/etc' 3094963b7b6Smrgsharedstatedir='${prefix}/com' 3104963b7b6Smrglocalstatedir='${prefix}/var' 3114963b7b6Smrglibdir='${exec_prefix}/lib' 3124963b7b6Smrgincludedir='${prefix}/include' 3134963b7b6Smrgoldincludedir='/usr/include' 3144963b7b6Smrginfodir='${prefix}/info' 3154963b7b6Smrgmandir='${prefix}/man' 3164963b7b6Smrg 3174963b7b6Smrgac_prev= 3184963b7b6Smrgfor ac_option 3194963b7b6Smrgdo 3204963b7b6Smrg # If the previous option needs an argument, assign it. 3214963b7b6Smrg if test -n "$ac_prev"; then 3224963b7b6Smrg eval "$ac_prev=\$ac_option" 3234963b7b6Smrg ac_prev= 3244963b7b6Smrg continue 3254963b7b6Smrg fi 3264963b7b6Smrg 3274963b7b6Smrg ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 3284963b7b6Smrg 3294963b7b6Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 3304963b7b6Smrg 3314963b7b6Smrg case $ac_option in 3324963b7b6Smrg 3334963b7b6Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 3344963b7b6Smrg ac_prev=bindir ;; 3354963b7b6Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 3364963b7b6Smrg bindir=$ac_optarg ;; 3374963b7b6Smrg 3384963b7b6Smrg -build | --build | --buil | --bui | --bu) 3394963b7b6Smrg ac_prev=build_alias ;; 3404963b7b6Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 3414963b7b6Smrg build_alias=$ac_optarg ;; 3424963b7b6Smrg 3434963b7b6Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 3444963b7b6Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 3454963b7b6Smrg ac_prev=cache_file ;; 3464963b7b6Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 3474963b7b6Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 3484963b7b6Smrg cache_file=$ac_optarg ;; 3494963b7b6Smrg 3504963b7b6Smrg --config-cache | -C) 3514963b7b6Smrg cache_file=config.cache ;; 3524963b7b6Smrg 3534963b7b6Smrg -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 3544963b7b6Smrg ac_prev=datadir ;; 3554963b7b6Smrg -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 3564963b7b6Smrg | --da=*) 3574963b7b6Smrg datadir=$ac_optarg ;; 3584963b7b6Smrg 3594963b7b6Smrg -disable-* | --disable-*) 3604963b7b6Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 3614963b7b6Smrg # Reject names that are not valid shell variable names. 3624963b7b6Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 3634963b7b6Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 3644963b7b6Smrg { (exit 1); exit 1; }; } 3654963b7b6Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 3664963b7b6Smrg eval "enable_$ac_feature=no" ;; 3674963b7b6Smrg 3684963b7b6Smrg -enable-* | --enable-*) 3694963b7b6Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 3704963b7b6Smrg # Reject names that are not valid shell variable names. 3714963b7b6Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 3724963b7b6Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 3734963b7b6Smrg { (exit 1); exit 1; }; } 3744963b7b6Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 3754963b7b6Smrg case $ac_option in 3764963b7b6Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 3774963b7b6Smrg *) ac_optarg=yes ;; 3784963b7b6Smrg esac 3794963b7b6Smrg eval "enable_$ac_feature='$ac_optarg'" ;; 3804963b7b6Smrg 3814963b7b6Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 3824963b7b6Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 3834963b7b6Smrg | --exec | --exe | --ex) 3844963b7b6Smrg ac_prev=exec_prefix ;; 3854963b7b6Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 3864963b7b6Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 3874963b7b6Smrg | --exec=* | --exe=* | --ex=*) 3884963b7b6Smrg exec_prefix=$ac_optarg ;; 3894963b7b6Smrg 3904963b7b6Smrg -gas | --gas | --ga | --g) 3914963b7b6Smrg # Obsolete; use --with-gas. 3924963b7b6Smrg with_gas=yes ;; 3934963b7b6Smrg 3944963b7b6Smrg -help | --help | --hel | --he | -h) 3954963b7b6Smrg ac_init_help=long ;; 3964963b7b6Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 3974963b7b6Smrg ac_init_help=recursive ;; 3984963b7b6Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 3994963b7b6Smrg ac_init_help=short ;; 4004963b7b6Smrg 4014963b7b6Smrg -host | --host | --hos | --ho) 4024963b7b6Smrg ac_prev=host_alias ;; 4034963b7b6Smrg -host=* | --host=* | --hos=* | --ho=*) 4044963b7b6Smrg host_alias=$ac_optarg ;; 4054963b7b6Smrg 4064963b7b6Smrg -includedir | --includedir | --includedi | --included | --include \ 4074963b7b6Smrg | --includ | --inclu | --incl | --inc) 4084963b7b6Smrg ac_prev=includedir ;; 4094963b7b6Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 4104963b7b6Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 4114963b7b6Smrg includedir=$ac_optarg ;; 4124963b7b6Smrg 4134963b7b6Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 4144963b7b6Smrg ac_prev=infodir ;; 4154963b7b6Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 4164963b7b6Smrg infodir=$ac_optarg ;; 4174963b7b6Smrg 4184963b7b6Smrg -libdir | --libdir | --libdi | --libd) 4194963b7b6Smrg ac_prev=libdir ;; 4204963b7b6Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 4214963b7b6Smrg libdir=$ac_optarg ;; 4224963b7b6Smrg 4234963b7b6Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 4244963b7b6Smrg | --libexe | --libex | --libe) 4254963b7b6Smrg ac_prev=libexecdir ;; 4264963b7b6Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 4274963b7b6Smrg | --libexe=* | --libex=* | --libe=*) 4284963b7b6Smrg libexecdir=$ac_optarg ;; 4294963b7b6Smrg 4304963b7b6Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 4314963b7b6Smrg | --localstate | --localstat | --localsta | --localst \ 4324963b7b6Smrg | --locals | --local | --loca | --loc | --lo) 4334963b7b6Smrg ac_prev=localstatedir ;; 4344963b7b6Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 4354963b7b6Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 4364963b7b6Smrg | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 4374963b7b6Smrg localstatedir=$ac_optarg ;; 4384963b7b6Smrg 4394963b7b6Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 4404963b7b6Smrg ac_prev=mandir ;; 4414963b7b6Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 4424963b7b6Smrg mandir=$ac_optarg ;; 4434963b7b6Smrg 4444963b7b6Smrg -nfp | --nfp | --nf) 4454963b7b6Smrg # Obsolete; use --without-fp. 4464963b7b6Smrg with_fp=no ;; 4474963b7b6Smrg 4484963b7b6Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 4494963b7b6Smrg | --no-cr | --no-c | -n) 4504963b7b6Smrg no_create=yes ;; 4514963b7b6Smrg 4524963b7b6Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 4534963b7b6Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 4544963b7b6Smrg no_recursion=yes ;; 4554963b7b6Smrg 4564963b7b6Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 4574963b7b6Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 4584963b7b6Smrg | --oldin | --oldi | --old | --ol | --o) 4594963b7b6Smrg ac_prev=oldincludedir ;; 4604963b7b6Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 4614963b7b6Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 4624963b7b6Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 4634963b7b6Smrg oldincludedir=$ac_optarg ;; 4644963b7b6Smrg 4654963b7b6Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 4664963b7b6Smrg ac_prev=prefix ;; 4674963b7b6Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 4684963b7b6Smrg prefix=$ac_optarg ;; 4694963b7b6Smrg 4704963b7b6Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 4714963b7b6Smrg | --program-pre | --program-pr | --program-p) 4724963b7b6Smrg ac_prev=program_prefix ;; 4734963b7b6Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 4744963b7b6Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 4754963b7b6Smrg program_prefix=$ac_optarg ;; 4764963b7b6Smrg 4774963b7b6Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 4784963b7b6Smrg | --program-suf | --program-su | --program-s) 4794963b7b6Smrg ac_prev=program_suffix ;; 4804963b7b6Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 4814963b7b6Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 4824963b7b6Smrg program_suffix=$ac_optarg ;; 4834963b7b6Smrg 4844963b7b6Smrg -program-transform-name | --program-transform-name \ 4854963b7b6Smrg | --program-transform-nam | --program-transform-na \ 4864963b7b6Smrg | --program-transform-n | --program-transform- \ 4874963b7b6Smrg | --program-transform | --program-transfor \ 4884963b7b6Smrg | --program-transfo | --program-transf \ 4894963b7b6Smrg | --program-trans | --program-tran \ 4904963b7b6Smrg | --progr-tra | --program-tr | --program-t) 4914963b7b6Smrg ac_prev=program_transform_name ;; 4924963b7b6Smrg -program-transform-name=* | --program-transform-name=* \ 4934963b7b6Smrg | --program-transform-nam=* | --program-transform-na=* \ 4944963b7b6Smrg | --program-transform-n=* | --program-transform-=* \ 4954963b7b6Smrg | --program-transform=* | --program-transfor=* \ 4964963b7b6Smrg | --program-transfo=* | --program-transf=* \ 4974963b7b6Smrg | --program-trans=* | --program-tran=* \ 4984963b7b6Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 4994963b7b6Smrg program_transform_name=$ac_optarg ;; 5004963b7b6Smrg 5014963b7b6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5024963b7b6Smrg | -silent | --silent | --silen | --sile | --sil) 5034963b7b6Smrg silent=yes ;; 5044963b7b6Smrg 5054963b7b6Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 5064963b7b6Smrg ac_prev=sbindir ;; 5074963b7b6Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 5084963b7b6Smrg | --sbi=* | --sb=*) 5094963b7b6Smrg sbindir=$ac_optarg ;; 5104963b7b6Smrg 5114963b7b6Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 5124963b7b6Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 5134963b7b6Smrg | --sharedst | --shareds | --shared | --share | --shar \ 5144963b7b6Smrg | --sha | --sh) 5154963b7b6Smrg ac_prev=sharedstatedir ;; 5164963b7b6Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 5174963b7b6Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 5184963b7b6Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 5194963b7b6Smrg | --sha=* | --sh=*) 5204963b7b6Smrg sharedstatedir=$ac_optarg ;; 5214963b7b6Smrg 5224963b7b6Smrg -site | --site | --sit) 5234963b7b6Smrg ac_prev=site ;; 5244963b7b6Smrg -site=* | --site=* | --sit=*) 5254963b7b6Smrg site=$ac_optarg ;; 5264963b7b6Smrg 5274963b7b6Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 5284963b7b6Smrg ac_prev=srcdir ;; 5294963b7b6Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 5304963b7b6Smrg srcdir=$ac_optarg ;; 5314963b7b6Smrg 5324963b7b6Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 5334963b7b6Smrg | --syscon | --sysco | --sysc | --sys | --sy) 5344963b7b6Smrg ac_prev=sysconfdir ;; 5354963b7b6Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 5364963b7b6Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 5374963b7b6Smrg sysconfdir=$ac_optarg ;; 5384963b7b6Smrg 5394963b7b6Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 5404963b7b6Smrg ac_prev=target_alias ;; 5414963b7b6Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 5424963b7b6Smrg target_alias=$ac_optarg ;; 5434963b7b6Smrg 5444963b7b6Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 5454963b7b6Smrg verbose=yes ;; 5464963b7b6Smrg 5474963b7b6Smrg -version | --version | --versio | --versi | --vers | -V) 5484963b7b6Smrg ac_init_version=: ;; 5494963b7b6Smrg 5504963b7b6Smrg -with-* | --with-*) 5514963b7b6Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 5524963b7b6Smrg # Reject names that are not valid shell variable names. 5534963b7b6Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 5544963b7b6Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 5554963b7b6Smrg { (exit 1); exit 1; }; } 5564963b7b6Smrg ac_package=`echo $ac_package| sed 's/-/_/g'` 5574963b7b6Smrg case $ac_option in 5584963b7b6Smrg *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 5594963b7b6Smrg *) ac_optarg=yes ;; 5604963b7b6Smrg esac 5614963b7b6Smrg eval "with_$ac_package='$ac_optarg'" ;; 5624963b7b6Smrg 5634963b7b6Smrg -without-* | --without-*) 5644963b7b6Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 5654963b7b6Smrg # Reject names that are not valid shell variable names. 5664963b7b6Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 5674963b7b6Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 5684963b7b6Smrg { (exit 1); exit 1; }; } 5694963b7b6Smrg ac_package=`echo $ac_package | sed 's/-/_/g'` 5704963b7b6Smrg eval "with_$ac_package=no" ;; 5714963b7b6Smrg 5724963b7b6Smrg --x) 5734963b7b6Smrg # Obsolete; use --with-x. 5744963b7b6Smrg with_x=yes ;; 5754963b7b6Smrg 5764963b7b6Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 5774963b7b6Smrg | --x-incl | --x-inc | --x-in | --x-i) 5784963b7b6Smrg ac_prev=x_includes ;; 5794963b7b6Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 5804963b7b6Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 5814963b7b6Smrg x_includes=$ac_optarg ;; 5824963b7b6Smrg 5834963b7b6Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 5844963b7b6Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 5854963b7b6Smrg ac_prev=x_libraries ;; 5864963b7b6Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 5874963b7b6Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 5884963b7b6Smrg x_libraries=$ac_optarg ;; 5894963b7b6Smrg 5904963b7b6Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 5914963b7b6SmrgTry \`$0 --help' for more information." >&2 5924963b7b6Smrg { (exit 1); exit 1; }; } 5934963b7b6Smrg ;; 5944963b7b6Smrg 5954963b7b6Smrg *=*) 5964963b7b6Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 5974963b7b6Smrg # Reject names that are not valid shell variable names. 5984963b7b6Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 5994963b7b6Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 6004963b7b6Smrg { (exit 1); exit 1; }; } 6014963b7b6Smrg ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 6024963b7b6Smrg eval "$ac_envvar='$ac_optarg'" 6034963b7b6Smrg export $ac_envvar ;; 6044963b7b6Smrg 6054963b7b6Smrg *) 6064963b7b6Smrg # FIXME: should be removed in autoconf 3.0. 6074963b7b6Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 6084963b7b6Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 6094963b7b6Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 6104963b7b6Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 6114963b7b6Smrg ;; 6124963b7b6Smrg 6134963b7b6Smrg esac 6144963b7b6Smrgdone 6154963b7b6Smrg 6164963b7b6Smrgif test -n "$ac_prev"; then 6174963b7b6Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 6184963b7b6Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 6194963b7b6Smrg { (exit 1); exit 1; }; } 6204963b7b6Smrgfi 6214963b7b6Smrg 6224963b7b6Smrg# Be sure to have absolute paths. 6234963b7b6Smrgfor ac_var in exec_prefix prefix 6244963b7b6Smrgdo 6254963b7b6Smrg eval ac_val=$`echo $ac_var` 6264963b7b6Smrg case $ac_val in 6274963b7b6Smrg [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 6284963b7b6Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 6294963b7b6Smrg { (exit 1); exit 1; }; };; 6304963b7b6Smrg esac 6314963b7b6Smrgdone 6324963b7b6Smrg 6334963b7b6Smrg# Be sure to have absolute paths. 6344963b7b6Smrgfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 6354963b7b6Smrg localstatedir libdir includedir oldincludedir infodir mandir 6364963b7b6Smrgdo 6374963b7b6Smrg eval ac_val=$`echo $ac_var` 6384963b7b6Smrg case $ac_val in 6394963b7b6Smrg [\\/$]* | ?:[\\/]* ) ;; 6404963b7b6Smrg *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 6414963b7b6Smrg { (exit 1); exit 1; }; };; 6424963b7b6Smrg esac 6434963b7b6Smrgdone 6444963b7b6Smrg 6454963b7b6Smrg# There might be people who depend on the old broken behavior: `$host' 6464963b7b6Smrg# used to hold the argument of --host etc. 6474963b7b6Smrg# FIXME: To remove some day. 6484963b7b6Smrgbuild=$build_alias 6494963b7b6Smrghost=$host_alias 6504963b7b6Smrgtarget=$target_alias 6514963b7b6Smrg 6524963b7b6Smrg# FIXME: To remove some day. 6534963b7b6Smrgif test "x$host_alias" != x; then 6544963b7b6Smrg if test "x$build_alias" = x; then 6554963b7b6Smrg cross_compiling=maybe 6564963b7b6Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 6574963b7b6Smrg If a cross compiler is detected then cross compile mode will be used." >&2 6584963b7b6Smrg elif test "x$build_alias" != "x$host_alias"; then 6594963b7b6Smrg cross_compiling=yes 6604963b7b6Smrg fi 6614963b7b6Smrgfi 6624963b7b6Smrg 6634963b7b6Smrgac_tool_prefix= 6644963b7b6Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 6654963b7b6Smrg 6664963b7b6Smrgtest "$silent" = yes && exec 6>/dev/null 6674963b7b6Smrg 6684963b7b6Smrg 6694963b7b6Smrg# Find the source files, if location was not specified. 6704963b7b6Smrgif test -z "$srcdir"; then 6714963b7b6Smrg ac_srcdir_defaulted=yes 6724963b7b6Smrg # Try the directory containing this script, then its parent. 6734963b7b6Smrg ac_confdir=`(dirname "$0") 2>/dev/null || 6744963b7b6Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6754963b7b6Smrg X"$0" : 'X\(//\)[^/]' \| \ 6764963b7b6Smrg X"$0" : 'X\(//\)$' \| \ 6774963b7b6Smrg X"$0" : 'X\(/\)' \| \ 6784963b7b6Smrg . : '\(.\)' 2>/dev/null || 6794963b7b6Smrgecho X"$0" | 6804963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6814963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6824963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 6834963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 6844963b7b6Smrg s/.*/./; q'` 6854963b7b6Smrg srcdir=$ac_confdir 6864963b7b6Smrg if test ! -r $srcdir/$ac_unique_file; then 6874963b7b6Smrg srcdir=.. 6884963b7b6Smrg fi 6894963b7b6Smrgelse 6904963b7b6Smrg ac_srcdir_defaulted=no 6914963b7b6Smrgfi 6924963b7b6Smrgif test ! -r $srcdir/$ac_unique_file; then 6934963b7b6Smrg if test "$ac_srcdir_defaulted" = yes; then 6944963b7b6Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 6954963b7b6Smrg { (exit 1); exit 1; }; } 6964963b7b6Smrg else 6974963b7b6Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 6984963b7b6Smrg { (exit 1); exit 1; }; } 6994963b7b6Smrg fi 7004963b7b6Smrgfi 7014963b7b6Smrg(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 7024963b7b6Smrg { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 7034963b7b6Smrg { (exit 1); exit 1; }; } 7044963b7b6Smrgsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 7054963b7b6Smrgac_env_build_alias_set=${build_alias+set} 7064963b7b6Smrgac_env_build_alias_value=$build_alias 7074963b7b6Smrgac_cv_env_build_alias_set=${build_alias+set} 7084963b7b6Smrgac_cv_env_build_alias_value=$build_alias 7094963b7b6Smrgac_env_host_alias_set=${host_alias+set} 7104963b7b6Smrgac_env_host_alias_value=$host_alias 7114963b7b6Smrgac_cv_env_host_alias_set=${host_alias+set} 7124963b7b6Smrgac_cv_env_host_alias_value=$host_alias 7134963b7b6Smrgac_env_target_alias_set=${target_alias+set} 7144963b7b6Smrgac_env_target_alias_value=$target_alias 7154963b7b6Smrgac_cv_env_target_alias_set=${target_alias+set} 7164963b7b6Smrgac_cv_env_target_alias_value=$target_alias 7174963b7b6Smrgac_env_CC_set=${CC+set} 7184963b7b6Smrgac_env_CC_value=$CC 7194963b7b6Smrgac_cv_env_CC_set=${CC+set} 7204963b7b6Smrgac_cv_env_CC_value=$CC 7214963b7b6Smrgac_env_CFLAGS_set=${CFLAGS+set} 7224963b7b6Smrgac_env_CFLAGS_value=$CFLAGS 7234963b7b6Smrgac_cv_env_CFLAGS_set=${CFLAGS+set} 7244963b7b6Smrgac_cv_env_CFLAGS_value=$CFLAGS 7254963b7b6Smrgac_env_LDFLAGS_set=${LDFLAGS+set} 7264963b7b6Smrgac_env_LDFLAGS_value=$LDFLAGS 7274963b7b6Smrgac_cv_env_LDFLAGS_set=${LDFLAGS+set} 7284963b7b6Smrgac_cv_env_LDFLAGS_value=$LDFLAGS 7294963b7b6Smrgac_env_CPPFLAGS_set=${CPPFLAGS+set} 7304963b7b6Smrgac_env_CPPFLAGS_value=$CPPFLAGS 7314963b7b6Smrgac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 7324963b7b6Smrgac_cv_env_CPPFLAGS_value=$CPPFLAGS 7334963b7b6Smrgac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 7344963b7b6Smrgac_env_PKG_CONFIG_value=$PKG_CONFIG 7354963b7b6Smrgac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 7364963b7b6Smrgac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 7374963b7b6Smrgac_env_XSETMODE_CFLAGS_set=${XSETMODE_CFLAGS+set} 7384963b7b6Smrgac_env_XSETMODE_CFLAGS_value=$XSETMODE_CFLAGS 7394963b7b6Smrgac_cv_env_XSETMODE_CFLAGS_set=${XSETMODE_CFLAGS+set} 7404963b7b6Smrgac_cv_env_XSETMODE_CFLAGS_value=$XSETMODE_CFLAGS 7414963b7b6Smrgac_env_XSETMODE_LIBS_set=${XSETMODE_LIBS+set} 7424963b7b6Smrgac_env_XSETMODE_LIBS_value=$XSETMODE_LIBS 7434963b7b6Smrgac_cv_env_XSETMODE_LIBS_set=${XSETMODE_LIBS+set} 7444963b7b6Smrgac_cv_env_XSETMODE_LIBS_value=$XSETMODE_LIBS 7454963b7b6Smrg 7464963b7b6Smrg# 7474963b7b6Smrg# Report the --help message. 7484963b7b6Smrg# 7494963b7b6Smrgif test "$ac_init_help" = "long"; then 7504963b7b6Smrg # Omit some internal or obsolete options to make the list less imposing. 7514963b7b6Smrg # This message is too long to be a string in the A/UX 3.1 sh. 7524963b7b6Smrg cat <<_ACEOF 7534963b7b6Smrg\`configure' configures xsetmode 1.0.0 to adapt to many kinds of systems. 7544963b7b6Smrg 7554963b7b6SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 7564963b7b6Smrg 7574963b7b6SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 7584963b7b6SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 7594963b7b6Smrg 7604963b7b6SmrgDefaults for the options are specified in brackets. 7614963b7b6Smrg 7624963b7b6SmrgConfiguration: 7634963b7b6Smrg -h, --help display this help and exit 7644963b7b6Smrg --help=short display options specific to this package 7654963b7b6Smrg --help=recursive display the short help of all the included packages 7664963b7b6Smrg -V, --version display version information and exit 7674963b7b6Smrg -q, --quiet, --silent do not print \`checking...' messages 7684963b7b6Smrg --cache-file=FILE cache test results in FILE [disabled] 7694963b7b6Smrg -C, --config-cache alias for \`--cache-file=config.cache' 7704963b7b6Smrg -n, --no-create do not create output files 7714963b7b6Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 7724963b7b6Smrg 7734963b7b6Smrg_ACEOF 7744963b7b6Smrg 7754963b7b6Smrg cat <<_ACEOF 7764963b7b6SmrgInstallation directories: 7774963b7b6Smrg --prefix=PREFIX install architecture-independent files in PREFIX 7784963b7b6Smrg [$ac_default_prefix] 7794963b7b6Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 7804963b7b6Smrg [PREFIX] 7814963b7b6Smrg 7824963b7b6SmrgBy default, \`make install' will install all the files in 7834963b7b6Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 7844963b7b6Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 7854963b7b6Smrgfor instance \`--prefix=\$HOME'. 7864963b7b6Smrg 7874963b7b6SmrgFor better control, use the options below. 7884963b7b6Smrg 7894963b7b6SmrgFine tuning of the installation directories: 7904963b7b6Smrg --bindir=DIR user executables [EPREFIX/bin] 7914963b7b6Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 7924963b7b6Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 7934963b7b6Smrg --datadir=DIR read-only architecture-independent data [PREFIX/share] 7944963b7b6Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 7954963b7b6Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 7964963b7b6Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 7974963b7b6Smrg --libdir=DIR object code libraries [EPREFIX/lib] 7984963b7b6Smrg --includedir=DIR C header files [PREFIX/include] 7994963b7b6Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 8004963b7b6Smrg --infodir=DIR info documentation [PREFIX/info] 8014963b7b6Smrg --mandir=DIR man documentation [PREFIX/man] 8024963b7b6Smrg_ACEOF 8034963b7b6Smrg 8044963b7b6Smrg cat <<\_ACEOF 8054963b7b6Smrg 8064963b7b6SmrgProgram names: 8074963b7b6Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 8084963b7b6Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 8094963b7b6Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 8104963b7b6Smrg 8114963b7b6SmrgSystem types: 8124963b7b6Smrg --build=BUILD configure for building on BUILD [guessed] 8134963b7b6Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 8144963b7b6Smrg_ACEOF 8154963b7b6Smrgfi 8164963b7b6Smrg 8174963b7b6Smrgif test -n "$ac_init_help"; then 8184963b7b6Smrg case $ac_init_help in 8194963b7b6Smrg short | recursive ) echo "Configuration of xsetmode 1.0.0:";; 8204963b7b6Smrg esac 8214963b7b6Smrg cat <<\_ACEOF 8224963b7b6Smrg 8234963b7b6SmrgOptional Features: 8244963b7b6Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 8254963b7b6Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 8264963b7b6Smrg --enable-maintainer-mode enable make rules and dependencies not useful 8274963b7b6Smrg (and sometimes confusing) to the casual installer 8284963b7b6Smrg --disable-dependency-tracking Speeds up one-time builds 8294963b7b6Smrg --enable-dependency-tracking Do not reject slow dependency extractors 8304963b7b6Smrg 8314963b7b6SmrgOptional Packages: 8324963b7b6Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 8334963b7b6Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 8344963b7b6Smrg --with-release-version=STRING 8354963b7b6Smrg Use release version string in package name 8364963b7b6Smrg 8374963b7b6SmrgSome influential environment variables: 8384963b7b6Smrg CC C compiler command 8394963b7b6Smrg CFLAGS C compiler flags 8404963b7b6Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 8414963b7b6Smrg nonstandard directory <lib dir> 8424963b7b6Smrg CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 8434963b7b6Smrg headers in a nonstandard directory <include dir> 8444963b7b6Smrg PKG_CONFIG path to pkg-config utility 8454963b7b6Smrg XSETMODE_CFLAGS 8464963b7b6Smrg C compiler flags for XSETMODE, overriding pkg-config 8474963b7b6Smrg XSETMODE_LIBS 8484963b7b6Smrg linker flags for XSETMODE, overriding pkg-config 8494963b7b6Smrg 8504963b7b6SmrgUse these variables to override the choices made by `configure' or to help 8514963b7b6Smrgit to find libraries and programs with nonstandard names/locations. 8524963b7b6Smrg 8534963b7b6SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 8544963b7b6Smrg_ACEOF 8554963b7b6Smrgfi 8564963b7b6Smrg 8574963b7b6Smrgif test "$ac_init_help" = "recursive"; then 8584963b7b6Smrg # If there are subdirs, report their specific --help. 8594963b7b6Smrg ac_popdir=`pwd` 8604963b7b6Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 8614963b7b6Smrg test -d $ac_dir || continue 8624963b7b6Smrg ac_builddir=. 8634963b7b6Smrg 8644963b7b6Smrgif test "$ac_dir" != .; then 8654963b7b6Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8664963b7b6Smrg # A "../" for each directory in $ac_dir_suffix. 8674963b7b6Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8684963b7b6Smrgelse 8694963b7b6Smrg ac_dir_suffix= ac_top_builddir= 8704963b7b6Smrgfi 8714963b7b6Smrg 8724963b7b6Smrgcase $srcdir in 8734963b7b6Smrg .) # No --srcdir option. We are building in place. 8744963b7b6Smrg ac_srcdir=. 8754963b7b6Smrg if test -z "$ac_top_builddir"; then 8764963b7b6Smrg ac_top_srcdir=. 8774963b7b6Smrg else 8784963b7b6Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8794963b7b6Smrg fi ;; 8804963b7b6Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 8814963b7b6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 8824963b7b6Smrg ac_top_srcdir=$srcdir ;; 8834963b7b6Smrg *) # Relative path. 8844963b7b6Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8854963b7b6Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 8864963b7b6Smrgesac 8874963b7b6Smrg 8884963b7b6Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 8894963b7b6Smrg# the directories may not exist. 8904963b7b6Smrgcase `pwd` in 8914963b7b6Smrg.) ac_abs_builddir="$ac_dir";; 8924963b7b6Smrg*) 8934963b7b6Smrg case "$ac_dir" in 8944963b7b6Smrg .) ac_abs_builddir=`pwd`;; 8954963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8964963b7b6Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 8974963b7b6Smrg esac;; 8984963b7b6Smrgesac 8994963b7b6Smrgcase $ac_abs_builddir in 9004963b7b6Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 9014963b7b6Smrg*) 9024963b7b6Smrg case ${ac_top_builddir}. in 9034963b7b6Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 9044963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9054963b7b6Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9064963b7b6Smrg esac;; 9074963b7b6Smrgesac 9084963b7b6Smrgcase $ac_abs_builddir in 9094963b7b6Smrg.) ac_abs_srcdir=$ac_srcdir;; 9104963b7b6Smrg*) 9114963b7b6Smrg case $ac_srcdir in 9124963b7b6Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 9134963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9144963b7b6Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9154963b7b6Smrg esac;; 9164963b7b6Smrgesac 9174963b7b6Smrgcase $ac_abs_builddir in 9184963b7b6Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 9194963b7b6Smrg*) 9204963b7b6Smrg case $ac_top_srcdir in 9214963b7b6Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 9224963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9234963b7b6Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9244963b7b6Smrg esac;; 9254963b7b6Smrgesac 9264963b7b6Smrg 9274963b7b6Smrg cd $ac_dir 9284963b7b6Smrg # Check for guested configure; otherwise get Cygnus style configure. 9294963b7b6Smrg if test -f $ac_srcdir/configure.gnu; then 9304963b7b6Smrg echo 9314963b7b6Smrg $SHELL $ac_srcdir/configure.gnu --help=recursive 9324963b7b6Smrg elif test -f $ac_srcdir/configure; then 9334963b7b6Smrg echo 9344963b7b6Smrg $SHELL $ac_srcdir/configure --help=recursive 9354963b7b6Smrg elif test -f $ac_srcdir/configure.ac || 9364963b7b6Smrg test -f $ac_srcdir/configure.in; then 9374963b7b6Smrg echo 9384963b7b6Smrg $ac_configure --help 9394963b7b6Smrg else 9404963b7b6Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 9414963b7b6Smrg fi 9424963b7b6Smrg cd $ac_popdir 9434963b7b6Smrg done 9444963b7b6Smrgfi 9454963b7b6Smrg 9464963b7b6Smrgtest -n "$ac_init_help" && exit 0 9474963b7b6Smrgif $ac_init_version; then 9484963b7b6Smrg cat <<\_ACEOF 9494963b7b6Smrgxsetmode configure 1.0.0 9504963b7b6Smrggenerated by GNU Autoconf 2.59 9514963b7b6Smrg 9524963b7b6SmrgCopyright (C) 2003 Free Software Foundation, Inc. 9534963b7b6SmrgThis configure script is free software; the Free Software Foundation 9544963b7b6Smrggives unlimited permission to copy, distribute and modify it. 9554963b7b6Smrg_ACEOF 9564963b7b6Smrg exit 0 9574963b7b6Smrgfi 9584963b7b6Smrgexec 5>config.log 9594963b7b6Smrgcat >&5 <<_ACEOF 9604963b7b6SmrgThis file contains any messages produced by compilers while 9614963b7b6Smrgrunning configure, to aid debugging if configure makes a mistake. 9624963b7b6Smrg 9634963b7b6SmrgIt was created by xsetmode $as_me 1.0.0, which was 9644963b7b6Smrggenerated by GNU Autoconf 2.59. Invocation command line was 9654963b7b6Smrg 9664963b7b6Smrg $ $0 $@ 9674963b7b6Smrg 9684963b7b6Smrg_ACEOF 9694963b7b6Smrg{ 9704963b7b6Smrgcat <<_ASUNAME 9714963b7b6Smrg## --------- ## 9724963b7b6Smrg## Platform. ## 9734963b7b6Smrg## --------- ## 9744963b7b6Smrg 9754963b7b6Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 9764963b7b6Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 9774963b7b6Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 9784963b7b6Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 9794963b7b6Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 9804963b7b6Smrg 9814963b7b6Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 9824963b7b6Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 9834963b7b6Smrg 9844963b7b6Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 9854963b7b6Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 9864963b7b6Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 9874963b7b6Smrghostinfo = `(hostinfo) 2>/dev/null || echo unknown` 9884963b7b6Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 9894963b7b6Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 9904963b7b6Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 9914963b7b6Smrg 9924963b7b6Smrg_ASUNAME 9934963b7b6Smrg 9944963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9954963b7b6Smrgfor as_dir in $PATH 9964963b7b6Smrgdo 9974963b7b6Smrg IFS=$as_save_IFS 9984963b7b6Smrg test -z "$as_dir" && as_dir=. 9994963b7b6Smrg echo "PATH: $as_dir" 10004963b7b6Smrgdone 10014963b7b6Smrg 10024963b7b6Smrg} >&5 10034963b7b6Smrg 10044963b7b6Smrgcat >&5 <<_ACEOF 10054963b7b6Smrg 10064963b7b6Smrg 10074963b7b6Smrg## ----------- ## 10084963b7b6Smrg## Core tests. ## 10094963b7b6Smrg## ----------- ## 10104963b7b6Smrg 10114963b7b6Smrg_ACEOF 10124963b7b6Smrg 10134963b7b6Smrg 10144963b7b6Smrg# Keep a trace of the command line. 10154963b7b6Smrg# Strip out --no-create and --no-recursion so they do not pile up. 10164963b7b6Smrg# Strip out --silent because we don't want to record it for future runs. 10174963b7b6Smrg# Also quote any args containing shell meta-characters. 10184963b7b6Smrg# Make two passes to allow for proper duplicate-argument suppression. 10194963b7b6Smrgac_configure_args= 10204963b7b6Smrgac_configure_args0= 10214963b7b6Smrgac_configure_args1= 10224963b7b6Smrgac_sep= 10234963b7b6Smrgac_must_keep_next=false 10244963b7b6Smrgfor ac_pass in 1 2 10254963b7b6Smrgdo 10264963b7b6Smrg for ac_arg 10274963b7b6Smrg do 10284963b7b6Smrg case $ac_arg in 10294963b7b6Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 10304963b7b6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10314963b7b6Smrg | -silent | --silent | --silen | --sile | --sil) 10324963b7b6Smrg continue ;; 10334963b7b6Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 10344963b7b6Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10354963b7b6Smrg esac 10364963b7b6Smrg case $ac_pass in 10374963b7b6Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 10384963b7b6Smrg 2) 10394963b7b6Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 10404963b7b6Smrg if test $ac_must_keep_next = true; then 10414963b7b6Smrg ac_must_keep_next=false # Got value, back to normal. 10424963b7b6Smrg else 10434963b7b6Smrg case $ac_arg in 10444963b7b6Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 10454963b7b6Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 10464963b7b6Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 10474963b7b6Smrg | -with-* | --with-* | -without-* | --without-* | --x) 10484963b7b6Smrg case "$ac_configure_args0 " in 10494963b7b6Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 10504963b7b6Smrg esac 10514963b7b6Smrg ;; 10524963b7b6Smrg -* ) ac_must_keep_next=true ;; 10534963b7b6Smrg esac 10544963b7b6Smrg fi 10554963b7b6Smrg ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 10564963b7b6Smrg # Get rid of the leading space. 10574963b7b6Smrg ac_sep=" " 10584963b7b6Smrg ;; 10594963b7b6Smrg esac 10604963b7b6Smrg done 10614963b7b6Smrgdone 10624963b7b6Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 10634963b7b6Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 10644963b7b6Smrg 10654963b7b6Smrg# When interrupted or exit'd, cleanup temporary files, and complete 10664963b7b6Smrg# config.log. We remove comments because anyway the quotes in there 10674963b7b6Smrg# would cause problems or look ugly. 10684963b7b6Smrg# WARNING: Be sure not to use single quotes in there, as some shells, 10694963b7b6Smrg# such as our DU 5.0 friend, will then `close' the trap. 10704963b7b6Smrgtrap 'exit_status=$? 10714963b7b6Smrg # Save into config.log some information that might help in debugging. 10724963b7b6Smrg { 10734963b7b6Smrg echo 10744963b7b6Smrg 10754963b7b6Smrg cat <<\_ASBOX 10764963b7b6Smrg## ---------------- ## 10774963b7b6Smrg## Cache variables. ## 10784963b7b6Smrg## ---------------- ## 10794963b7b6Smrg_ASBOX 10804963b7b6Smrg echo 10814963b7b6Smrg # The following way of writing the cache mishandles newlines in values, 10824963b7b6Smrg{ 10834963b7b6Smrg (set) 2>&1 | 10844963b7b6Smrg case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 10854963b7b6Smrg *ac_space=\ *) 10864963b7b6Smrg sed -n \ 10874963b7b6Smrg "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 10884963b7b6Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 10894963b7b6Smrg ;; 10904963b7b6Smrg *) 10914963b7b6Smrg sed -n \ 10924963b7b6Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 10934963b7b6Smrg ;; 10944963b7b6Smrg esac; 10954963b7b6Smrg} 10964963b7b6Smrg echo 10974963b7b6Smrg 10984963b7b6Smrg cat <<\_ASBOX 10994963b7b6Smrg## ----------------- ## 11004963b7b6Smrg## Output variables. ## 11014963b7b6Smrg## ----------------- ## 11024963b7b6Smrg_ASBOX 11034963b7b6Smrg echo 11044963b7b6Smrg for ac_var in $ac_subst_vars 11054963b7b6Smrg do 11064963b7b6Smrg eval ac_val=$`echo $ac_var` 11074963b7b6Smrg echo "$ac_var='"'"'$ac_val'"'"'" 11084963b7b6Smrg done | sort 11094963b7b6Smrg echo 11104963b7b6Smrg 11114963b7b6Smrg if test -n "$ac_subst_files"; then 11124963b7b6Smrg cat <<\_ASBOX 11134963b7b6Smrg## ------------- ## 11144963b7b6Smrg## Output files. ## 11154963b7b6Smrg## ------------- ## 11164963b7b6Smrg_ASBOX 11174963b7b6Smrg echo 11184963b7b6Smrg for ac_var in $ac_subst_files 11194963b7b6Smrg do 11204963b7b6Smrg eval ac_val=$`echo $ac_var` 11214963b7b6Smrg echo "$ac_var='"'"'$ac_val'"'"'" 11224963b7b6Smrg done | sort 11234963b7b6Smrg echo 11244963b7b6Smrg fi 11254963b7b6Smrg 11264963b7b6Smrg if test -s confdefs.h; then 11274963b7b6Smrg cat <<\_ASBOX 11284963b7b6Smrg## ----------- ## 11294963b7b6Smrg## confdefs.h. ## 11304963b7b6Smrg## ----------- ## 11314963b7b6Smrg_ASBOX 11324963b7b6Smrg echo 11334963b7b6Smrg sed "/^$/d" confdefs.h | sort 11344963b7b6Smrg echo 11354963b7b6Smrg fi 11364963b7b6Smrg test "$ac_signal" != 0 && 11374963b7b6Smrg echo "$as_me: caught signal $ac_signal" 11384963b7b6Smrg echo "$as_me: exit $exit_status" 11394963b7b6Smrg } >&5 11404963b7b6Smrg rm -f core *.core && 11414963b7b6Smrg rm -rf conftest* confdefs* conf$$* $ac_clean_files && 11424963b7b6Smrg exit $exit_status 11434963b7b6Smrg ' 0 11444963b7b6Smrgfor ac_signal in 1 2 13 15; do 11454963b7b6Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 11464963b7b6Smrgdone 11474963b7b6Smrgac_signal=0 11484963b7b6Smrg 11494963b7b6Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 11504963b7b6Smrgrm -rf conftest* confdefs.h 11514963b7b6Smrg# AIX cpp loses on an empty file, so make sure it contains at least a newline. 11524963b7b6Smrgecho >confdefs.h 11534963b7b6Smrg 11544963b7b6Smrg# Predefined preprocessor variables. 11554963b7b6Smrg 11564963b7b6Smrgcat >>confdefs.h <<_ACEOF 11574963b7b6Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 11584963b7b6Smrg_ACEOF 11594963b7b6Smrg 11604963b7b6Smrg 11614963b7b6Smrgcat >>confdefs.h <<_ACEOF 11624963b7b6Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 11634963b7b6Smrg_ACEOF 11644963b7b6Smrg 11654963b7b6Smrg 11664963b7b6Smrgcat >>confdefs.h <<_ACEOF 11674963b7b6Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 11684963b7b6Smrg_ACEOF 11694963b7b6Smrg 11704963b7b6Smrg 11714963b7b6Smrgcat >>confdefs.h <<_ACEOF 11724963b7b6Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 11734963b7b6Smrg_ACEOF 11744963b7b6Smrg 11754963b7b6Smrg 11764963b7b6Smrgcat >>confdefs.h <<_ACEOF 11774963b7b6Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 11784963b7b6Smrg_ACEOF 11794963b7b6Smrg 11804963b7b6Smrg 11814963b7b6Smrg# Let the site file select an alternate cache file if it wants to. 11824963b7b6Smrg# Prefer explicitly selected file to automatically selected ones. 11834963b7b6Smrgif test -z "$CONFIG_SITE"; then 11844963b7b6Smrg if test "x$prefix" != xNONE; then 11854963b7b6Smrg CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 11864963b7b6Smrg else 11874963b7b6Smrg CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 11884963b7b6Smrg fi 11894963b7b6Smrgfi 11904963b7b6Smrgfor ac_site_file in $CONFIG_SITE; do 11914963b7b6Smrg if test -r "$ac_site_file"; then 11924963b7b6Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 11934963b7b6Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 11944963b7b6Smrg sed 's/^/| /' "$ac_site_file" >&5 11954963b7b6Smrg . "$ac_site_file" 11964963b7b6Smrg fi 11974963b7b6Smrgdone 11984963b7b6Smrg 11994963b7b6Smrgif test -r "$cache_file"; then 12004963b7b6Smrg # Some versions of bash will fail to source /dev/null (special 12014963b7b6Smrg # files actually), so we avoid doing that. 12024963b7b6Smrg if test -f "$cache_file"; then 12034963b7b6Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 12044963b7b6Smrgecho "$as_me: loading cache $cache_file" >&6;} 12054963b7b6Smrg case $cache_file in 12064963b7b6Smrg [\\/]* | ?:[\\/]* ) . $cache_file;; 12074963b7b6Smrg *) . ./$cache_file;; 12084963b7b6Smrg esac 12094963b7b6Smrg fi 12104963b7b6Smrgelse 12114963b7b6Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 12124963b7b6Smrgecho "$as_me: creating cache $cache_file" >&6;} 12134963b7b6Smrg >$cache_file 12144963b7b6Smrgfi 12154963b7b6Smrg 12164963b7b6Smrg# Check that the precious variables saved in the cache have kept the same 12174963b7b6Smrg# value. 12184963b7b6Smrgac_cache_corrupted=false 12194963b7b6Smrgfor ac_var in `(set) 2>&1 | 12204963b7b6Smrg sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 12214963b7b6Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 12224963b7b6Smrg eval ac_new_set=\$ac_env_${ac_var}_set 12234963b7b6Smrg eval ac_old_val="\$ac_cv_env_${ac_var}_value" 12244963b7b6Smrg eval ac_new_val="\$ac_env_${ac_var}_value" 12254963b7b6Smrg case $ac_old_set,$ac_new_set in 12264963b7b6Smrg set,) 12274963b7b6Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 12284963b7b6Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 12294963b7b6Smrg ac_cache_corrupted=: ;; 12304963b7b6Smrg ,set) 12314963b7b6Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 12324963b7b6Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 12334963b7b6Smrg ac_cache_corrupted=: ;; 12344963b7b6Smrg ,);; 12354963b7b6Smrg *) 12364963b7b6Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 12374963b7b6Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 12384963b7b6Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 12394963b7b6Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 12404963b7b6Smrgecho "$as_me: former value: $ac_old_val" >&2;} 12414963b7b6Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 12424963b7b6Smrgecho "$as_me: current value: $ac_new_val" >&2;} 12434963b7b6Smrg ac_cache_corrupted=: 12444963b7b6Smrg fi;; 12454963b7b6Smrg esac 12464963b7b6Smrg # Pass precious variables to config.status. 12474963b7b6Smrg if test "$ac_new_set" = set; then 12484963b7b6Smrg case $ac_new_val in 12494963b7b6Smrg *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 12504963b7b6Smrg ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 12514963b7b6Smrg *) ac_arg=$ac_var=$ac_new_val ;; 12524963b7b6Smrg esac 12534963b7b6Smrg case " $ac_configure_args " in 12544963b7b6Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 12554963b7b6Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 12564963b7b6Smrg esac 12574963b7b6Smrg fi 12584963b7b6Smrgdone 12594963b7b6Smrgif $ac_cache_corrupted; then 12604963b7b6Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 12614963b7b6Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 12624963b7b6Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 12634963b7b6Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 12644963b7b6Smrg { (exit 1); exit 1; }; } 12654963b7b6Smrgfi 12664963b7b6Smrg 12674963b7b6Smrgac_ext=c 12684963b7b6Smrgac_cpp='$CPP $CPPFLAGS' 12694963b7b6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12704963b7b6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12714963b7b6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 12724963b7b6Smrg 12734963b7b6Smrg 12744963b7b6Smrg 12754963b7b6Smrg 12764963b7b6Smrg 12774963b7b6Smrg 12784963b7b6Smrg 12794963b7b6Smrg 12804963b7b6Smrg 12814963b7b6Smrg 12824963b7b6Smrg 12834963b7b6Smrg 12844963b7b6Smrg 12854963b7b6Smrg 12864963b7b6Smrg 12874963b7b6Smrg 12884963b7b6Smrg 12894963b7b6Smrg 12904963b7b6Smrg 12914963b7b6Smrg 12924963b7b6Smrg 12934963b7b6Smrg 12944963b7b6Smrg 12954963b7b6Smrg 12964963b7b6Smrg 12974963b7b6Smrg 12984963b7b6Smrg 12994963b7b6Smrgam__api_version="1.7" 13004963b7b6Smrgac_aux_dir= 13014963b7b6Smrgfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 13024963b7b6Smrg if test -f $ac_dir/install-sh; then 13034963b7b6Smrg ac_aux_dir=$ac_dir 13044963b7b6Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 13054963b7b6Smrg break 13064963b7b6Smrg elif test -f $ac_dir/install.sh; then 13074963b7b6Smrg ac_aux_dir=$ac_dir 13084963b7b6Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 13094963b7b6Smrg break 13104963b7b6Smrg elif test -f $ac_dir/shtool; then 13114963b7b6Smrg ac_aux_dir=$ac_dir 13124963b7b6Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 13134963b7b6Smrg break 13144963b7b6Smrg fi 13154963b7b6Smrgdone 13164963b7b6Smrgif test -z "$ac_aux_dir"; then 13174963b7b6Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 13184963b7b6Smrgecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 13194963b7b6Smrg { (exit 1); exit 1; }; } 13204963b7b6Smrgfi 13214963b7b6Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" 13224963b7b6Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" 13234963b7b6Smrgac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 13244963b7b6Smrg 13254963b7b6Smrg# Find a good install program. We prefer a C program (faster), 13264963b7b6Smrg# so one script is as good as another. But avoid the broken or 13274963b7b6Smrg# incompatible versions: 13284963b7b6Smrg# SysV /etc/install, /usr/sbin/install 13294963b7b6Smrg# SunOS /usr/etc/install 13304963b7b6Smrg# IRIX /sbin/install 13314963b7b6Smrg# AIX /bin/install 13324963b7b6Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 13334963b7b6Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 13344963b7b6Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 13354963b7b6Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 13364963b7b6Smrg# OS/2's system install, which has a completely different semantic 13374963b7b6Smrg# ./install, which can be erroneously created by make from ./install.sh. 13384963b7b6Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 13394963b7b6Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 13404963b7b6Smrgif test -z "$INSTALL"; then 13414963b7b6Smrgif test "${ac_cv_path_install+set}" = set; then 13424963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 13434963b7b6Smrgelse 13444963b7b6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13454963b7b6Smrgfor as_dir in $PATH 13464963b7b6Smrgdo 13474963b7b6Smrg IFS=$as_save_IFS 13484963b7b6Smrg test -z "$as_dir" && as_dir=. 13494963b7b6Smrg # Account for people who put trailing slashes in PATH elements. 13504963b7b6Smrgcase $as_dir/ in 13514963b7b6Smrg ./ | .// | /cC/* | \ 13524963b7b6Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 13534963b7b6Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 13544963b7b6Smrg /usr/ucb/* ) ;; 13554963b7b6Smrg *) 13564963b7b6Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 13574963b7b6Smrg # Don't use installbsd from OSF since it installs stuff as root 13584963b7b6Smrg # by default. 13594963b7b6Smrg for ac_prog in ginstall scoinst install; do 13604963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 13614963b7b6Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 13624963b7b6Smrg if test $ac_prog = install && 13634963b7b6Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 13644963b7b6Smrg # AIX install. It has an incompatible calling convention. 13654963b7b6Smrg : 13664963b7b6Smrg elif test $ac_prog = install && 13674963b7b6Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 13684963b7b6Smrg # program-specific install script used by HP pwplus--don't use. 13694963b7b6Smrg : 13704963b7b6Smrg else 13714963b7b6Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 13724963b7b6Smrg break 3 13734963b7b6Smrg fi 13744963b7b6Smrg fi 13754963b7b6Smrg done 13764963b7b6Smrg done 13774963b7b6Smrg ;; 13784963b7b6Smrgesac 13794963b7b6Smrgdone 13804963b7b6Smrg 13814963b7b6Smrg 13824963b7b6Smrgfi 13834963b7b6Smrg if test "${ac_cv_path_install+set}" = set; then 13844963b7b6Smrg INSTALL=$ac_cv_path_install 13854963b7b6Smrg else 13864963b7b6Smrg # As a last resort, use the slow shell script. We don't cache a 13874963b7b6Smrg # path for INSTALL within a source directory, because that will 13884963b7b6Smrg # break other packages using the cache if that directory is 13894963b7b6Smrg # removed, or if the path is relative. 13904963b7b6Smrg INSTALL=$ac_install_sh 13914963b7b6Smrg fi 13924963b7b6Smrgfi 13934963b7b6Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 13944963b7b6Smrgecho "${ECHO_T}$INSTALL" >&6 13954963b7b6Smrg 13964963b7b6Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 13974963b7b6Smrg# It thinks the first close brace ends the variable substitution. 13984963b7b6Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 13994963b7b6Smrg 14004963b7b6Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 14014963b7b6Smrg 14024963b7b6Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 14034963b7b6Smrg 14044963b7b6Smrgecho "$as_me:$LINENO: checking whether build environment is sane" >&5 14054963b7b6Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 14064963b7b6Smrg# Just in case 14074963b7b6Smrgsleep 1 14084963b7b6Smrgecho timestamp > conftest.file 14094963b7b6Smrg# Do `set' in a subshell so we don't clobber the current shell's 14104963b7b6Smrg# arguments. Must try -L first in case configure is actually a 14114963b7b6Smrg# symlink; some systems play weird games with the mod time of symlinks 14124963b7b6Smrg# (eg FreeBSD returns the mod time of the symlink's containing 14134963b7b6Smrg# directory). 14144963b7b6Smrgif ( 14154963b7b6Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 14164963b7b6Smrg if test "$*" = "X"; then 14174963b7b6Smrg # -L didn't work. 14184963b7b6Smrg set X `ls -t $srcdir/configure conftest.file` 14194963b7b6Smrg fi 14204963b7b6Smrg rm -f conftest.file 14214963b7b6Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 14224963b7b6Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 14234963b7b6Smrg 14244963b7b6Smrg # If neither matched, then we have a broken ls. This can happen 14254963b7b6Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 14264963b7b6Smrg # broken ls alias from the environment. This has actually 14274963b7b6Smrg # happened. Such a system could not be considered "sane". 14284963b7b6Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 14294963b7b6Smrgalias in your environment" >&5 14304963b7b6Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 14314963b7b6Smrgalias in your environment" >&2;} 14324963b7b6Smrg { (exit 1); exit 1; }; } 14334963b7b6Smrg fi 14344963b7b6Smrg 14354963b7b6Smrg test "$2" = conftest.file 14364963b7b6Smrg ) 14374963b7b6Smrgthen 14384963b7b6Smrg # Ok. 14394963b7b6Smrg : 14404963b7b6Smrgelse 14414963b7b6Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 14424963b7b6SmrgCheck your system clock" >&5 14434963b7b6Smrgecho "$as_me: error: newly created file is older than distributed files! 14444963b7b6SmrgCheck your system clock" >&2;} 14454963b7b6Smrg { (exit 1); exit 1; }; } 14464963b7b6Smrgfi 14474963b7b6Smrgecho "$as_me:$LINENO: result: yes" >&5 14484963b7b6Smrgecho "${ECHO_T}yes" >&6 14494963b7b6Smrgtest "$program_prefix" != NONE && 14504963b7b6Smrg program_transform_name="s,^,$program_prefix,;$program_transform_name" 14514963b7b6Smrg# Use a double $ so make ignores it. 14524963b7b6Smrgtest "$program_suffix" != NONE && 14534963b7b6Smrg program_transform_name="s,\$,$program_suffix,;$program_transform_name" 14544963b7b6Smrg# Double any \ or $. echo might interpret backslashes. 14554963b7b6Smrg# By default was `s,x,x', remove it if useless. 14564963b7b6Smrgcat <<\_ACEOF >conftest.sed 14574963b7b6Smrgs/[\\$]/&&/g;s/;s,x,x,$// 14584963b7b6Smrg_ACEOF 14594963b7b6Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 14604963b7b6Smrgrm conftest.sed 14614963b7b6Smrg 14624963b7b6Smrg 14634963b7b6Smrg# expand $ac_aux_dir to an absolute path 14644963b7b6Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 14654963b7b6Smrg 14664963b7b6Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 14674963b7b6Smrg# Use eval to expand $SHELL 14684963b7b6Smrgif eval "$MISSING --run true"; then 14694963b7b6Smrg am_missing_run="$MISSING --run " 14704963b7b6Smrgelse 14714963b7b6Smrg am_missing_run= 14724963b7b6Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 14734963b7b6Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 14744963b7b6Smrgfi 14754963b7b6Smrg 14764963b7b6Smrgfor ac_prog in gawk mawk nawk awk 14774963b7b6Smrgdo 14784963b7b6Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 14794963b7b6Smrgset dummy $ac_prog; ac_word=$2 14804963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 14814963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14824963b7b6Smrgif test "${ac_cv_prog_AWK+set}" = set; then 14834963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 14844963b7b6Smrgelse 14854963b7b6Smrg if test -n "$AWK"; then 14864963b7b6Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 14874963b7b6Smrgelse 14884963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14894963b7b6Smrgfor as_dir in $PATH 14904963b7b6Smrgdo 14914963b7b6Smrg IFS=$as_save_IFS 14924963b7b6Smrg test -z "$as_dir" && as_dir=. 14934963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 14944963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14954963b7b6Smrg ac_cv_prog_AWK="$ac_prog" 14964963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14974963b7b6Smrg break 2 14984963b7b6Smrg fi 14994963b7b6Smrgdone 15004963b7b6Smrgdone 15014963b7b6Smrg 15024963b7b6Smrgfi 15034963b7b6Smrgfi 15044963b7b6SmrgAWK=$ac_cv_prog_AWK 15054963b7b6Smrgif test -n "$AWK"; then 15064963b7b6Smrg echo "$as_me:$LINENO: result: $AWK" >&5 15074963b7b6Smrgecho "${ECHO_T}$AWK" >&6 15084963b7b6Smrgelse 15094963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 15104963b7b6Smrgecho "${ECHO_T}no" >&6 15114963b7b6Smrgfi 15124963b7b6Smrg 15134963b7b6Smrg test -n "$AWK" && break 15144963b7b6Smrgdone 15154963b7b6Smrg 15164963b7b6Smrgecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 15174963b7b6Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 15184963b7b6Smrgset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 15194963b7b6Smrgif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 15204963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 15214963b7b6Smrgelse 15224963b7b6Smrg cat >conftest.make <<\_ACEOF 15234963b7b6Smrgall: 15244963b7b6Smrg @echo 'ac_maketemp="$(MAKE)"' 15254963b7b6Smrg_ACEOF 15264963b7b6Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 15274963b7b6Smrgeval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 15284963b7b6Smrgif test -n "$ac_maketemp"; then 15294963b7b6Smrg eval ac_cv_prog_make_${ac_make}_set=yes 15304963b7b6Smrgelse 15314963b7b6Smrg eval ac_cv_prog_make_${ac_make}_set=no 15324963b7b6Smrgfi 15334963b7b6Smrgrm -f conftest.make 15344963b7b6Smrgfi 15354963b7b6Smrgif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 15364963b7b6Smrg echo "$as_me:$LINENO: result: yes" >&5 15374963b7b6Smrgecho "${ECHO_T}yes" >&6 15384963b7b6Smrg SET_MAKE= 15394963b7b6Smrgelse 15404963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 15414963b7b6Smrgecho "${ECHO_T}no" >&6 15424963b7b6Smrg SET_MAKE="MAKE=${MAKE-make}" 15434963b7b6Smrgfi 15444963b7b6Smrg 15454963b7b6Smrgrm -rf .tst 2>/dev/null 15464963b7b6Smrgmkdir .tst 2>/dev/null 15474963b7b6Smrgif test -d .tst; then 15484963b7b6Smrg am__leading_dot=. 15494963b7b6Smrgelse 15504963b7b6Smrg am__leading_dot=_ 15514963b7b6Smrgfi 15524963b7b6Smrgrmdir .tst 2>/dev/null 15534963b7b6Smrg 15544963b7b6Smrg # test to see if srcdir already configured 15554963b7b6Smrgif test "`cd $srcdir && pwd`" != "`pwd`" && 15564963b7b6Smrg test -f $srcdir/config.status; then 15574963b7b6Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 15584963b7b6Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 15594963b7b6Smrg { (exit 1); exit 1; }; } 15604963b7b6Smrgfi 15614963b7b6Smrg 15624963b7b6Smrg# test whether we have cygpath 15634963b7b6Smrgif test -z "$CYGPATH_W"; then 15644963b7b6Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 15654963b7b6Smrg CYGPATH_W='cygpath -w' 15664963b7b6Smrg else 15674963b7b6Smrg CYGPATH_W=echo 15684963b7b6Smrg fi 15694963b7b6Smrgfi 15704963b7b6Smrg 15714963b7b6Smrg 15724963b7b6Smrg# Define the identity of the package. 15734963b7b6Smrg PACKAGE='xsetmode' 15744963b7b6Smrg VERSION='1.0.0' 15754963b7b6Smrg 15764963b7b6Smrg 15774963b7b6Smrgcat >>confdefs.h <<_ACEOF 15784963b7b6Smrg#define PACKAGE "$PACKAGE" 15794963b7b6Smrg_ACEOF 15804963b7b6Smrg 15814963b7b6Smrg 15824963b7b6Smrgcat >>confdefs.h <<_ACEOF 15834963b7b6Smrg#define VERSION "$VERSION" 15844963b7b6Smrg_ACEOF 15854963b7b6Smrg 15864963b7b6Smrg# Some tools Automake needs. 15874963b7b6Smrg 15884963b7b6SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 15894963b7b6Smrg 15904963b7b6Smrg 15914963b7b6SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 15924963b7b6Smrg 15934963b7b6Smrg 15944963b7b6SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 15954963b7b6Smrg 15964963b7b6Smrg 15974963b7b6SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 15984963b7b6Smrg 15994963b7b6Smrg 16004963b7b6SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 16014963b7b6Smrg 16024963b7b6Smrg 16034963b7b6SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 16044963b7b6Smrg 16054963b7b6Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"} 16064963b7b6Smrg 16074963b7b6Smrg# Installed binaries are usually stripped using `strip' when the user 16084963b7b6Smrg# run `make install-strip'. However `strip' might not be the right 16094963b7b6Smrg# tool to use in cross-compilation environments, therefore Automake 16104963b7b6Smrg# will honor the `STRIP' environment variable to overrule this program. 16114963b7b6Smrgif test "$cross_compiling" != no; then 16124963b7b6Smrg if test -n "$ac_tool_prefix"; then 16134963b7b6Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 16144963b7b6Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 16154963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 16164963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 16174963b7b6Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 16184963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 16194963b7b6Smrgelse 16204963b7b6Smrg if test -n "$STRIP"; then 16214963b7b6Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 16224963b7b6Smrgelse 16234963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16244963b7b6Smrgfor as_dir in $PATH 16254963b7b6Smrgdo 16264963b7b6Smrg IFS=$as_save_IFS 16274963b7b6Smrg test -z "$as_dir" && as_dir=. 16284963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 16294963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16304963b7b6Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 16314963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 16324963b7b6Smrg break 2 16334963b7b6Smrg fi 16344963b7b6Smrgdone 16354963b7b6Smrgdone 16364963b7b6Smrg 16374963b7b6Smrgfi 16384963b7b6Smrgfi 16394963b7b6SmrgSTRIP=$ac_cv_prog_STRIP 16404963b7b6Smrgif test -n "$STRIP"; then 16414963b7b6Smrg echo "$as_me:$LINENO: result: $STRIP" >&5 16424963b7b6Smrgecho "${ECHO_T}$STRIP" >&6 16434963b7b6Smrgelse 16444963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 16454963b7b6Smrgecho "${ECHO_T}no" >&6 16464963b7b6Smrgfi 16474963b7b6Smrg 16484963b7b6Smrgfi 16494963b7b6Smrgif test -z "$ac_cv_prog_STRIP"; then 16504963b7b6Smrg ac_ct_STRIP=$STRIP 16514963b7b6Smrg # Extract the first word of "strip", so it can be a program name with args. 16524963b7b6Smrgset dummy strip; ac_word=$2 16534963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 16544963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 16554963b7b6Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 16564963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 16574963b7b6Smrgelse 16584963b7b6Smrg if test -n "$ac_ct_STRIP"; then 16594963b7b6Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 16604963b7b6Smrgelse 16614963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16624963b7b6Smrgfor as_dir in $PATH 16634963b7b6Smrgdo 16644963b7b6Smrg IFS=$as_save_IFS 16654963b7b6Smrg test -z "$as_dir" && as_dir=. 16664963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 16674963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16684963b7b6Smrg ac_cv_prog_ac_ct_STRIP="strip" 16694963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 16704963b7b6Smrg break 2 16714963b7b6Smrg fi 16724963b7b6Smrgdone 16734963b7b6Smrgdone 16744963b7b6Smrg 16754963b7b6Smrg test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 16764963b7b6Smrgfi 16774963b7b6Smrgfi 16784963b7b6Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 16794963b7b6Smrgif test -n "$ac_ct_STRIP"; then 16804963b7b6Smrg echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 16814963b7b6Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6 16824963b7b6Smrgelse 16834963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 16844963b7b6Smrgecho "${ECHO_T}no" >&6 16854963b7b6Smrgfi 16864963b7b6Smrg 16874963b7b6Smrg STRIP=$ac_ct_STRIP 16884963b7b6Smrgelse 16894963b7b6Smrg STRIP="$ac_cv_prog_STRIP" 16904963b7b6Smrgfi 16914963b7b6Smrg 16924963b7b6Smrgfi 16934963b7b6SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 16944963b7b6Smrg 16954963b7b6Smrg# We need awk for the "check" target. The system "awk" is bad on 16964963b7b6Smrg# some platforms. 16974963b7b6Smrg 16984963b7b6Smrg 16994963b7b6Smrg 17004963b7b6Smrgecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 17014963b7b6Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 17024963b7b6Smrg # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 17034963b7b6Smrgif test "${enable_maintainer_mode+set}" = set; then 17044963b7b6Smrg enableval="$enable_maintainer_mode" 17054963b7b6Smrg USE_MAINTAINER_MODE=$enableval 17064963b7b6Smrgelse 17074963b7b6Smrg USE_MAINTAINER_MODE=no 17084963b7b6Smrgfi; 17094963b7b6Smrg echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 17104963b7b6Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6 17114963b7b6Smrg 17124963b7b6Smrg 17134963b7b6Smrgif test $USE_MAINTAINER_MODE = yes; then 17144963b7b6Smrg MAINTAINER_MODE_TRUE= 17154963b7b6Smrg MAINTAINER_MODE_FALSE='#' 17164963b7b6Smrgelse 17174963b7b6Smrg MAINTAINER_MODE_TRUE='#' 17184963b7b6Smrg MAINTAINER_MODE_FALSE= 17194963b7b6Smrgfi 17204963b7b6Smrg 17214963b7b6Smrg MAINT=$MAINTAINER_MODE_TRUE 17224963b7b6Smrg 17234963b7b6Smrg 17244963b7b6Smrg 17254963b7b6Smrg ac_config_headers="$ac_config_headers config.h" 17264963b7b6Smrg 17274963b7b6Smrg 17284963b7b6Smrgac_ext=c 17294963b7b6Smrgac_cpp='$CPP $CPPFLAGS' 17304963b7b6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17314963b7b6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17324963b7b6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 17334963b7b6Smrgif test -n "$ac_tool_prefix"; then 17344963b7b6Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 17354963b7b6Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 17364963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 17374963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 17384963b7b6Smrgif test "${ac_cv_prog_CC+set}" = set; then 17394963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 17404963b7b6Smrgelse 17414963b7b6Smrg if test -n "$CC"; then 17424963b7b6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 17434963b7b6Smrgelse 17444963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17454963b7b6Smrgfor as_dir in $PATH 17464963b7b6Smrgdo 17474963b7b6Smrg IFS=$as_save_IFS 17484963b7b6Smrg test -z "$as_dir" && as_dir=. 17494963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 17504963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17514963b7b6Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 17524963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 17534963b7b6Smrg break 2 17544963b7b6Smrg fi 17554963b7b6Smrgdone 17564963b7b6Smrgdone 17574963b7b6Smrg 17584963b7b6Smrgfi 17594963b7b6Smrgfi 17604963b7b6SmrgCC=$ac_cv_prog_CC 17614963b7b6Smrgif test -n "$CC"; then 17624963b7b6Smrg echo "$as_me:$LINENO: result: $CC" >&5 17634963b7b6Smrgecho "${ECHO_T}$CC" >&6 17644963b7b6Smrgelse 17654963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 17664963b7b6Smrgecho "${ECHO_T}no" >&6 17674963b7b6Smrgfi 17684963b7b6Smrg 17694963b7b6Smrgfi 17704963b7b6Smrgif test -z "$ac_cv_prog_CC"; then 17714963b7b6Smrg ac_ct_CC=$CC 17724963b7b6Smrg # Extract the first word of "gcc", so it can be a program name with args. 17734963b7b6Smrgset dummy gcc; ac_word=$2 17744963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 17754963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 17764963b7b6Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 17774963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 17784963b7b6Smrgelse 17794963b7b6Smrg if test -n "$ac_ct_CC"; then 17804963b7b6Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 17814963b7b6Smrgelse 17824963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17834963b7b6Smrgfor as_dir in $PATH 17844963b7b6Smrgdo 17854963b7b6Smrg IFS=$as_save_IFS 17864963b7b6Smrg test -z "$as_dir" && as_dir=. 17874963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 17884963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17894963b7b6Smrg ac_cv_prog_ac_ct_CC="gcc" 17904963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 17914963b7b6Smrg break 2 17924963b7b6Smrg fi 17934963b7b6Smrgdone 17944963b7b6Smrgdone 17954963b7b6Smrg 17964963b7b6Smrgfi 17974963b7b6Smrgfi 17984963b7b6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 17994963b7b6Smrgif test -n "$ac_ct_CC"; then 18004963b7b6Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 18014963b7b6Smrgecho "${ECHO_T}$ac_ct_CC" >&6 18024963b7b6Smrgelse 18034963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 18044963b7b6Smrgecho "${ECHO_T}no" >&6 18054963b7b6Smrgfi 18064963b7b6Smrg 18074963b7b6Smrg CC=$ac_ct_CC 18084963b7b6Smrgelse 18094963b7b6Smrg CC="$ac_cv_prog_CC" 18104963b7b6Smrgfi 18114963b7b6Smrg 18124963b7b6Smrgif test -z "$CC"; then 18134963b7b6Smrg if test -n "$ac_tool_prefix"; then 18144963b7b6Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 18154963b7b6Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 18164963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 18174963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 18184963b7b6Smrgif test "${ac_cv_prog_CC+set}" = set; then 18194963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 18204963b7b6Smrgelse 18214963b7b6Smrg if test -n "$CC"; then 18224963b7b6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 18234963b7b6Smrgelse 18244963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18254963b7b6Smrgfor as_dir in $PATH 18264963b7b6Smrgdo 18274963b7b6Smrg IFS=$as_save_IFS 18284963b7b6Smrg test -z "$as_dir" && as_dir=. 18294963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 18304963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18314963b7b6Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 18324963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 18334963b7b6Smrg break 2 18344963b7b6Smrg fi 18354963b7b6Smrgdone 18364963b7b6Smrgdone 18374963b7b6Smrg 18384963b7b6Smrgfi 18394963b7b6Smrgfi 18404963b7b6SmrgCC=$ac_cv_prog_CC 18414963b7b6Smrgif test -n "$CC"; then 18424963b7b6Smrg echo "$as_me:$LINENO: result: $CC" >&5 18434963b7b6Smrgecho "${ECHO_T}$CC" >&6 18444963b7b6Smrgelse 18454963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 18464963b7b6Smrgecho "${ECHO_T}no" >&6 18474963b7b6Smrgfi 18484963b7b6Smrg 18494963b7b6Smrgfi 18504963b7b6Smrgif test -z "$ac_cv_prog_CC"; then 18514963b7b6Smrg ac_ct_CC=$CC 18524963b7b6Smrg # Extract the first word of "cc", so it can be a program name with args. 18534963b7b6Smrgset dummy cc; ac_word=$2 18544963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 18554963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 18564963b7b6Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 18574963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 18584963b7b6Smrgelse 18594963b7b6Smrg if test -n "$ac_ct_CC"; then 18604963b7b6Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 18614963b7b6Smrgelse 18624963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18634963b7b6Smrgfor as_dir in $PATH 18644963b7b6Smrgdo 18654963b7b6Smrg IFS=$as_save_IFS 18664963b7b6Smrg test -z "$as_dir" && as_dir=. 18674963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 18684963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 18694963b7b6Smrg ac_cv_prog_ac_ct_CC="cc" 18704963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 18714963b7b6Smrg break 2 18724963b7b6Smrg fi 18734963b7b6Smrgdone 18744963b7b6Smrgdone 18754963b7b6Smrg 18764963b7b6Smrgfi 18774963b7b6Smrgfi 18784963b7b6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 18794963b7b6Smrgif test -n "$ac_ct_CC"; then 18804963b7b6Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 18814963b7b6Smrgecho "${ECHO_T}$ac_ct_CC" >&6 18824963b7b6Smrgelse 18834963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 18844963b7b6Smrgecho "${ECHO_T}no" >&6 18854963b7b6Smrgfi 18864963b7b6Smrg 18874963b7b6Smrg CC=$ac_ct_CC 18884963b7b6Smrgelse 18894963b7b6Smrg CC="$ac_cv_prog_CC" 18904963b7b6Smrgfi 18914963b7b6Smrg 18924963b7b6Smrgfi 18934963b7b6Smrgif test -z "$CC"; then 18944963b7b6Smrg # Extract the first word of "cc", so it can be a program name with args. 18954963b7b6Smrgset dummy cc; ac_word=$2 18964963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 18974963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 18984963b7b6Smrgif test "${ac_cv_prog_CC+set}" = set; then 18994963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 19004963b7b6Smrgelse 19014963b7b6Smrg if test -n "$CC"; then 19024963b7b6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 19034963b7b6Smrgelse 19044963b7b6Smrg ac_prog_rejected=no 19054963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19064963b7b6Smrgfor as_dir in $PATH 19074963b7b6Smrgdo 19084963b7b6Smrg IFS=$as_save_IFS 19094963b7b6Smrg test -z "$as_dir" && as_dir=. 19104963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19114963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19124963b7b6Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 19134963b7b6Smrg ac_prog_rejected=yes 19144963b7b6Smrg continue 19154963b7b6Smrg fi 19164963b7b6Smrg ac_cv_prog_CC="cc" 19174963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19184963b7b6Smrg break 2 19194963b7b6Smrg fi 19204963b7b6Smrgdone 19214963b7b6Smrgdone 19224963b7b6Smrg 19234963b7b6Smrgif test $ac_prog_rejected = yes; then 19244963b7b6Smrg # We found a bogon in the path, so make sure we never use it. 19254963b7b6Smrg set dummy $ac_cv_prog_CC 19264963b7b6Smrg shift 19274963b7b6Smrg if test $# != 0; then 19284963b7b6Smrg # We chose a different compiler from the bogus one. 19294963b7b6Smrg # However, it has the same basename, so the bogon will be chosen 19304963b7b6Smrg # first if we set CC to just the basename; use the full file name. 19314963b7b6Smrg shift 19324963b7b6Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 19334963b7b6Smrg fi 19344963b7b6Smrgfi 19354963b7b6Smrgfi 19364963b7b6Smrgfi 19374963b7b6SmrgCC=$ac_cv_prog_CC 19384963b7b6Smrgif test -n "$CC"; then 19394963b7b6Smrg echo "$as_me:$LINENO: result: $CC" >&5 19404963b7b6Smrgecho "${ECHO_T}$CC" >&6 19414963b7b6Smrgelse 19424963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 19434963b7b6Smrgecho "${ECHO_T}no" >&6 19444963b7b6Smrgfi 19454963b7b6Smrg 19464963b7b6Smrgfi 19474963b7b6Smrgif test -z "$CC"; then 19484963b7b6Smrg if test -n "$ac_tool_prefix"; then 19494963b7b6Smrg for ac_prog in cl 19504963b7b6Smrg do 19514963b7b6Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 19524963b7b6Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 19534963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 19544963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19554963b7b6Smrgif test "${ac_cv_prog_CC+set}" = set; then 19564963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 19574963b7b6Smrgelse 19584963b7b6Smrg if test -n "$CC"; then 19594963b7b6Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 19604963b7b6Smrgelse 19614963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19624963b7b6Smrgfor as_dir in $PATH 19634963b7b6Smrgdo 19644963b7b6Smrg IFS=$as_save_IFS 19654963b7b6Smrg test -z "$as_dir" && as_dir=. 19664963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19674963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 19684963b7b6Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 19694963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19704963b7b6Smrg break 2 19714963b7b6Smrg fi 19724963b7b6Smrgdone 19734963b7b6Smrgdone 19744963b7b6Smrg 19754963b7b6Smrgfi 19764963b7b6Smrgfi 19774963b7b6SmrgCC=$ac_cv_prog_CC 19784963b7b6Smrgif test -n "$CC"; then 19794963b7b6Smrg echo "$as_me:$LINENO: result: $CC" >&5 19804963b7b6Smrgecho "${ECHO_T}$CC" >&6 19814963b7b6Smrgelse 19824963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 19834963b7b6Smrgecho "${ECHO_T}no" >&6 19844963b7b6Smrgfi 19854963b7b6Smrg 19864963b7b6Smrg test -n "$CC" && break 19874963b7b6Smrg done 19884963b7b6Smrgfi 19894963b7b6Smrgif test -z "$CC"; then 19904963b7b6Smrg ac_ct_CC=$CC 19914963b7b6Smrg for ac_prog in cl 19924963b7b6Smrgdo 19934963b7b6Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 19944963b7b6Smrgset dummy $ac_prog; ac_word=$2 19954963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 19964963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 19974963b7b6Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 19984963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 19994963b7b6Smrgelse 20004963b7b6Smrg if test -n "$ac_ct_CC"; then 20014963b7b6Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 20024963b7b6Smrgelse 20034963b7b6Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20044963b7b6Smrgfor as_dir in $PATH 20054963b7b6Smrgdo 20064963b7b6Smrg IFS=$as_save_IFS 20074963b7b6Smrg test -z "$as_dir" && as_dir=. 20084963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20094963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20104963b7b6Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 20114963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 20124963b7b6Smrg break 2 20134963b7b6Smrg fi 20144963b7b6Smrgdone 20154963b7b6Smrgdone 20164963b7b6Smrg 20174963b7b6Smrgfi 20184963b7b6Smrgfi 20194963b7b6Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 20204963b7b6Smrgif test -n "$ac_ct_CC"; then 20214963b7b6Smrg echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 20224963b7b6Smrgecho "${ECHO_T}$ac_ct_CC" >&6 20234963b7b6Smrgelse 20244963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 20254963b7b6Smrgecho "${ECHO_T}no" >&6 20264963b7b6Smrgfi 20274963b7b6Smrg 20284963b7b6Smrg test -n "$ac_ct_CC" && break 20294963b7b6Smrgdone 20304963b7b6Smrg 20314963b7b6Smrg CC=$ac_ct_CC 20324963b7b6Smrgfi 20334963b7b6Smrg 20344963b7b6Smrgfi 20354963b7b6Smrg 20364963b7b6Smrg 20374963b7b6Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 20384963b7b6SmrgSee \`config.log' for more details." >&5 20394963b7b6Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 20404963b7b6SmrgSee \`config.log' for more details." >&2;} 20414963b7b6Smrg { (exit 1); exit 1; }; } 20424963b7b6Smrg 20434963b7b6Smrg# Provide some information about the compiler. 20444963b7b6Smrgecho "$as_me:$LINENO:" \ 20454963b7b6Smrg "checking for C compiler version" >&5 20464963b7b6Smrgac_compiler=`set X $ac_compile; echo $2` 20474963b7b6Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 20484963b7b6Smrg (eval $ac_compiler --version </dev/null >&5) 2>&5 20494963b7b6Smrg ac_status=$? 20504963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 20514963b7b6Smrg (exit $ac_status); } 20524963b7b6Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 20534963b7b6Smrg (eval $ac_compiler -v </dev/null >&5) 2>&5 20544963b7b6Smrg ac_status=$? 20554963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 20564963b7b6Smrg (exit $ac_status); } 20574963b7b6Smrg{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 20584963b7b6Smrg (eval $ac_compiler -V </dev/null >&5) 2>&5 20594963b7b6Smrg ac_status=$? 20604963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 20614963b7b6Smrg (exit $ac_status); } 20624963b7b6Smrg 20634963b7b6Smrgcat >conftest.$ac_ext <<_ACEOF 20644963b7b6Smrg/* confdefs.h. */ 20654963b7b6Smrg_ACEOF 20664963b7b6Smrgcat confdefs.h >>conftest.$ac_ext 20674963b7b6Smrgcat >>conftest.$ac_ext <<_ACEOF 20684963b7b6Smrg/* end confdefs.h. */ 20694963b7b6Smrg 20704963b7b6Smrgint 20714963b7b6Smrgmain () 20724963b7b6Smrg{ 20734963b7b6Smrg 20744963b7b6Smrg ; 20754963b7b6Smrg return 0; 20764963b7b6Smrg} 20774963b7b6Smrg_ACEOF 20784963b7b6Smrgac_clean_files_save=$ac_clean_files 20794963b7b6Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 20804963b7b6Smrg# Try to create an executable without -o first, disregard a.out. 20814963b7b6Smrg# It will help us diagnose broken compilers, and finding out an intuition 20824963b7b6Smrg# of exeext. 20834963b7b6Smrgecho "$as_me:$LINENO: checking for C compiler default output file name" >&5 20844963b7b6Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 20854963b7b6Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 20864963b7b6Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 20874963b7b6Smrg (eval $ac_link_default) 2>&5 20884963b7b6Smrg ac_status=$? 20894963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 20904963b7b6Smrg (exit $ac_status); }; then 20914963b7b6Smrg # Find the output, starting from the most likely. This scheme is 20924963b7b6Smrg# not robust to junk in `.', hence go to wildcards (a.*) only as a last 20934963b7b6Smrg# resort. 20944963b7b6Smrg 20954963b7b6Smrg# Be careful to initialize this variable, since it used to be cached. 20964963b7b6Smrg# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 20974963b7b6Smrgac_cv_exeext= 20984963b7b6Smrg# b.out is created by i960 compilers. 20994963b7b6Smrgfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 21004963b7b6Smrgdo 21014963b7b6Smrg test -f "$ac_file" || continue 21024963b7b6Smrg case $ac_file in 21034963b7b6Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 21044963b7b6Smrg ;; 21054963b7b6Smrg conftest.$ac_ext ) 21064963b7b6Smrg # This is the source file. 21074963b7b6Smrg ;; 21084963b7b6Smrg [ab].out ) 21094963b7b6Smrg # We found the default executable, but exeext='' is most 21104963b7b6Smrg # certainly right. 21114963b7b6Smrg break;; 21124963b7b6Smrg *.* ) 21134963b7b6Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 21144963b7b6Smrg # FIXME: I believe we export ac_cv_exeext for Libtool, 21154963b7b6Smrg # but it would be cool to find out if it's true. Does anybody 21164963b7b6Smrg # maintain Libtool? --akim. 21174963b7b6Smrg export ac_cv_exeext 21184963b7b6Smrg break;; 21194963b7b6Smrg * ) 21204963b7b6Smrg break;; 21214963b7b6Smrg esac 21224963b7b6Smrgdone 21234963b7b6Smrgelse 21244963b7b6Smrg echo "$as_me: failed program was:" >&5 21254963b7b6Smrgsed 's/^/| /' conftest.$ac_ext >&5 21264963b7b6Smrg 21274963b7b6Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 21284963b7b6SmrgSee \`config.log' for more details." >&5 21294963b7b6Smrgecho "$as_me: error: C compiler cannot create executables 21304963b7b6SmrgSee \`config.log' for more details." >&2;} 21314963b7b6Smrg { (exit 77); exit 77; }; } 21324963b7b6Smrgfi 21334963b7b6Smrg 21344963b7b6Smrgac_exeext=$ac_cv_exeext 21354963b7b6Smrgecho "$as_me:$LINENO: result: $ac_file" >&5 21364963b7b6Smrgecho "${ECHO_T}$ac_file" >&6 21374963b7b6Smrg 21384963b7b6Smrg# Check the compiler produces executables we can run. If not, either 21394963b7b6Smrg# the compiler is broken, or we cross compile. 21404963b7b6Smrgecho "$as_me:$LINENO: checking whether the C compiler works" >&5 21414963b7b6Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 21424963b7b6Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 21434963b7b6Smrg# If not cross compiling, check that we can run a simple program. 21444963b7b6Smrgif test "$cross_compiling" != yes; then 21454963b7b6Smrg if { ac_try='./$ac_file' 21464963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21474963b7b6Smrg (eval $ac_try) 2>&5 21484963b7b6Smrg ac_status=$? 21494963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 21504963b7b6Smrg (exit $ac_status); }; }; then 21514963b7b6Smrg cross_compiling=no 21524963b7b6Smrg else 21534963b7b6Smrg if test "$cross_compiling" = maybe; then 21544963b7b6Smrg cross_compiling=yes 21554963b7b6Smrg else 21564963b7b6Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 21574963b7b6SmrgIf you meant to cross compile, use \`--host'. 21584963b7b6SmrgSee \`config.log' for more details." >&5 21594963b7b6Smrgecho "$as_me: error: cannot run C compiled programs. 21604963b7b6SmrgIf you meant to cross compile, use \`--host'. 21614963b7b6SmrgSee \`config.log' for more details." >&2;} 21624963b7b6Smrg { (exit 1); exit 1; }; } 21634963b7b6Smrg fi 21644963b7b6Smrg fi 21654963b7b6Smrgfi 21664963b7b6Smrgecho "$as_me:$LINENO: result: yes" >&5 21674963b7b6Smrgecho "${ECHO_T}yes" >&6 21684963b7b6Smrg 21694963b7b6Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 21704963b7b6Smrgac_clean_files=$ac_clean_files_save 21714963b7b6Smrg# Check the compiler produces executables we can run. If not, either 21724963b7b6Smrg# the compiler is broken, or we cross compile. 21734963b7b6Smrgecho "$as_me:$LINENO: checking whether we are cross compiling" >&5 21744963b7b6Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 21754963b7b6Smrgecho "$as_me:$LINENO: result: $cross_compiling" >&5 21764963b7b6Smrgecho "${ECHO_T}$cross_compiling" >&6 21774963b7b6Smrg 21784963b7b6Smrgecho "$as_me:$LINENO: checking for suffix of executables" >&5 21794963b7b6Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 21804963b7b6Smrgif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21814963b7b6Smrg (eval $ac_link) 2>&5 21824963b7b6Smrg ac_status=$? 21834963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 21844963b7b6Smrg (exit $ac_status); }; then 21854963b7b6Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 21864963b7b6Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 21874963b7b6Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 21884963b7b6Smrg# `rm'. 21894963b7b6Smrgfor ac_file in conftest.exe conftest conftest.*; do 21904963b7b6Smrg test -f "$ac_file" || continue 21914963b7b6Smrg case $ac_file in 21924963b7b6Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 21934963b7b6Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 21944963b7b6Smrg export ac_cv_exeext 21954963b7b6Smrg break;; 21964963b7b6Smrg * ) break;; 21974963b7b6Smrg esac 21984963b7b6Smrgdone 21994963b7b6Smrgelse 22004963b7b6Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 22014963b7b6SmrgSee \`config.log' for more details." >&5 22024963b7b6Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 22034963b7b6SmrgSee \`config.log' for more details." >&2;} 22044963b7b6Smrg { (exit 1); exit 1; }; } 22054963b7b6Smrgfi 22064963b7b6Smrg 22074963b7b6Smrgrm -f conftest$ac_cv_exeext 22084963b7b6Smrgecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5 22094963b7b6Smrgecho "${ECHO_T}$ac_cv_exeext" >&6 22104963b7b6Smrg 22114963b7b6Smrgrm -f conftest.$ac_ext 22124963b7b6SmrgEXEEXT=$ac_cv_exeext 22134963b7b6Smrgac_exeext=$EXEEXT 22144963b7b6Smrgecho "$as_me:$LINENO: checking for suffix of object files" >&5 22154963b7b6Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 22164963b7b6Smrgif test "${ac_cv_objext+set}" = set; then 22174963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 22184963b7b6Smrgelse 22194963b7b6Smrg cat >conftest.$ac_ext <<_ACEOF 22204963b7b6Smrg/* confdefs.h. */ 22214963b7b6Smrg_ACEOF 22224963b7b6Smrgcat confdefs.h >>conftest.$ac_ext 22234963b7b6Smrgcat >>conftest.$ac_ext <<_ACEOF 22244963b7b6Smrg/* end confdefs.h. */ 22254963b7b6Smrg 22264963b7b6Smrgint 22274963b7b6Smrgmain () 22284963b7b6Smrg{ 22294963b7b6Smrg 22304963b7b6Smrg ; 22314963b7b6Smrg return 0; 22324963b7b6Smrg} 22334963b7b6Smrg_ACEOF 22344963b7b6Smrgrm -f conftest.o conftest.obj 22354963b7b6Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22364963b7b6Smrg (eval $ac_compile) 2>&5 22374963b7b6Smrg ac_status=$? 22384963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 22394963b7b6Smrg (exit $ac_status); }; then 22404963b7b6Smrg for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 22414963b7b6Smrg case $ac_file in 22424963b7b6Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 22434963b7b6Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 22444963b7b6Smrg break;; 22454963b7b6Smrg esac 22464963b7b6Smrgdone 22474963b7b6Smrgelse 22484963b7b6Smrg echo "$as_me: failed program was:" >&5 22494963b7b6Smrgsed 's/^/| /' conftest.$ac_ext >&5 22504963b7b6Smrg 22514963b7b6Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 22524963b7b6SmrgSee \`config.log' for more details." >&5 22534963b7b6Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 22544963b7b6SmrgSee \`config.log' for more details." >&2;} 22554963b7b6Smrg { (exit 1); exit 1; }; } 22564963b7b6Smrgfi 22574963b7b6Smrg 22584963b7b6Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 22594963b7b6Smrgfi 22604963b7b6Smrgecho "$as_me:$LINENO: result: $ac_cv_objext" >&5 22614963b7b6Smrgecho "${ECHO_T}$ac_cv_objext" >&6 22624963b7b6SmrgOBJEXT=$ac_cv_objext 22634963b7b6Smrgac_objext=$OBJEXT 22644963b7b6Smrgecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 22654963b7b6Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 22664963b7b6Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 22674963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 22684963b7b6Smrgelse 22694963b7b6Smrg cat >conftest.$ac_ext <<_ACEOF 22704963b7b6Smrg/* confdefs.h. */ 22714963b7b6Smrg_ACEOF 22724963b7b6Smrgcat confdefs.h >>conftest.$ac_ext 22734963b7b6Smrgcat >>conftest.$ac_ext <<_ACEOF 22744963b7b6Smrg/* end confdefs.h. */ 22754963b7b6Smrg 22764963b7b6Smrgint 22774963b7b6Smrgmain () 22784963b7b6Smrg{ 22794963b7b6Smrg#ifndef __GNUC__ 22804963b7b6Smrg choke me 22814963b7b6Smrg#endif 22824963b7b6Smrg 22834963b7b6Smrg ; 22844963b7b6Smrg return 0; 22854963b7b6Smrg} 22864963b7b6Smrg_ACEOF 22874963b7b6Smrgrm -f conftest.$ac_objext 22884963b7b6Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 22894963b7b6Smrg (eval $ac_compile) 2>conftest.er1 22904963b7b6Smrg ac_status=$? 22914963b7b6Smrg grep -v '^ *+' conftest.er1 >conftest.err 22924963b7b6Smrg rm -f conftest.er1 22934963b7b6Smrg cat conftest.err >&5 22944963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 22954963b7b6Smrg (exit $ac_status); } && 22964963b7b6Smrg { ac_try='test -z "$ac_c_werror_flag" 22974963b7b6Smrg || test ! -s conftest.err' 22984963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22994963b7b6Smrg (eval $ac_try) 2>&5 23004963b7b6Smrg ac_status=$? 23014963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23024963b7b6Smrg (exit $ac_status); }; } && 23034963b7b6Smrg { ac_try='test -s conftest.$ac_objext' 23044963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23054963b7b6Smrg (eval $ac_try) 2>&5 23064963b7b6Smrg ac_status=$? 23074963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23084963b7b6Smrg (exit $ac_status); }; }; then 23094963b7b6Smrg ac_compiler_gnu=yes 23104963b7b6Smrgelse 23114963b7b6Smrg echo "$as_me: failed program was:" >&5 23124963b7b6Smrgsed 's/^/| /' conftest.$ac_ext >&5 23134963b7b6Smrg 23144963b7b6Smrgac_compiler_gnu=no 23154963b7b6Smrgfi 23164963b7b6Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23174963b7b6Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 23184963b7b6Smrg 23194963b7b6Smrgfi 23204963b7b6Smrgecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 23214963b7b6Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 23224963b7b6SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 23234963b7b6Smrgac_test_CFLAGS=${CFLAGS+set} 23244963b7b6Smrgac_save_CFLAGS=$CFLAGS 23254963b7b6SmrgCFLAGS="-g" 23264963b7b6Smrgecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5 23274963b7b6Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 23284963b7b6Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 23294963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 23304963b7b6Smrgelse 23314963b7b6Smrg cat >conftest.$ac_ext <<_ACEOF 23324963b7b6Smrg/* confdefs.h. */ 23334963b7b6Smrg_ACEOF 23344963b7b6Smrgcat confdefs.h >>conftest.$ac_ext 23354963b7b6Smrgcat >>conftest.$ac_ext <<_ACEOF 23364963b7b6Smrg/* end confdefs.h. */ 23374963b7b6Smrg 23384963b7b6Smrgint 23394963b7b6Smrgmain () 23404963b7b6Smrg{ 23414963b7b6Smrg 23424963b7b6Smrg ; 23434963b7b6Smrg return 0; 23444963b7b6Smrg} 23454963b7b6Smrg_ACEOF 23464963b7b6Smrgrm -f conftest.$ac_objext 23474963b7b6Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23484963b7b6Smrg (eval $ac_compile) 2>conftest.er1 23494963b7b6Smrg ac_status=$? 23504963b7b6Smrg grep -v '^ *+' conftest.er1 >conftest.err 23514963b7b6Smrg rm -f conftest.er1 23524963b7b6Smrg cat conftest.err >&5 23534963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23544963b7b6Smrg (exit $ac_status); } && 23554963b7b6Smrg { ac_try='test -z "$ac_c_werror_flag" 23564963b7b6Smrg || test ! -s conftest.err' 23574963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23584963b7b6Smrg (eval $ac_try) 2>&5 23594963b7b6Smrg ac_status=$? 23604963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23614963b7b6Smrg (exit $ac_status); }; } && 23624963b7b6Smrg { ac_try='test -s conftest.$ac_objext' 23634963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23644963b7b6Smrg (eval $ac_try) 2>&5 23654963b7b6Smrg ac_status=$? 23664963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 23674963b7b6Smrg (exit $ac_status); }; }; then 23684963b7b6Smrg ac_cv_prog_cc_g=yes 23694963b7b6Smrgelse 23704963b7b6Smrg echo "$as_me: failed program was:" >&5 23714963b7b6Smrgsed 's/^/| /' conftest.$ac_ext >&5 23724963b7b6Smrg 23734963b7b6Smrgac_cv_prog_cc_g=no 23744963b7b6Smrgfi 23754963b7b6Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23764963b7b6Smrgfi 23774963b7b6Smrgecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 23784963b7b6Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6 23794963b7b6Smrgif test "$ac_test_CFLAGS" = set; then 23804963b7b6Smrg CFLAGS=$ac_save_CFLAGS 23814963b7b6Smrgelif test $ac_cv_prog_cc_g = yes; then 23824963b7b6Smrg if test "$GCC" = yes; then 23834963b7b6Smrg CFLAGS="-g -O2" 23844963b7b6Smrg else 23854963b7b6Smrg CFLAGS="-g" 23864963b7b6Smrg fi 23874963b7b6Smrgelse 23884963b7b6Smrg if test "$GCC" = yes; then 23894963b7b6Smrg CFLAGS="-O2" 23904963b7b6Smrg else 23914963b7b6Smrg CFLAGS= 23924963b7b6Smrg fi 23934963b7b6Smrgfi 23944963b7b6Smrgecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 23954963b7b6Smrgecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 23964963b7b6Smrgif test "${ac_cv_prog_cc_stdc+set}" = set; then 23974963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 23984963b7b6Smrgelse 23994963b7b6Smrg ac_cv_prog_cc_stdc=no 24004963b7b6Smrgac_save_CC=$CC 24014963b7b6Smrgcat >conftest.$ac_ext <<_ACEOF 24024963b7b6Smrg/* confdefs.h. */ 24034963b7b6Smrg_ACEOF 24044963b7b6Smrgcat confdefs.h >>conftest.$ac_ext 24054963b7b6Smrgcat >>conftest.$ac_ext <<_ACEOF 24064963b7b6Smrg/* end confdefs.h. */ 24074963b7b6Smrg#include <stdarg.h> 24084963b7b6Smrg#include <stdio.h> 24094963b7b6Smrg#include <sys/types.h> 24104963b7b6Smrg#include <sys/stat.h> 24114963b7b6Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 24124963b7b6Smrgstruct buf { int x; }; 24134963b7b6SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 24144963b7b6Smrgstatic char *e (p, i) 24154963b7b6Smrg char **p; 24164963b7b6Smrg int i; 24174963b7b6Smrg{ 24184963b7b6Smrg return p[i]; 24194963b7b6Smrg} 24204963b7b6Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 24214963b7b6Smrg{ 24224963b7b6Smrg char *s; 24234963b7b6Smrg va_list v; 24244963b7b6Smrg va_start (v,p); 24254963b7b6Smrg s = g (p, va_arg (v,int)); 24264963b7b6Smrg va_end (v); 24274963b7b6Smrg return s; 24284963b7b6Smrg} 24294963b7b6Smrg 24304963b7b6Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 24314963b7b6Smrg function prototypes and stuff, but not '\xHH' hex character constants. 24324963b7b6Smrg These don't provoke an error unfortunately, instead are silently treated 24334963b7b6Smrg as 'x'. The following induces an error, until -std1 is added to get 24344963b7b6Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 24354963b7b6Smrg array size at least. It's necessary to write '\x00'==0 to get something 24364963b7b6Smrg that's true only with -std1. */ 24374963b7b6Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 24384963b7b6Smrg 24394963b7b6Smrgint test (int i, double x); 24404963b7b6Smrgstruct s1 {int (*f) (int a);}; 24414963b7b6Smrgstruct s2 {int (*f) (double a);}; 24424963b7b6Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 24434963b7b6Smrgint argc; 24444963b7b6Smrgchar **argv; 24454963b7b6Smrgint 24464963b7b6Smrgmain () 24474963b7b6Smrg{ 24484963b7b6Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 24494963b7b6Smrg ; 24504963b7b6Smrg return 0; 24514963b7b6Smrg} 24524963b7b6Smrg_ACEOF 24534963b7b6Smrg# Don't try gcc -ansi; that turns off useful extensions and 24544963b7b6Smrg# breaks some systems' header files. 24554963b7b6Smrg# AIX -qlanglvl=ansi 24564963b7b6Smrg# Ultrix and OSF/1 -std1 24574963b7b6Smrg# HP-UX 10.20 and later -Ae 24584963b7b6Smrg# HP-UX older versions -Aa -D_HPUX_SOURCE 24594963b7b6Smrg# SVR4 -Xc -D__EXTENSIONS__ 24604963b7b6Smrgfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 24614963b7b6Smrgdo 24624963b7b6Smrg CC="$ac_save_CC $ac_arg" 24634963b7b6Smrg rm -f conftest.$ac_objext 24644963b7b6Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24654963b7b6Smrg (eval $ac_compile) 2>conftest.er1 24664963b7b6Smrg ac_status=$? 24674963b7b6Smrg grep -v '^ *+' conftest.er1 >conftest.err 24684963b7b6Smrg rm -f conftest.er1 24694963b7b6Smrg cat conftest.err >&5 24704963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 24714963b7b6Smrg (exit $ac_status); } && 24724963b7b6Smrg { ac_try='test -z "$ac_c_werror_flag" 24734963b7b6Smrg || test ! -s conftest.err' 24744963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24754963b7b6Smrg (eval $ac_try) 2>&5 24764963b7b6Smrg ac_status=$? 24774963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 24784963b7b6Smrg (exit $ac_status); }; } && 24794963b7b6Smrg { ac_try='test -s conftest.$ac_objext' 24804963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24814963b7b6Smrg (eval $ac_try) 2>&5 24824963b7b6Smrg ac_status=$? 24834963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 24844963b7b6Smrg (exit $ac_status); }; }; then 24854963b7b6Smrg ac_cv_prog_cc_stdc=$ac_arg 24864963b7b6Smrgbreak 24874963b7b6Smrgelse 24884963b7b6Smrg echo "$as_me: failed program was:" >&5 24894963b7b6Smrgsed 's/^/| /' conftest.$ac_ext >&5 24904963b7b6Smrg 24914963b7b6Smrgfi 24924963b7b6Smrgrm -f conftest.err conftest.$ac_objext 24934963b7b6Smrgdone 24944963b7b6Smrgrm -f conftest.$ac_ext conftest.$ac_objext 24954963b7b6SmrgCC=$ac_save_CC 24964963b7b6Smrg 24974963b7b6Smrgfi 24984963b7b6Smrg 24994963b7b6Smrgcase "x$ac_cv_prog_cc_stdc" in 25004963b7b6Smrg x|xno) 25014963b7b6Smrg echo "$as_me:$LINENO: result: none needed" >&5 25024963b7b6Smrgecho "${ECHO_T}none needed" >&6 ;; 25034963b7b6Smrg *) 25044963b7b6Smrg echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 25054963b7b6Smrgecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 25064963b7b6Smrg CC="$CC $ac_cv_prog_cc_stdc" ;; 25074963b7b6Smrgesac 25084963b7b6Smrg 25094963b7b6Smrg# Some people use a C++ compiler to compile C. Since we use `exit', 25104963b7b6Smrg# in C++ we need to declare it. In case someone uses the same compiler 25114963b7b6Smrg# for both compiling C and C++ we need to have the C++ compiler decide 25124963b7b6Smrg# the declaration of exit, since it's the most demanding environment. 25134963b7b6Smrgcat >conftest.$ac_ext <<_ACEOF 25144963b7b6Smrg#ifndef __cplusplus 25154963b7b6Smrg choke me 25164963b7b6Smrg#endif 25174963b7b6Smrg_ACEOF 25184963b7b6Smrgrm -f conftest.$ac_objext 25194963b7b6Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 25204963b7b6Smrg (eval $ac_compile) 2>conftest.er1 25214963b7b6Smrg ac_status=$? 25224963b7b6Smrg grep -v '^ *+' conftest.er1 >conftest.err 25234963b7b6Smrg rm -f conftest.er1 25244963b7b6Smrg cat conftest.err >&5 25254963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25264963b7b6Smrg (exit $ac_status); } && 25274963b7b6Smrg { ac_try='test -z "$ac_c_werror_flag" 25284963b7b6Smrg || test ! -s conftest.err' 25294963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25304963b7b6Smrg (eval $ac_try) 2>&5 25314963b7b6Smrg ac_status=$? 25324963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25334963b7b6Smrg (exit $ac_status); }; } && 25344963b7b6Smrg { ac_try='test -s conftest.$ac_objext' 25354963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25364963b7b6Smrg (eval $ac_try) 2>&5 25374963b7b6Smrg ac_status=$? 25384963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25394963b7b6Smrg (exit $ac_status); }; }; then 25404963b7b6Smrg for ac_declaration in \ 25414963b7b6Smrg '' \ 25424963b7b6Smrg 'extern "C" void std::exit (int) throw (); using std::exit;' \ 25434963b7b6Smrg 'extern "C" void std::exit (int); using std::exit;' \ 25444963b7b6Smrg 'extern "C" void exit (int) throw ();' \ 25454963b7b6Smrg 'extern "C" void exit (int);' \ 25464963b7b6Smrg 'void exit (int);' 25474963b7b6Smrgdo 25484963b7b6Smrg cat >conftest.$ac_ext <<_ACEOF 25494963b7b6Smrg/* confdefs.h. */ 25504963b7b6Smrg_ACEOF 25514963b7b6Smrgcat confdefs.h >>conftest.$ac_ext 25524963b7b6Smrgcat >>conftest.$ac_ext <<_ACEOF 25534963b7b6Smrg/* end confdefs.h. */ 25544963b7b6Smrg$ac_declaration 25554963b7b6Smrg#include <stdlib.h> 25564963b7b6Smrgint 25574963b7b6Smrgmain () 25584963b7b6Smrg{ 25594963b7b6Smrgexit (42); 25604963b7b6Smrg ; 25614963b7b6Smrg return 0; 25624963b7b6Smrg} 25634963b7b6Smrg_ACEOF 25644963b7b6Smrgrm -f conftest.$ac_objext 25654963b7b6Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 25664963b7b6Smrg (eval $ac_compile) 2>conftest.er1 25674963b7b6Smrg ac_status=$? 25684963b7b6Smrg grep -v '^ *+' conftest.er1 >conftest.err 25694963b7b6Smrg rm -f conftest.er1 25704963b7b6Smrg cat conftest.err >&5 25714963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25724963b7b6Smrg (exit $ac_status); } && 25734963b7b6Smrg { ac_try='test -z "$ac_c_werror_flag" 25744963b7b6Smrg || test ! -s conftest.err' 25754963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25764963b7b6Smrg (eval $ac_try) 2>&5 25774963b7b6Smrg ac_status=$? 25784963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25794963b7b6Smrg (exit $ac_status); }; } && 25804963b7b6Smrg { ac_try='test -s conftest.$ac_objext' 25814963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 25824963b7b6Smrg (eval $ac_try) 2>&5 25834963b7b6Smrg ac_status=$? 25844963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25854963b7b6Smrg (exit $ac_status); }; }; then 25864963b7b6Smrg : 25874963b7b6Smrgelse 25884963b7b6Smrg echo "$as_me: failed program was:" >&5 25894963b7b6Smrgsed 's/^/| /' conftest.$ac_ext >&5 25904963b7b6Smrg 25914963b7b6Smrgcontinue 25924963b7b6Smrgfi 25934963b7b6Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 25944963b7b6Smrg cat >conftest.$ac_ext <<_ACEOF 25954963b7b6Smrg/* confdefs.h. */ 25964963b7b6Smrg_ACEOF 25974963b7b6Smrgcat confdefs.h >>conftest.$ac_ext 25984963b7b6Smrgcat >>conftest.$ac_ext <<_ACEOF 25994963b7b6Smrg/* end confdefs.h. */ 26004963b7b6Smrg$ac_declaration 26014963b7b6Smrgint 26024963b7b6Smrgmain () 26034963b7b6Smrg{ 26044963b7b6Smrgexit (42); 26054963b7b6Smrg ; 26064963b7b6Smrg return 0; 26074963b7b6Smrg} 26084963b7b6Smrg_ACEOF 26094963b7b6Smrgrm -f conftest.$ac_objext 26104963b7b6Smrgif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 26114963b7b6Smrg (eval $ac_compile) 2>conftest.er1 26124963b7b6Smrg ac_status=$? 26134963b7b6Smrg grep -v '^ *+' conftest.er1 >conftest.err 26144963b7b6Smrg rm -f conftest.er1 26154963b7b6Smrg cat conftest.err >&5 26164963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26174963b7b6Smrg (exit $ac_status); } && 26184963b7b6Smrg { ac_try='test -z "$ac_c_werror_flag" 26194963b7b6Smrg || test ! -s conftest.err' 26204963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26214963b7b6Smrg (eval $ac_try) 2>&5 26224963b7b6Smrg ac_status=$? 26234963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26244963b7b6Smrg (exit $ac_status); }; } && 26254963b7b6Smrg { ac_try='test -s conftest.$ac_objext' 26264963b7b6Smrg { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 26274963b7b6Smrg (eval $ac_try) 2>&5 26284963b7b6Smrg ac_status=$? 26294963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26304963b7b6Smrg (exit $ac_status); }; }; then 26314963b7b6Smrg break 26324963b7b6Smrgelse 26334963b7b6Smrg echo "$as_me: failed program was:" >&5 26344963b7b6Smrgsed 's/^/| /' conftest.$ac_ext >&5 26354963b7b6Smrg 26364963b7b6Smrgfi 26374963b7b6Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 26384963b7b6Smrgdone 26394963b7b6Smrgrm -f conftest* 26404963b7b6Smrgif test -n "$ac_declaration"; then 26414963b7b6Smrg echo '#ifdef __cplusplus' >>confdefs.h 26424963b7b6Smrg echo $ac_declaration >>confdefs.h 26434963b7b6Smrg echo '#endif' >>confdefs.h 26444963b7b6Smrgfi 26454963b7b6Smrg 26464963b7b6Smrgelse 26474963b7b6Smrg echo "$as_me: failed program was:" >&5 26484963b7b6Smrgsed 's/^/| /' conftest.$ac_ext >&5 26494963b7b6Smrg 26504963b7b6Smrgfi 26514963b7b6Smrgrm -f conftest.err conftest.$ac_objext conftest.$ac_ext 26524963b7b6Smrgac_ext=c 26534963b7b6Smrgac_cpp='$CPP $CPPFLAGS' 26544963b7b6Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26554963b7b6Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26564963b7b6Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26574963b7b6SmrgDEPDIR="${am__leading_dot}deps" 26584963b7b6Smrg 26594963b7b6Smrg ac_config_commands="$ac_config_commands depfiles" 26604963b7b6Smrg 26614963b7b6Smrg 26624963b7b6Smrgam_make=${MAKE-make} 26634963b7b6Smrgcat > confinc << 'END' 26644963b7b6Smrgam__doit: 26654963b7b6Smrg @echo done 26664963b7b6Smrg.PHONY: am__doit 26674963b7b6SmrgEND 26684963b7b6Smrg# If we don't find an include directive, just comment out the code. 26694963b7b6Smrgecho "$as_me:$LINENO: checking for style of include used by $am_make" >&5 26704963b7b6Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 26714963b7b6Smrgam__include="#" 26724963b7b6Smrgam__quote= 26734963b7b6Smrg_am_result=none 26744963b7b6Smrg# First try GNU make style include. 26754963b7b6Smrgecho "include confinc" > confmf 26764963b7b6Smrg# We grep out `Entering directory' and `Leaving directory' 26774963b7b6Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 26784963b7b6Smrg# In particular we don't look at `^make:' because GNU make might 26794963b7b6Smrg# be invoked under some other name (usually "gmake"), in which 26804963b7b6Smrg# case it prints its new name instead of `make'. 26814963b7b6Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 26824963b7b6Smrg am__include=include 26834963b7b6Smrg am__quote= 26844963b7b6Smrg _am_result=GNU 26854963b7b6Smrgfi 26864963b7b6Smrg# Now try BSD make style include. 26874963b7b6Smrgif test "$am__include" = "#"; then 26884963b7b6Smrg echo '.include "confinc"' > confmf 26894963b7b6Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 26904963b7b6Smrg am__include=.include 26914963b7b6Smrg am__quote="\"" 26924963b7b6Smrg _am_result=BSD 26934963b7b6Smrg fi 26944963b7b6Smrgfi 26954963b7b6Smrg 26964963b7b6Smrg 26974963b7b6Smrgecho "$as_me:$LINENO: result: $_am_result" >&5 26984963b7b6Smrgecho "${ECHO_T}$_am_result" >&6 26994963b7b6Smrgrm -f confinc confmf 27004963b7b6Smrg 27014963b7b6Smrg# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 27024963b7b6Smrgif test "${enable_dependency_tracking+set}" = set; then 27034963b7b6Smrg enableval="$enable_dependency_tracking" 27044963b7b6Smrg 27054963b7b6Smrgfi; 27064963b7b6Smrgif test "x$enable_dependency_tracking" != xno; then 27074963b7b6Smrg am_depcomp="$ac_aux_dir/depcomp" 27084963b7b6Smrg AMDEPBACKSLASH='\' 27094963b7b6Smrgfi 27104963b7b6Smrg 27114963b7b6Smrg 27124963b7b6Smrgif test "x$enable_dependency_tracking" != xno; then 27134963b7b6Smrg AMDEP_TRUE= 27144963b7b6Smrg AMDEP_FALSE='#' 27154963b7b6Smrgelse 27164963b7b6Smrg AMDEP_TRUE='#' 27174963b7b6Smrg AMDEP_FALSE= 27184963b7b6Smrgfi 27194963b7b6Smrg 27204963b7b6Smrg 27214963b7b6Smrg 27224963b7b6Smrg 27234963b7b6Smrgdepcc="$CC" am_compiler_list= 27244963b7b6Smrg 27254963b7b6Smrgecho "$as_me:$LINENO: checking dependency style of $depcc" >&5 27264963b7b6Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 27274963b7b6Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 27284963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 27294963b7b6Smrgelse 27304963b7b6Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 27314963b7b6Smrg # We make a subdir and do the tests there. Otherwise we can end up 27324963b7b6Smrg # making bogus files that we don't know about and never remove. For 27334963b7b6Smrg # instance it was reported that on HP-UX the gcc test will end up 27344963b7b6Smrg # making a dummy file named `D' -- because `-MD' means `put the output 27354963b7b6Smrg # in D'. 27364963b7b6Smrg mkdir conftest.dir 27374963b7b6Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 27384963b7b6Smrg # using a relative directory. 27394963b7b6Smrg cp "$am_depcomp" conftest.dir 27404963b7b6Smrg cd conftest.dir 27414963b7b6Smrg # We will build objects and dependencies in a subdirectory because 27424963b7b6Smrg # it helps to detect inapplicable dependency modes. For instance 27434963b7b6Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 27444963b7b6Smrg # side effect of compilation, but ICC will put the dependencies in 27454963b7b6Smrg # the current directory while Tru64 will put them in the object 27464963b7b6Smrg # directory. 27474963b7b6Smrg mkdir sub 27484963b7b6Smrg 27494963b7b6Smrg am_cv_CC_dependencies_compiler_type=none 27504963b7b6Smrg if test "$am_compiler_list" = ""; then 27514963b7b6Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 27524963b7b6Smrg fi 27534963b7b6Smrg for depmode in $am_compiler_list; do 27544963b7b6Smrg # Setup a source with many dependencies, because some compilers 27554963b7b6Smrg # like to wrap large dependency lists on column 80 (with \), and 27564963b7b6Smrg # we should not choose a depcomp mode which is confused by this. 27574963b7b6Smrg # 27584963b7b6Smrg # We need to recreate these files for each test, as the compiler may 27594963b7b6Smrg # overwrite some of them when testing with obscure command lines. 27604963b7b6Smrg # This happens at least with the AIX C compiler. 27614963b7b6Smrg : > sub/conftest.c 27624963b7b6Smrg for i in 1 2 3 4 5 6; do 27634963b7b6Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 27644963b7b6Smrg : > sub/conftst$i.h 27654963b7b6Smrg done 27664963b7b6Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 27674963b7b6Smrg 27684963b7b6Smrg case $depmode in 27694963b7b6Smrg nosideeffect) 27704963b7b6Smrg # after this tag, mechanisms are not by side-effect, so they'll 27714963b7b6Smrg # only be used when explicitly requested 27724963b7b6Smrg if test "x$enable_dependency_tracking" = xyes; then 27734963b7b6Smrg continue 27744963b7b6Smrg else 27754963b7b6Smrg break 27764963b7b6Smrg fi 27774963b7b6Smrg ;; 27784963b7b6Smrg none) break ;; 27794963b7b6Smrg esac 27804963b7b6Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 27814963b7b6Smrg # mode. It turns out that the SunPro C++ compiler does not properly 27824963b7b6Smrg # handle `-M -o', and we need to detect this. 27834963b7b6Smrg if depmode=$depmode \ 27844963b7b6Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 27854963b7b6Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 27864963b7b6Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 27874963b7b6Smrg >/dev/null 2>conftest.err && 27884963b7b6Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 27894963b7b6Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 27904963b7b6Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 27914963b7b6Smrg # icc doesn't choke on unknown options, it will just issue warnings 27924963b7b6Smrg # (even with -Werror). So we grep stderr for any message 27934963b7b6Smrg # that says an option was ignored. 27944963b7b6Smrg if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 27954963b7b6Smrg am_cv_CC_dependencies_compiler_type=$depmode 27964963b7b6Smrg break 27974963b7b6Smrg fi 27984963b7b6Smrg fi 27994963b7b6Smrg done 28004963b7b6Smrg 28014963b7b6Smrg cd .. 28024963b7b6Smrg rm -rf conftest.dir 28034963b7b6Smrgelse 28044963b7b6Smrg am_cv_CC_dependencies_compiler_type=none 28054963b7b6Smrgfi 28064963b7b6Smrg 28074963b7b6Smrgfi 28084963b7b6Smrgecho "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 28094963b7b6Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 28104963b7b6SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 28114963b7b6Smrg 28124963b7b6Smrg 28134963b7b6Smrg 28144963b7b6Smrgif 28154963b7b6Smrg test "x$enable_dependency_tracking" != xno \ 28164963b7b6Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 28174963b7b6Smrg am__fastdepCC_TRUE= 28184963b7b6Smrg am__fastdepCC_FALSE='#' 28194963b7b6Smrgelse 28204963b7b6Smrg am__fastdepCC_TRUE='#' 28214963b7b6Smrg am__fastdepCC_FALSE= 28224963b7b6Smrgfi 28234963b7b6Smrg 28244963b7b6Smrg 28254963b7b6Smrg# Find a good install program. We prefer a C program (faster), 28264963b7b6Smrg# so one script is as good as another. But avoid the broken or 28274963b7b6Smrg# incompatible versions: 28284963b7b6Smrg# SysV /etc/install, /usr/sbin/install 28294963b7b6Smrg# SunOS /usr/etc/install 28304963b7b6Smrg# IRIX /sbin/install 28314963b7b6Smrg# AIX /bin/install 28324963b7b6Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 28334963b7b6Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 28344963b7b6Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 28354963b7b6Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 28364963b7b6Smrg# OS/2's system install, which has a completely different semantic 28374963b7b6Smrg# ./install, which can be erroneously created by make from ./install.sh. 28384963b7b6Smrgecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5 28394963b7b6Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 28404963b7b6Smrgif test -z "$INSTALL"; then 28414963b7b6Smrgif test "${ac_cv_path_install+set}" = set; then 28424963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 28434963b7b6Smrgelse 28444963b7b6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28454963b7b6Smrgfor as_dir in $PATH 28464963b7b6Smrgdo 28474963b7b6Smrg IFS=$as_save_IFS 28484963b7b6Smrg test -z "$as_dir" && as_dir=. 28494963b7b6Smrg # Account for people who put trailing slashes in PATH elements. 28504963b7b6Smrgcase $as_dir/ in 28514963b7b6Smrg ./ | .// | /cC/* | \ 28524963b7b6Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 28534963b7b6Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 28544963b7b6Smrg /usr/ucb/* ) ;; 28554963b7b6Smrg *) 28564963b7b6Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 28574963b7b6Smrg # Don't use installbsd from OSF since it installs stuff as root 28584963b7b6Smrg # by default. 28594963b7b6Smrg for ac_prog in ginstall scoinst install; do 28604963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 28614963b7b6Smrg if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 28624963b7b6Smrg if test $ac_prog = install && 28634963b7b6Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 28644963b7b6Smrg # AIX install. It has an incompatible calling convention. 28654963b7b6Smrg : 28664963b7b6Smrg elif test $ac_prog = install && 28674963b7b6Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 28684963b7b6Smrg # program-specific install script used by HP pwplus--don't use. 28694963b7b6Smrg : 28704963b7b6Smrg else 28714963b7b6Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 28724963b7b6Smrg break 3 28734963b7b6Smrg fi 28744963b7b6Smrg fi 28754963b7b6Smrg done 28764963b7b6Smrg done 28774963b7b6Smrg ;; 28784963b7b6Smrgesac 28794963b7b6Smrgdone 28804963b7b6Smrg 28814963b7b6Smrg 28824963b7b6Smrgfi 28834963b7b6Smrg if test "${ac_cv_path_install+set}" = set; then 28844963b7b6Smrg INSTALL=$ac_cv_path_install 28854963b7b6Smrg else 28864963b7b6Smrg # As a last resort, use the slow shell script. We don't cache a 28874963b7b6Smrg # path for INSTALL within a source directory, because that will 28884963b7b6Smrg # break other packages using the cache if that directory is 28894963b7b6Smrg # removed, or if the path is relative. 28904963b7b6Smrg INSTALL=$ac_install_sh 28914963b7b6Smrg fi 28924963b7b6Smrgfi 28934963b7b6Smrgecho "$as_me:$LINENO: result: $INSTALL" >&5 28944963b7b6Smrgecho "${ECHO_T}$INSTALL" >&6 28954963b7b6Smrg 28964963b7b6Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 28974963b7b6Smrg# It thinks the first close brace ends the variable substitution. 28984963b7b6Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 28994963b7b6Smrg 29004963b7b6Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 29014963b7b6Smrg 29024963b7b6Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 29034963b7b6Smrg 29044963b7b6Smrg 29054963b7b6Smrg# Checks for pkg-config packages 29064963b7b6Smrg 29074963b7b6Smrg 29084963b7b6Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 29094963b7b6Smrg if test -n "$ac_tool_prefix"; then 29104963b7b6Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 29114963b7b6Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 29124963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 29134963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 29144963b7b6Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 29154963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 29164963b7b6Smrgelse 29174963b7b6Smrg case $PKG_CONFIG in 29184963b7b6Smrg [\\/]* | ?:[\\/]*) 29194963b7b6Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 29204963b7b6Smrg ;; 29214963b7b6Smrg *) 29224963b7b6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29234963b7b6Smrgfor as_dir in $PATH 29244963b7b6Smrgdo 29254963b7b6Smrg IFS=$as_save_IFS 29264963b7b6Smrg test -z "$as_dir" && as_dir=. 29274963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 29284963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 29294963b7b6Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 29304963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 29314963b7b6Smrg break 2 29324963b7b6Smrg fi 29334963b7b6Smrgdone 29344963b7b6Smrgdone 29354963b7b6Smrg 29364963b7b6Smrg ;; 29374963b7b6Smrgesac 29384963b7b6Smrgfi 29394963b7b6SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 29404963b7b6Smrg 29414963b7b6Smrgif test -n "$PKG_CONFIG"; then 29424963b7b6Smrg echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 29434963b7b6Smrgecho "${ECHO_T}$PKG_CONFIG" >&6 29444963b7b6Smrgelse 29454963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 29464963b7b6Smrgecho "${ECHO_T}no" >&6 29474963b7b6Smrgfi 29484963b7b6Smrg 29494963b7b6Smrgfi 29504963b7b6Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 29514963b7b6Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 29524963b7b6Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 29534963b7b6Smrgset dummy pkg-config; ac_word=$2 29544963b7b6Smrgecho "$as_me:$LINENO: checking for $ac_word" >&5 29554963b7b6Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6 29564963b7b6Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 29574963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 29584963b7b6Smrgelse 29594963b7b6Smrg case $ac_pt_PKG_CONFIG in 29604963b7b6Smrg [\\/]* | ?:[\\/]*) 29614963b7b6Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 29624963b7b6Smrg ;; 29634963b7b6Smrg *) 29644963b7b6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29654963b7b6Smrgfor as_dir in $PATH 29664963b7b6Smrgdo 29674963b7b6Smrg IFS=$as_save_IFS 29684963b7b6Smrg test -z "$as_dir" && as_dir=. 29694963b7b6Smrg for ac_exec_ext in '' $ac_executable_extensions; do 29704963b7b6Smrg if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 29714963b7b6Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 29724963b7b6Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 29734963b7b6Smrg break 2 29744963b7b6Smrg fi 29754963b7b6Smrgdone 29764963b7b6Smrgdone 29774963b7b6Smrg 29784963b7b6Smrg ;; 29794963b7b6Smrgesac 29804963b7b6Smrgfi 29814963b7b6Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 29824963b7b6Smrg 29834963b7b6Smrgif test -n "$ac_pt_PKG_CONFIG"; then 29844963b7b6Smrg echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 29854963b7b6Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 29864963b7b6Smrgelse 29874963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 29884963b7b6Smrgecho "${ECHO_T}no" >&6 29894963b7b6Smrgfi 29904963b7b6Smrg 29914963b7b6Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 29924963b7b6Smrgelse 29934963b7b6Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 29944963b7b6Smrgfi 29954963b7b6Smrg 29964963b7b6Smrgfi 29974963b7b6Smrgif test -n "$PKG_CONFIG"; then 29984963b7b6Smrg _pkg_min_version=0.9.0 29994963b7b6Smrg echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 30004963b7b6Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 30014963b7b6Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 30024963b7b6Smrg echo "$as_me:$LINENO: result: yes" >&5 30034963b7b6Smrgecho "${ECHO_T}yes" >&6 30044963b7b6Smrg else 30054963b7b6Smrg echo "$as_me:$LINENO: result: no" >&5 30064963b7b6Smrgecho "${ECHO_T}no" >&6 30074963b7b6Smrg PKG_CONFIG="" 30084963b7b6Smrg fi 30094963b7b6Smrg 30104963b7b6Smrgfi 30114963b7b6Smrg 30124963b7b6Smrgpkg_failed=no 30134963b7b6Smrgecho "$as_me:$LINENO: checking for XSETMODE" >&5 30144963b7b6Smrgecho $ECHO_N "checking for XSETMODE... $ECHO_C" >&6 30154963b7b6Smrg 30164963b7b6Smrgif test -n "$PKG_CONFIG"; then 30174963b7b6Smrg if test -n "$XSETMODE_CFLAGS"; then 30184963b7b6Smrg pkg_cv_XSETMODE_CFLAGS="$XSETMODE_CFLAGS" 30194963b7b6Smrg else 30204963b7b6Smrg if test -n "$PKG_CONFIG" && \ 30214963b7b6Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xi x11\"") >&5 30224963b7b6Smrg ($PKG_CONFIG --exists --print-errors "xi x11") 2>&5 30234963b7b6Smrg ac_status=$? 30244963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 30254963b7b6Smrg (exit $ac_status); }; then 30264963b7b6Smrg pkg_cv_XSETMODE_CFLAGS=`$PKG_CONFIG --cflags "xi x11" 2>/dev/null` 30274963b7b6Smrgelse 30284963b7b6Smrg pkg_failed=yes 30294963b7b6Smrgfi 30304963b7b6Smrg fi 30314963b7b6Smrgelse 30324963b7b6Smrg pkg_failed=untried 30334963b7b6Smrgfi 30344963b7b6Smrgif test -n "$PKG_CONFIG"; then 30354963b7b6Smrg if test -n "$XSETMODE_LIBS"; then 30364963b7b6Smrg pkg_cv_XSETMODE_LIBS="$XSETMODE_LIBS" 30374963b7b6Smrg else 30384963b7b6Smrg if test -n "$PKG_CONFIG" && \ 30394963b7b6Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xi x11\"") >&5 30404963b7b6Smrg ($PKG_CONFIG --exists --print-errors "xi x11") 2>&5 30414963b7b6Smrg ac_status=$? 30424963b7b6Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 30434963b7b6Smrg (exit $ac_status); }; then 30444963b7b6Smrg pkg_cv_XSETMODE_LIBS=`$PKG_CONFIG --libs "xi x11" 2>/dev/null` 30454963b7b6Smrgelse 30464963b7b6Smrg pkg_failed=yes 30474963b7b6Smrgfi 30484963b7b6Smrg fi 30494963b7b6Smrgelse 30504963b7b6Smrg pkg_failed=untried 30514963b7b6Smrgfi 30524963b7b6Smrg 30534963b7b6Smrg 30544963b7b6Smrg 30554963b7b6Smrgif test $pkg_failed = yes; then 30564963b7b6Smrg 30574963b7b6Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30584963b7b6Smrg _pkg_short_errors_supported=yes 30594963b7b6Smrgelse 30604963b7b6Smrg _pkg_short_errors_supported=no 30614963b7b6Smrgfi 30624963b7b6Smrg if test $_pkg_short_errors_supported = yes; then 30634963b7b6Smrg XSETMODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xi x11"` 30644963b7b6Smrg else 30654963b7b6Smrg XSETMODE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xi x11"` 30664963b7b6Smrg fi 30674963b7b6Smrg # Put the nasty error message in config.log where it belongs 30684963b7b6Smrg echo "$XSETMODE_PKG_ERRORS" >&5 30694963b7b6Smrg 30704963b7b6Smrg { { echo "$as_me:$LINENO: error: Package requirements (xi x11) were not met: 30714963b7b6Smrg 30724963b7b6Smrg$XSETMODE_PKG_ERRORS 30734963b7b6Smrg 30744963b7b6SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 30754963b7b6Smrginstalled software in a non-standard prefix. 30764963b7b6Smrg 30774963b7b6SmrgAlternatively, you may set the environment variables XSETMODE_CFLAGS 30784963b7b6Smrgand XSETMODE_LIBS to avoid the need to call pkg-config. 30794963b7b6SmrgSee the pkg-config man page for more details. 30804963b7b6Smrg" >&5 30814963b7b6Smrgecho "$as_me: error: Package requirements (xi x11) were not met: 30824963b7b6Smrg 30834963b7b6Smrg$XSETMODE_PKG_ERRORS 30844963b7b6Smrg 30854963b7b6SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 30864963b7b6Smrginstalled software in a non-standard prefix. 30874963b7b6Smrg 30884963b7b6SmrgAlternatively, you may set the environment variables XSETMODE_CFLAGS 30894963b7b6Smrgand XSETMODE_LIBS to avoid the need to call pkg-config. 30904963b7b6SmrgSee the pkg-config man page for more details. 30914963b7b6Smrg" >&2;} 30924963b7b6Smrg { (exit 1); exit 1; }; } 30934963b7b6Smrgelif test $pkg_failed = untried; then 30944963b7b6Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 30954963b7b6Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 30964963b7b6Smrgpath to pkg-config. 30974963b7b6Smrg 30984963b7b6SmrgAlternatively, you may set the environment variables XSETMODE_CFLAGS 30994963b7b6Smrgand XSETMODE_LIBS to avoid the need to call pkg-config. 31004963b7b6SmrgSee the pkg-config man page for more details. 31014963b7b6Smrg 31024963b7b6SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 31034963b7b6SmrgSee \`config.log' for more details." >&5 31044963b7b6Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 31054963b7b6Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 31064963b7b6Smrgpath to pkg-config. 31074963b7b6Smrg 31084963b7b6SmrgAlternatively, you may set the environment variables XSETMODE_CFLAGS 31094963b7b6Smrgand XSETMODE_LIBS to avoid the need to call pkg-config. 31104963b7b6SmrgSee the pkg-config man page for more details. 31114963b7b6Smrg 31124963b7b6SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 31134963b7b6SmrgSee \`config.log' for more details." >&2;} 31144963b7b6Smrg { (exit 1); exit 1; }; } 31154963b7b6Smrgelse 31164963b7b6Smrg XSETMODE_CFLAGS=$pkg_cv_XSETMODE_CFLAGS 31174963b7b6Smrg XSETMODE_LIBS=$pkg_cv_XSETMODE_LIBS 31184963b7b6Smrg echo "$as_me:$LINENO: result: yes" >&5 31194963b7b6Smrgecho "${ECHO_T}yes" >&6 31204963b7b6Smrg : 31214963b7b6Smrgfi 31224963b7b6Smrg 31234963b7b6Smrg 31244963b7b6Smrg 31254963b7b6Smrg# Make sure we can run config.sub. 31264963b7b6Smrg$ac_config_sub sun4 >/dev/null 2>&1 || 31274963b7b6Smrg { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 31284963b7b6Smrgecho "$as_me: error: cannot run $ac_config_sub" >&2;} 31294963b7b6Smrg { (exit 1); exit 1; }; } 31304963b7b6Smrg 31314963b7b6Smrgecho "$as_me:$LINENO: checking build system type" >&5 31324963b7b6Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6 31334963b7b6Smrgif test "${ac_cv_build+set}" = set; then 31344963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 31354963b7b6Smrgelse 31364963b7b6Smrg ac_cv_build_alias=$build_alias 31374963b7b6Smrgtest -z "$ac_cv_build_alias" && 31384963b7b6Smrg ac_cv_build_alias=`$ac_config_guess` 31394963b7b6Smrgtest -z "$ac_cv_build_alias" && 31404963b7b6Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 31414963b7b6Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 31424963b7b6Smrg { (exit 1); exit 1; }; } 31434963b7b6Smrgac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 31444963b7b6Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 31454963b7b6Smrgecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 31464963b7b6Smrg { (exit 1); exit 1; }; } 31474963b7b6Smrg 31484963b7b6Smrgfi 31494963b7b6Smrgecho "$as_me:$LINENO: result: $ac_cv_build" >&5 31504963b7b6Smrgecho "${ECHO_T}$ac_cv_build" >&6 31514963b7b6Smrgbuild=$ac_cv_build 31524963b7b6Smrgbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 31534963b7b6Smrgbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 31544963b7b6Smrgbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 31554963b7b6Smrg 31564963b7b6Smrg 31574963b7b6Smrgecho "$as_me:$LINENO: checking host system type" >&5 31584963b7b6Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6 31594963b7b6Smrgif test "${ac_cv_host+set}" = set; then 31604963b7b6Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 31614963b7b6Smrgelse 31624963b7b6Smrg ac_cv_host_alias=$host_alias 31634963b7b6Smrgtest -z "$ac_cv_host_alias" && 31644963b7b6Smrg ac_cv_host_alias=$ac_cv_build_alias 31654963b7b6Smrgac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 31664963b7b6Smrg { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 31674963b7b6Smrgecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 31684963b7b6Smrg { (exit 1); exit 1; }; } 31694963b7b6Smrg 31704963b7b6Smrgfi 31714963b7b6Smrgecho "$as_me:$LINENO: result: $ac_cv_host" >&5 31724963b7b6Smrgecho "${ECHO_T}$ac_cv_host" >&6 31734963b7b6Smrghost=$ac_cv_host 31744963b7b6Smrghost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 31754963b7b6Smrghost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 31764963b7b6Smrghost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 31774963b7b6Smrg 31784963b7b6Smrg 31794963b7b6Smrg 31804963b7b6Smrg 31814963b7b6Smrg 31824963b7b6Smrgif test x$APP_MAN_SUFFIX = x ; then 31834963b7b6Smrg case $host_os in 31844963b7b6Smrg linux*) APP_MAN_SUFFIX=1x ;; 31854963b7b6Smrg *) APP_MAN_SUFFIX=1 ;; 31864963b7b6Smrg esac 31874963b7b6Smrgfi 31884963b7b6Smrgif test x$APP_MAN_DIR = x ; then 31894963b7b6Smrg case $host_os in 31904963b7b6Smrg linux*) APP_MAN_DIR='$(mandir)/man1' ;; 31914963b7b6Smrg *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;; 31924963b7b6Smrg esac 31934963b7b6Smrgfi 31944963b7b6Smrg 31954963b7b6Smrgif test x$LIB_MAN_SUFFIX = x ; then 31964963b7b6Smrg case $host_os in 31974963b7b6Smrg linux*) LIB_MAN_SUFFIX=3x ;; 31984963b7b6Smrg *) LIB_MAN_SUFFIX=3 ;; 31994963b7b6Smrg esac 32004963b7b6Smrgfi 32014963b7b6Smrgif test x$LIB_MAN_DIR = x ; then 32024963b7b6Smrg case $host_os in 32034963b7b6Smrg linux*) LIB_MAN_DIR='$(mandir)/man3' ;; 32044963b7b6Smrg *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;; 32054963b7b6Smrg esac 32064963b7b6Smrgfi 32074963b7b6Smrg 32084963b7b6Smrgif test x$FILE_MAN_SUFFIX = x ; then 32094963b7b6Smrg case $host_os in 32104963b7b6Smrg linux*) FILE_MAN_SUFFIX=5x ;; 32114963b7b6Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 32124963b7b6Smrg *) FILE_MAN_SUFFIX=5 ;; 32134963b7b6Smrg esac 32144963b7b6Smrgfi 32154963b7b6Smrgif test x$FILE_MAN_DIR = x ; then 32164963b7b6Smrg case $host_os in 32174963b7b6Smrg linux*) FILE_MAN_DIR='$(mandir)/man5' ;; 32184963b7b6Smrg *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;; 32194963b7b6Smrg esac 32204963b7b6Smrgfi 32214963b7b6Smrg 32224963b7b6Smrg# In Imake's linux.cf, the misc man suffix & dir was only changed for 32234963b7b6Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 32244963b7b6Smrgif test x$MISC_MAN_SUFFIX = x ; then 32254963b7b6Smrg case $host_os in 32264963b7b6Smrg# linux*) MISC_MAN_SUFFIX=7x ;; 32274963b7b6Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 32284963b7b6Smrg *) MISC_MAN_SUFFIX=7 ;; 32294963b7b6Smrg esac 32304963b7b6Smrgfi 32314963b7b6Smrgif test x$MISC_MAN_DIR = x ; then 32324963b7b6Smrg case $host_os in 32334963b7b6Smrg# linux*) MISC_MAN_DIR='$(mandir)/man7' ;; 32344963b7b6Smrg *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;; 32354963b7b6Smrg esac 32364963b7b6Smrgfi 32374963b7b6Smrg 32384963b7b6Smrg# In Imake's linux.cf, the driver man suffix & dir was only changed for 32394963b7b6Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 32404963b7b6Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 32414963b7b6Smrg case $host_os in 32424963b7b6Smrg# linux*) DRIVER_MAN_SUFFIX=4x ;; 32434963b7b6Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 32444963b7b6Smrg *) DRIVER_MAN_SUFFIX=4 ;; 32454963b7b6Smrg esac 32464963b7b6Smrgfi 32474963b7b6Smrgif test x$DRIVER_MAN_DIR = x ; then 32484963b7b6Smrg case $host_os in 32494963b7b6Smrg# linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;; 32504963b7b6Smrg *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;; 32514963b7b6Smrg esac 32524963b7b6Smrgfi 32534963b7b6Smrg 32544963b7b6Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 32554963b7b6Smrg case $host_os in 32564963b7b6Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 32574963b7b6Smrg *) ADMIN_MAN_SUFFIX=8 ;; 32584963b7b6Smrg esac 32594963b7b6Smrgfi 32604963b7b6Smrgif test x$ADMIN_MAN_DIR = x ; then 32614963b7b6Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 32624963b7b6Smrgfi 32634963b7b6Smrg 32644963b7b6Smrg 32654963b7b6Smrg 32664963b7b6Smrg 32674963b7b6Smrg 32684963b7b6Smrg 32694963b7b6Smrg 32704963b7b6Smrg 32714963b7b6Smrg 32724963b7b6Smrg 32734963b7b6Smrg 32744963b7b6Smrg 32754963b7b6Smrg 32764963b7b6Smrg 32774963b7b6Smrg 32784963b7b6Smrg 32794963b7b6Smrg 32804963b7b6Smrg# Check whether --with-release-version or --without-release-version was given. 32814963b7b6Smrgif test "${with_release_version+set}" = set; then 32824963b7b6Smrg withval="$with_release_version" 32834963b7b6Smrg RELEASE_VERSION="$withval" 32844963b7b6Smrgelse 32854963b7b6Smrg RELEASE_VERSION="" 32864963b7b6Smrgfi; 32874963b7b6Smrg if test "x$RELEASE_VERSION" != "x"; then 32884963b7b6Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 32894963b7b6Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 32904963b7b6Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 32914963b7b6Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 32924963b7b6Smrg fi 32934963b7b6Smrg 32944963b7b6Smrg 32954963b7b6Smrg ac_config_files="$ac_config_files Makefile" 32964963b7b6Smrgcat >confcache <<\_ACEOF 32974963b7b6Smrg# This file is a shell script that caches the results of configure 32984963b7b6Smrg# tests run on this system so they can be shared between configure 32994963b7b6Smrg# scripts and configure runs, see configure's option --config-cache. 33004963b7b6Smrg# It is not useful on other systems. If it contains results you don't 33014963b7b6Smrg# want to keep, you may remove or edit it. 33024963b7b6Smrg# 33034963b7b6Smrg# config.status only pays attention to the cache file if you give it 33044963b7b6Smrg# the --recheck option to rerun configure. 33054963b7b6Smrg# 33064963b7b6Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 33074963b7b6Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 33084963b7b6Smrg# following values. 33094963b7b6Smrg 33104963b7b6Smrg_ACEOF 33114963b7b6Smrg 33124963b7b6Smrg# The following way of writing the cache mishandles newlines in values, 33134963b7b6Smrg# but we know of no workaround that is simple, portable, and efficient. 33144963b7b6Smrg# So, don't put newlines in cache variables' values. 33154963b7b6Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 33164963b7b6Smrg# and sets the high bit in the cache file unless we assign to the vars. 33174963b7b6Smrg{ 33184963b7b6Smrg (set) 2>&1 | 33194963b7b6Smrg case `(ac_space=' '; set | grep ac_space) 2>&1` in 33204963b7b6Smrg *ac_space=\ *) 33214963b7b6Smrg # `set' does not quote correctly, so add quotes (double-quote 33224963b7b6Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 33234963b7b6Smrg sed -n \ 33244963b7b6Smrg "s/'/'\\\\''/g; 33254963b7b6Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 33264963b7b6Smrg ;; 33274963b7b6Smrg *) 33284963b7b6Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 33294963b7b6Smrg sed -n \ 33304963b7b6Smrg "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 33314963b7b6Smrg ;; 33324963b7b6Smrg esac; 33334963b7b6Smrg} | 33344963b7b6Smrg sed ' 33354963b7b6Smrg t clear 33364963b7b6Smrg : clear 33374963b7b6Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 33384963b7b6Smrg t end 33394963b7b6Smrg /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 33404963b7b6Smrg : end' >>confcache 33414963b7b6Smrgif diff $cache_file confcache >/dev/null 2>&1; then :; else 33424963b7b6Smrg if test -w $cache_file; then 33434963b7b6Smrg test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 33444963b7b6Smrg cat confcache >$cache_file 33454963b7b6Smrg else 33464963b7b6Smrg echo "not updating unwritable cache $cache_file" 33474963b7b6Smrg fi 33484963b7b6Smrgfi 33494963b7b6Smrgrm -f confcache 33504963b7b6Smrg 33514963b7b6Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 33524963b7b6Smrg# Let make expand exec_prefix. 33534963b7b6Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 33544963b7b6Smrg 33554963b7b6Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 33564963b7b6Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 33574963b7b6Smrg# trailing colons and then remove the whole line if VPATH becomes empty 33584963b7b6Smrg# (actually we leave an empty line to preserve line numbers). 33594963b7b6Smrgif test "x$srcdir" = x.; then 33604963b7b6Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 33614963b7b6Smrgs/:*\$(srcdir):*/:/; 33624963b7b6Smrgs/:*\${srcdir}:*/:/; 33634963b7b6Smrgs/:*@srcdir@:*/:/; 33644963b7b6Smrgs/^\([^=]*=[ ]*\):*/\1/; 33654963b7b6Smrgs/:*$//; 33664963b7b6Smrgs/^[^=]*=[ ]*$//; 33674963b7b6Smrg}' 33684963b7b6Smrgfi 33694963b7b6Smrg 33704963b7b6SmrgDEFS=-DHAVE_CONFIG_H 33714963b7b6Smrg 33724963b7b6Smrgac_libobjs= 33734963b7b6Smrgac_ltlibobjs= 33744963b7b6Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 33754963b7b6Smrg # 1. Remove the extension, and $U if already installed. 33764963b7b6Smrg ac_i=`echo "$ac_i" | 33774963b7b6Smrg sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 33784963b7b6Smrg # 2. Add them. 33794963b7b6Smrg ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 33804963b7b6Smrg ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 33814963b7b6Smrgdone 33824963b7b6SmrgLIBOBJS=$ac_libobjs 33834963b7b6Smrg 33844963b7b6SmrgLTLIBOBJS=$ac_ltlibobjs 33854963b7b6Smrg 33864963b7b6Smrg 33874963b7b6Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 33884963b7b6Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 33894963b7b6SmrgUsually this means the macro was only invoked conditionally." >&5 33904963b7b6Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 33914963b7b6SmrgUsually this means the macro was only invoked conditionally." >&2;} 33924963b7b6Smrg { (exit 1); exit 1; }; } 33934963b7b6Smrgfi 33944963b7b6Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 33954963b7b6Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 33964963b7b6SmrgUsually this means the macro was only invoked conditionally." >&5 33974963b7b6Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 33984963b7b6SmrgUsually this means the macro was only invoked conditionally." >&2;} 33994963b7b6Smrg { (exit 1); exit 1; }; } 34004963b7b6Smrgfi 34014963b7b6Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 34024963b7b6Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 34034963b7b6SmrgUsually this means the macro was only invoked conditionally." >&5 34044963b7b6Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 34054963b7b6SmrgUsually this means the macro was only invoked conditionally." >&2;} 34064963b7b6Smrg { (exit 1); exit 1; }; } 34074963b7b6Smrgfi 34084963b7b6Smrg 34094963b7b6Smrg: ${CONFIG_STATUS=./config.status} 34104963b7b6Smrgac_clean_files_save=$ac_clean_files 34114963b7b6Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 34124963b7b6Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 34134963b7b6Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 34144963b7b6Smrgcat >$CONFIG_STATUS <<_ACEOF 34154963b7b6Smrg#! $SHELL 34164963b7b6Smrg# Generated by $as_me. 34174963b7b6Smrg# Run this file to recreate the current configuration. 34184963b7b6Smrg# Compiler output produced by configure, useful for debugging 34194963b7b6Smrg# configure, is in config.log if it exists. 34204963b7b6Smrg 34214963b7b6Smrgdebug=false 34224963b7b6Smrgac_cs_recheck=false 34234963b7b6Smrgac_cs_silent=false 34244963b7b6SmrgSHELL=\${CONFIG_SHELL-$SHELL} 34254963b7b6Smrg_ACEOF 34264963b7b6Smrg 34274963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 34284963b7b6Smrg## --------------------- ## 34294963b7b6Smrg## M4sh Initialization. ## 34304963b7b6Smrg## --------------------- ## 34314963b7b6Smrg 34324963b7b6Smrg# Be Bourne compatible 34334963b7b6Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 34344963b7b6Smrg emulate sh 34354963b7b6Smrg NULLCMD=: 34364963b7b6Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 34374963b7b6Smrg # is contrary to our usage. Disable this feature. 34384963b7b6Smrg alias -g '${1+"$@"}'='"$@"' 34394963b7b6Smrgelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 34404963b7b6Smrg set -o posix 34414963b7b6Smrgfi 34424963b7b6SmrgDUALCASE=1; export DUALCASE # for MKS sh 34434963b7b6Smrg 34444963b7b6Smrg# Support unset when possible. 34454963b7b6Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 34464963b7b6Smrg as_unset=unset 34474963b7b6Smrgelse 34484963b7b6Smrg as_unset=false 34494963b7b6Smrgfi 34504963b7b6Smrg 34514963b7b6Smrg 34524963b7b6Smrg# Work around bugs in pre-3.0 UWIN ksh. 34534963b7b6Smrg$as_unset ENV MAIL MAILPATH 34544963b7b6SmrgPS1='$ ' 34554963b7b6SmrgPS2='> ' 34564963b7b6SmrgPS4='+ ' 34574963b7b6Smrg 34584963b7b6Smrg# NLS nuisances. 34594963b7b6Smrgfor as_var in \ 34604963b7b6Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 34614963b7b6Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 34624963b7b6Smrg LC_TELEPHONE LC_TIME 34634963b7b6Smrgdo 34644963b7b6Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 34654963b7b6Smrg eval $as_var=C; export $as_var 34664963b7b6Smrg else 34674963b7b6Smrg $as_unset $as_var 34684963b7b6Smrg fi 34694963b7b6Smrgdone 34704963b7b6Smrg 34714963b7b6Smrg# Required to use basename. 34724963b7b6Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 34734963b7b6Smrg as_expr=expr 34744963b7b6Smrgelse 34754963b7b6Smrg as_expr=false 34764963b7b6Smrgfi 34774963b7b6Smrg 34784963b7b6Smrgif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 34794963b7b6Smrg as_basename=basename 34804963b7b6Smrgelse 34814963b7b6Smrg as_basename=false 34824963b7b6Smrgfi 34834963b7b6Smrg 34844963b7b6Smrg 34854963b7b6Smrg# Name of the executable. 34864963b7b6Smrgas_me=`$as_basename "$0" || 34874963b7b6Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 34884963b7b6Smrg X"$0" : 'X\(//\)$' \| \ 34894963b7b6Smrg X"$0" : 'X\(/\)$' \| \ 34904963b7b6Smrg . : '\(.\)' 2>/dev/null || 34914963b7b6Smrgecho X/"$0" | 34924963b7b6Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 34934963b7b6Smrg /^X\/\(\/\/\)$/{ s//\1/; q; } 34944963b7b6Smrg /^X\/\(\/\).*/{ s//\1/; q; } 34954963b7b6Smrg s/.*/./; q'` 34964963b7b6Smrg 34974963b7b6Smrg 34984963b7b6Smrg# PATH needs CR, and LINENO needs CR and PATH. 34994963b7b6Smrg# Avoid depending upon Character Ranges. 35004963b7b6Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 35014963b7b6Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 35024963b7b6Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 35034963b7b6Smrgas_cr_digits='0123456789' 35044963b7b6Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 35054963b7b6Smrg 35064963b7b6Smrg# The user is always right. 35074963b7b6Smrgif test "${PATH_SEPARATOR+set}" != set; then 35084963b7b6Smrg echo "#! /bin/sh" >conf$$.sh 35094963b7b6Smrg echo "exit 0" >>conf$$.sh 35104963b7b6Smrg chmod +x conf$$.sh 35114963b7b6Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 35124963b7b6Smrg PATH_SEPARATOR=';' 35134963b7b6Smrg else 35144963b7b6Smrg PATH_SEPARATOR=: 35154963b7b6Smrg fi 35164963b7b6Smrg rm -f conf$$.sh 35174963b7b6Smrgfi 35184963b7b6Smrg 35194963b7b6Smrg 35204963b7b6Smrg as_lineno_1=$LINENO 35214963b7b6Smrg as_lineno_2=$LINENO 35224963b7b6Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 35234963b7b6Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 35244963b7b6Smrg test "x$as_lineno_3" = "x$as_lineno_2" || { 35254963b7b6Smrg # Find who we are. Look in the path if we contain no path at all 35264963b7b6Smrg # relative or not. 35274963b7b6Smrg case $0 in 35284963b7b6Smrg *[\\/]* ) as_myself=$0 ;; 35294963b7b6Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 35304963b7b6Smrgfor as_dir in $PATH 35314963b7b6Smrgdo 35324963b7b6Smrg IFS=$as_save_IFS 35334963b7b6Smrg test -z "$as_dir" && as_dir=. 35344963b7b6Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 35354963b7b6Smrgdone 35364963b7b6Smrg 35374963b7b6Smrg ;; 35384963b7b6Smrg esac 35394963b7b6Smrg # We did not find ourselves, most probably we were run as `sh COMMAND' 35404963b7b6Smrg # in which case we are not to be found in the path. 35414963b7b6Smrg if test "x$as_myself" = x; then 35424963b7b6Smrg as_myself=$0 35434963b7b6Smrg fi 35444963b7b6Smrg if test ! -f "$as_myself"; then 35454963b7b6Smrg { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 35464963b7b6Smrgecho "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 35474963b7b6Smrg { (exit 1); exit 1; }; } 35484963b7b6Smrg fi 35494963b7b6Smrg case $CONFIG_SHELL in 35504963b7b6Smrg '') 35514963b7b6Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 35524963b7b6Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 35534963b7b6Smrgdo 35544963b7b6Smrg IFS=$as_save_IFS 35554963b7b6Smrg test -z "$as_dir" && as_dir=. 35564963b7b6Smrg for as_base in sh bash ksh sh5; do 35574963b7b6Smrg case $as_dir in 35584963b7b6Smrg /*) 35594963b7b6Smrg if ("$as_dir/$as_base" -c ' 35604963b7b6Smrg as_lineno_1=$LINENO 35614963b7b6Smrg as_lineno_2=$LINENO 35624963b7b6Smrg as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 35634963b7b6Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 35644963b7b6Smrg test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 35654963b7b6Smrg $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 35664963b7b6Smrg $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 35674963b7b6Smrg CONFIG_SHELL=$as_dir/$as_base 35684963b7b6Smrg export CONFIG_SHELL 35694963b7b6Smrg exec "$CONFIG_SHELL" "$0" ${1+"$@"} 35704963b7b6Smrg fi;; 35714963b7b6Smrg esac 35724963b7b6Smrg done 35734963b7b6Smrgdone 35744963b7b6Smrg;; 35754963b7b6Smrg esac 35764963b7b6Smrg 35774963b7b6Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 35784963b7b6Smrg # uniformly replaced by the line number. The first 'sed' inserts a 35794963b7b6Smrg # line-number line before each line; the second 'sed' does the real 35804963b7b6Smrg # work. The second script uses 'N' to pair each line-number line 35814963b7b6Smrg # with the numbered line, and appends trailing '-' during 35824963b7b6Smrg # substitution so that $LINENO is not a special case at line end. 35834963b7b6Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 35844963b7b6Smrg # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 35854963b7b6Smrg sed '=' <$as_myself | 35864963b7b6Smrg sed ' 35874963b7b6Smrg N 35884963b7b6Smrg s,$,-, 35894963b7b6Smrg : loop 35904963b7b6Smrg s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 35914963b7b6Smrg t loop 35924963b7b6Smrg s,-$,, 35934963b7b6Smrg s,^['$as_cr_digits']*\n,, 35944963b7b6Smrg ' >$as_me.lineno && 35954963b7b6Smrg chmod +x $as_me.lineno || 35964963b7b6Smrg { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 35974963b7b6Smrgecho "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 35984963b7b6Smrg { (exit 1); exit 1; }; } 35994963b7b6Smrg 36004963b7b6Smrg # Don't try to exec as it changes $[0], causing all sort of problems 36014963b7b6Smrg # (the dirname of $[0] is not the place where we might find the 36024963b7b6Smrg # original and so on. Autoconf is especially sensible to this). 36034963b7b6Smrg . ./$as_me.lineno 36044963b7b6Smrg # Exit status is that of the last command. 36054963b7b6Smrg exit 36064963b7b6Smrg} 36074963b7b6Smrg 36084963b7b6Smrg 36094963b7b6Smrgcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 36104963b7b6Smrg *c*,-n*) ECHO_N= ECHO_C=' 36114963b7b6Smrg' ECHO_T=' ' ;; 36124963b7b6Smrg *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 36134963b7b6Smrg *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 36144963b7b6Smrgesac 36154963b7b6Smrg 36164963b7b6Smrgif expr a : '\(a\)' >/dev/null 2>&1; then 36174963b7b6Smrg as_expr=expr 36184963b7b6Smrgelse 36194963b7b6Smrg as_expr=false 36204963b7b6Smrgfi 36214963b7b6Smrg 36224963b7b6Smrgrm -f conf$$ conf$$.exe conf$$.file 36234963b7b6Smrgecho >conf$$.file 36244963b7b6Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 36254963b7b6Smrg # We could just check for DJGPP; but this test a) works b) is more generic 36264963b7b6Smrg # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 36274963b7b6Smrg if test -f conf$$.exe; then 36284963b7b6Smrg # Don't use ln at all; we don't have any links 36294963b7b6Smrg as_ln_s='cp -p' 36304963b7b6Smrg else 36314963b7b6Smrg as_ln_s='ln -s' 36324963b7b6Smrg fi 36334963b7b6Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 36344963b7b6Smrg as_ln_s=ln 36354963b7b6Smrgelse 36364963b7b6Smrg as_ln_s='cp -p' 36374963b7b6Smrgfi 36384963b7b6Smrgrm -f conf$$ conf$$.exe conf$$.file 36394963b7b6Smrg 36404963b7b6Smrgif mkdir -p . 2>/dev/null; then 36414963b7b6Smrg as_mkdir_p=: 36424963b7b6Smrgelse 36434963b7b6Smrg test -d ./-p && rmdir ./-p 36444963b7b6Smrg as_mkdir_p=false 36454963b7b6Smrgfi 36464963b7b6Smrg 36474963b7b6Smrgas_executable_p="test -f" 36484963b7b6Smrg 36494963b7b6Smrg# Sed expression to map a string onto a valid CPP name. 36504963b7b6Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 36514963b7b6Smrg 36524963b7b6Smrg# Sed expression to map a string onto a valid variable name. 36534963b7b6Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 36544963b7b6Smrg 36554963b7b6Smrg 36564963b7b6Smrg# IFS 36574963b7b6Smrg# We need space, tab and new line, in precisely that order. 36584963b7b6Smrgas_nl=' 36594963b7b6Smrg' 36604963b7b6SmrgIFS=" $as_nl" 36614963b7b6Smrg 36624963b7b6Smrg# CDPATH. 36634963b7b6Smrg$as_unset CDPATH 36644963b7b6Smrg 36654963b7b6Smrgexec 6>&1 36664963b7b6Smrg 36674963b7b6Smrg# Open the log real soon, to keep \$[0] and so on meaningful, and to 36684963b7b6Smrg# report actual input values of CONFIG_FILES etc. instead of their 36694963b7b6Smrg# values after options handling. Logging --version etc. is OK. 36704963b7b6Smrgexec 5>>config.log 36714963b7b6Smrg{ 36724963b7b6Smrg echo 36734963b7b6Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 36744963b7b6Smrg## Running $as_me. ## 36754963b7b6Smrg_ASBOX 36764963b7b6Smrg} >&5 36774963b7b6Smrgcat >&5 <<_CSEOF 36784963b7b6Smrg 36794963b7b6SmrgThis file was extended by xsetmode $as_me 1.0.0, which was 36804963b7b6Smrggenerated by GNU Autoconf 2.59. Invocation command line was 36814963b7b6Smrg 36824963b7b6Smrg CONFIG_FILES = $CONFIG_FILES 36834963b7b6Smrg CONFIG_HEADERS = $CONFIG_HEADERS 36844963b7b6Smrg CONFIG_LINKS = $CONFIG_LINKS 36854963b7b6Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 36864963b7b6Smrg $ $0 $@ 36874963b7b6Smrg 36884963b7b6Smrg_CSEOF 36894963b7b6Smrgecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 36904963b7b6Smrgecho >&5 36914963b7b6Smrg_ACEOF 36924963b7b6Smrg 36934963b7b6Smrg# Files that config.status was made for. 36944963b7b6Smrgif test -n "$ac_config_files"; then 36954963b7b6Smrg echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 36964963b7b6Smrgfi 36974963b7b6Smrg 36984963b7b6Smrgif test -n "$ac_config_headers"; then 36994963b7b6Smrg echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 37004963b7b6Smrgfi 37014963b7b6Smrg 37024963b7b6Smrgif test -n "$ac_config_links"; then 37034963b7b6Smrg echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 37044963b7b6Smrgfi 37054963b7b6Smrg 37064963b7b6Smrgif test -n "$ac_config_commands"; then 37074963b7b6Smrg echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 37084963b7b6Smrgfi 37094963b7b6Smrg 37104963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 37114963b7b6Smrg 37124963b7b6Smrgac_cs_usage="\ 37134963b7b6Smrg\`$as_me' instantiates files from templates according to the 37144963b7b6Smrgcurrent configuration. 37154963b7b6Smrg 37164963b7b6SmrgUsage: $0 [OPTIONS] [FILE]... 37174963b7b6Smrg 37184963b7b6Smrg -h, --help print this help, then exit 37194963b7b6Smrg -V, --version print version number, then exit 37204963b7b6Smrg -q, --quiet do not print progress messages 37214963b7b6Smrg -d, --debug don't remove temporary files 37224963b7b6Smrg --recheck update $as_me by reconfiguring in the same conditions 37234963b7b6Smrg --file=FILE[:TEMPLATE] 37244963b7b6Smrg instantiate the configuration file FILE 37254963b7b6Smrg --header=FILE[:TEMPLATE] 37264963b7b6Smrg instantiate the configuration header FILE 37274963b7b6Smrg 37284963b7b6SmrgConfiguration files: 37294963b7b6Smrg$config_files 37304963b7b6Smrg 37314963b7b6SmrgConfiguration headers: 37324963b7b6Smrg$config_headers 37334963b7b6Smrg 37344963b7b6SmrgConfiguration commands: 37354963b7b6Smrg$config_commands 37364963b7b6Smrg 37374963b7b6SmrgReport bugs to <bug-autoconf@gnu.org>." 37384963b7b6Smrg_ACEOF 37394963b7b6Smrg 37404963b7b6Smrgcat >>$CONFIG_STATUS <<_ACEOF 37414963b7b6Smrgac_cs_version="\\ 37424963b7b6Smrgxsetmode config.status 1.0.0 37434963b7b6Smrgconfigured by $0, generated by GNU Autoconf 2.59, 37444963b7b6Smrg with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 37454963b7b6Smrg 37464963b7b6SmrgCopyright (C) 2003 Free Software Foundation, Inc. 37474963b7b6SmrgThis config.status script is free software; the Free Software Foundation 37484963b7b6Smrggives unlimited permission to copy, distribute and modify it." 37494963b7b6Smrgsrcdir=$srcdir 37504963b7b6SmrgINSTALL="$INSTALL" 37514963b7b6Smrg_ACEOF 37524963b7b6Smrg 37534963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 37544963b7b6Smrg# If no file are specified by the user, then we need to provide default 37554963b7b6Smrg# value. By we need to know if files were specified by the user. 37564963b7b6Smrgac_need_defaults=: 37574963b7b6Smrgwhile test $# != 0 37584963b7b6Smrgdo 37594963b7b6Smrg case $1 in 37604963b7b6Smrg --*=*) 37614963b7b6Smrg ac_option=`expr "x$1" : 'x\([^=]*\)='` 37624963b7b6Smrg ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 37634963b7b6Smrg ac_shift=: 37644963b7b6Smrg ;; 37654963b7b6Smrg -*) 37664963b7b6Smrg ac_option=$1 37674963b7b6Smrg ac_optarg=$2 37684963b7b6Smrg ac_shift=shift 37694963b7b6Smrg ;; 37704963b7b6Smrg *) # This is not an option, so the user has probably given explicit 37714963b7b6Smrg # arguments. 37724963b7b6Smrg ac_option=$1 37734963b7b6Smrg ac_need_defaults=false;; 37744963b7b6Smrg esac 37754963b7b6Smrg 37764963b7b6Smrg case $ac_option in 37774963b7b6Smrg # Handling of the options. 37784963b7b6Smrg_ACEOF 37794963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 37804963b7b6Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 37814963b7b6Smrg ac_cs_recheck=: ;; 37824963b7b6Smrg --version | --vers* | -V ) 37834963b7b6Smrg echo "$ac_cs_version"; exit 0 ;; 37844963b7b6Smrg --he | --h) 37854963b7b6Smrg # Conflict between --help and --header 37864963b7b6Smrg { { echo "$as_me:$LINENO: error: ambiguous option: $1 37874963b7b6SmrgTry \`$0 --help' for more information." >&5 37884963b7b6Smrgecho "$as_me: error: ambiguous option: $1 37894963b7b6SmrgTry \`$0 --help' for more information." >&2;} 37904963b7b6Smrg { (exit 1); exit 1; }; };; 37914963b7b6Smrg --help | --hel | -h ) 37924963b7b6Smrg echo "$ac_cs_usage"; exit 0 ;; 37934963b7b6Smrg --debug | --d* | -d ) 37944963b7b6Smrg debug=: ;; 37954963b7b6Smrg --file | --fil | --fi | --f ) 37964963b7b6Smrg $ac_shift 37974963b7b6Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 37984963b7b6Smrg ac_need_defaults=false;; 37994963b7b6Smrg --header | --heade | --head | --hea ) 38004963b7b6Smrg $ac_shift 38014963b7b6Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 38024963b7b6Smrg ac_need_defaults=false;; 38034963b7b6Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 38044963b7b6Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 38054963b7b6Smrg ac_cs_silent=: ;; 38064963b7b6Smrg 38074963b7b6Smrg # This is an error. 38084963b7b6Smrg -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 38094963b7b6SmrgTry \`$0 --help' for more information." >&5 38104963b7b6Smrgecho "$as_me: error: unrecognized option: $1 38114963b7b6SmrgTry \`$0 --help' for more information." >&2;} 38124963b7b6Smrg { (exit 1); exit 1; }; } ;; 38134963b7b6Smrg 38144963b7b6Smrg *) ac_config_targets="$ac_config_targets $1" ;; 38154963b7b6Smrg 38164963b7b6Smrg esac 38174963b7b6Smrg shift 38184963b7b6Smrgdone 38194963b7b6Smrg 38204963b7b6Smrgac_configure_extra_args= 38214963b7b6Smrg 38224963b7b6Smrgif $ac_cs_silent; then 38234963b7b6Smrg exec 6>/dev/null 38244963b7b6Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 38254963b7b6Smrgfi 38264963b7b6Smrg 38274963b7b6Smrg_ACEOF 38284963b7b6Smrgcat >>$CONFIG_STATUS <<_ACEOF 38294963b7b6Smrgif \$ac_cs_recheck; then 38304963b7b6Smrg echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 38314963b7b6Smrg exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 38324963b7b6Smrgfi 38334963b7b6Smrg 38344963b7b6Smrg_ACEOF 38354963b7b6Smrg 38364963b7b6Smrgcat >>$CONFIG_STATUS <<_ACEOF 38374963b7b6Smrg# 38384963b7b6Smrg# INIT-COMMANDS section. 38394963b7b6Smrg# 38404963b7b6Smrg 38414963b7b6SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 38424963b7b6Smrg 38434963b7b6Smrg_ACEOF 38444963b7b6Smrg 38454963b7b6Smrg 38464963b7b6Smrg 38474963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 38484963b7b6Smrgfor ac_config_target in $ac_config_targets 38494963b7b6Smrgdo 38504963b7b6Smrg case "$ac_config_target" in 38514963b7b6Smrg # Handling of arguments. 38524963b7b6Smrg "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 38534963b7b6Smrg "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 38544963b7b6Smrg "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 38554963b7b6Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 38564963b7b6Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 38574963b7b6Smrg { (exit 1); exit 1; }; };; 38584963b7b6Smrg esac 38594963b7b6Smrgdone 38604963b7b6Smrg 38614963b7b6Smrg# If the user did not use the arguments to specify the items to instantiate, 38624963b7b6Smrg# then the envvar interface is used. Set only those that are not. 38634963b7b6Smrg# We use the long form for the default assignment because of an extremely 38644963b7b6Smrg# bizarre bug on SunOS 4.1.3. 38654963b7b6Smrgif $ac_need_defaults; then 38664963b7b6Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 38674963b7b6Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 38684963b7b6Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 38694963b7b6Smrgfi 38704963b7b6Smrg 38714963b7b6Smrg# Have a temporary directory for convenience. Make it in the build tree 38724963b7b6Smrg# simply because there is no reason to put it here, and in addition, 38734963b7b6Smrg# creating and moving files from /tmp can sometimes cause problems. 38744963b7b6Smrg# Create a temporary directory, and hook for its removal unless debugging. 38754963b7b6Smrg$debug || 38764963b7b6Smrg{ 38774963b7b6Smrg trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 38784963b7b6Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 38794963b7b6Smrg} 38804963b7b6Smrg 38814963b7b6Smrg# Create a (secure) tmp directory for tmp files. 38824963b7b6Smrg 38834963b7b6Smrg{ 38844963b7b6Smrg tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 38854963b7b6Smrg test -n "$tmp" && test -d "$tmp" 38864963b7b6Smrg} || 38874963b7b6Smrg{ 38884963b7b6Smrg tmp=./confstat$$-$RANDOM 38894963b7b6Smrg (umask 077 && mkdir $tmp) 38904963b7b6Smrg} || 38914963b7b6Smrg{ 38924963b7b6Smrg echo "$me: cannot create a temporary directory in ." >&2 38934963b7b6Smrg { (exit 1); exit 1; } 38944963b7b6Smrg} 38954963b7b6Smrg 38964963b7b6Smrg_ACEOF 38974963b7b6Smrg 38984963b7b6Smrgcat >>$CONFIG_STATUS <<_ACEOF 38994963b7b6Smrg 39004963b7b6Smrg# 39014963b7b6Smrg# CONFIG_FILES section. 39024963b7b6Smrg# 39034963b7b6Smrg 39044963b7b6Smrg# No need to generate the scripts if there are no CONFIG_FILES. 39054963b7b6Smrg# This happens for instance when ./config.status config.h 39064963b7b6Smrgif test -n "\$CONFIG_FILES"; then 39074963b7b6Smrg # Protect against being on the right side of a sed subst in config.status. 39084963b7b6Smrg sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 39094963b7b6Smrg s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 39104963b7b6Smrgs,@SHELL@,$SHELL,;t t 39114963b7b6Smrgs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 39124963b7b6Smrgs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 39134963b7b6Smrgs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 39144963b7b6Smrgs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 39154963b7b6Smrgs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 39164963b7b6Smrgs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 39174963b7b6Smrgs,@exec_prefix@,$exec_prefix,;t t 39184963b7b6Smrgs,@prefix@,$prefix,;t t 39194963b7b6Smrgs,@program_transform_name@,$program_transform_name,;t t 39204963b7b6Smrgs,@bindir@,$bindir,;t t 39214963b7b6Smrgs,@sbindir@,$sbindir,;t t 39224963b7b6Smrgs,@libexecdir@,$libexecdir,;t t 39234963b7b6Smrgs,@datadir@,$datadir,;t t 39244963b7b6Smrgs,@sysconfdir@,$sysconfdir,;t t 39254963b7b6Smrgs,@sharedstatedir@,$sharedstatedir,;t t 39264963b7b6Smrgs,@localstatedir@,$localstatedir,;t t 39274963b7b6Smrgs,@libdir@,$libdir,;t t 39284963b7b6Smrgs,@includedir@,$includedir,;t t 39294963b7b6Smrgs,@oldincludedir@,$oldincludedir,;t t 39304963b7b6Smrgs,@infodir@,$infodir,;t t 39314963b7b6Smrgs,@mandir@,$mandir,;t t 39324963b7b6Smrgs,@build_alias@,$build_alias,;t t 39334963b7b6Smrgs,@host_alias@,$host_alias,;t t 39344963b7b6Smrgs,@target_alias@,$target_alias,;t t 39354963b7b6Smrgs,@DEFS@,$DEFS,;t t 39364963b7b6Smrgs,@ECHO_C@,$ECHO_C,;t t 39374963b7b6Smrgs,@ECHO_N@,$ECHO_N,;t t 39384963b7b6Smrgs,@ECHO_T@,$ECHO_T,;t t 39394963b7b6Smrgs,@LIBS@,$LIBS,;t t 39404963b7b6Smrgs,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 39414963b7b6Smrgs,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 39424963b7b6Smrgs,@INSTALL_DATA@,$INSTALL_DATA,;t t 39434963b7b6Smrgs,@CYGPATH_W@,$CYGPATH_W,;t t 39444963b7b6Smrgs,@PACKAGE@,$PACKAGE,;t t 39454963b7b6Smrgs,@VERSION@,$VERSION,;t t 39464963b7b6Smrgs,@ACLOCAL@,$ACLOCAL,;t t 39474963b7b6Smrgs,@AUTOCONF@,$AUTOCONF,;t t 39484963b7b6Smrgs,@AUTOMAKE@,$AUTOMAKE,;t t 39494963b7b6Smrgs,@AUTOHEADER@,$AUTOHEADER,;t t 39504963b7b6Smrgs,@MAKEINFO@,$MAKEINFO,;t t 39514963b7b6Smrgs,@AMTAR@,$AMTAR,;t t 39524963b7b6Smrgs,@install_sh@,$install_sh,;t t 39534963b7b6Smrgs,@STRIP@,$STRIP,;t t 39544963b7b6Smrgs,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 39554963b7b6Smrgs,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 39564963b7b6Smrgs,@AWK@,$AWK,;t t 39574963b7b6Smrgs,@SET_MAKE@,$SET_MAKE,;t t 39584963b7b6Smrgs,@am__leading_dot@,$am__leading_dot,;t t 39594963b7b6Smrgs,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 39604963b7b6Smrgs,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 39614963b7b6Smrgs,@MAINT@,$MAINT,;t t 39624963b7b6Smrgs,@CC@,$CC,;t t 39634963b7b6Smrgs,@CFLAGS@,$CFLAGS,;t t 39644963b7b6Smrgs,@LDFLAGS@,$LDFLAGS,;t t 39654963b7b6Smrgs,@CPPFLAGS@,$CPPFLAGS,;t t 39664963b7b6Smrgs,@ac_ct_CC@,$ac_ct_CC,;t t 39674963b7b6Smrgs,@EXEEXT@,$EXEEXT,;t t 39684963b7b6Smrgs,@OBJEXT@,$OBJEXT,;t t 39694963b7b6Smrgs,@DEPDIR@,$DEPDIR,;t t 39704963b7b6Smrgs,@am__include@,$am__include,;t t 39714963b7b6Smrgs,@am__quote@,$am__quote,;t t 39724963b7b6Smrgs,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 39734963b7b6Smrgs,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 39744963b7b6Smrgs,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 39754963b7b6Smrgs,@CCDEPMODE@,$CCDEPMODE,;t t 39764963b7b6Smrgs,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 39774963b7b6Smrgs,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 39784963b7b6Smrgs,@PKG_CONFIG@,$PKG_CONFIG,;t t 39794963b7b6Smrgs,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 39804963b7b6Smrgs,@XSETMODE_CFLAGS@,$XSETMODE_CFLAGS,;t t 39814963b7b6Smrgs,@XSETMODE_LIBS@,$XSETMODE_LIBS,;t t 39824963b7b6Smrgs,@build@,$build,;t t 39834963b7b6Smrgs,@build_cpu@,$build_cpu,;t t 39844963b7b6Smrgs,@build_vendor@,$build_vendor,;t t 39854963b7b6Smrgs,@build_os@,$build_os,;t t 39864963b7b6Smrgs,@host@,$host,;t t 39874963b7b6Smrgs,@host_cpu@,$host_cpu,;t t 39884963b7b6Smrgs,@host_vendor@,$host_vendor,;t t 39894963b7b6Smrgs,@host_os@,$host_os,;t t 39904963b7b6Smrgs,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t 39914963b7b6Smrgs,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t 39924963b7b6Smrgs,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t 39934963b7b6Smrgs,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t 39944963b7b6Smrgs,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t 39954963b7b6Smrgs,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t 39964963b7b6Smrgs,@APP_MAN_DIR@,$APP_MAN_DIR,;t t 39974963b7b6Smrgs,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t 39984963b7b6Smrgs,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t 39994963b7b6Smrgs,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t 40004963b7b6Smrgs,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t 40014963b7b6Smrgs,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t 40024963b7b6Smrgs,@LIBOBJS@,$LIBOBJS,;t t 40034963b7b6Smrgs,@LTLIBOBJS@,$LTLIBOBJS,;t t 40044963b7b6SmrgCEOF 40054963b7b6Smrg 40064963b7b6Smrg_ACEOF 40074963b7b6Smrg 40084963b7b6Smrg cat >>$CONFIG_STATUS <<\_ACEOF 40094963b7b6Smrg # Split the substitutions into bite-sized pieces for seds with 40104963b7b6Smrg # small command number limits, like on Digital OSF/1 and HP-UX. 40114963b7b6Smrg ac_max_sed_lines=48 40124963b7b6Smrg ac_sed_frag=1 # Number of current file. 40134963b7b6Smrg ac_beg=1 # First line for current file. 40144963b7b6Smrg ac_end=$ac_max_sed_lines # Line after last line for current file. 40154963b7b6Smrg ac_more_lines=: 40164963b7b6Smrg ac_sed_cmds= 40174963b7b6Smrg while $ac_more_lines; do 40184963b7b6Smrg if test $ac_beg -gt 1; then 40194963b7b6Smrg sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 40204963b7b6Smrg else 40214963b7b6Smrg sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 40224963b7b6Smrg fi 40234963b7b6Smrg if test ! -s $tmp/subs.frag; then 40244963b7b6Smrg ac_more_lines=false 40254963b7b6Smrg else 40264963b7b6Smrg # The purpose of the label and of the branching condition is to 40274963b7b6Smrg # speed up the sed processing (if there are no `@' at all, there 40284963b7b6Smrg # is no need to browse any of the substitutions). 40294963b7b6Smrg # These are the two extra sed commands mentioned above. 40304963b7b6Smrg (echo ':t 40314963b7b6Smrg /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 40324963b7b6Smrg if test -z "$ac_sed_cmds"; then 40334963b7b6Smrg ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 40344963b7b6Smrg else 40354963b7b6Smrg ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 40364963b7b6Smrg fi 40374963b7b6Smrg ac_sed_frag=`expr $ac_sed_frag + 1` 40384963b7b6Smrg ac_beg=$ac_end 40394963b7b6Smrg ac_end=`expr $ac_end + $ac_max_sed_lines` 40404963b7b6Smrg fi 40414963b7b6Smrg done 40424963b7b6Smrg if test -z "$ac_sed_cmds"; then 40434963b7b6Smrg ac_sed_cmds=cat 40444963b7b6Smrg fi 40454963b7b6Smrgfi # test -n "$CONFIG_FILES" 40464963b7b6Smrg 40474963b7b6Smrg_ACEOF 40484963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 40494963b7b6Smrgfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 40504963b7b6Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 40514963b7b6Smrg case $ac_file in 40524963b7b6Smrg - | *:- | *:-:* ) # input from stdin 40534963b7b6Smrg cat >$tmp/stdin 40544963b7b6Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 40554963b7b6Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 40564963b7b6Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 40574963b7b6Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 40584963b7b6Smrg * ) ac_file_in=$ac_file.in ;; 40594963b7b6Smrg esac 40604963b7b6Smrg 40614963b7b6Smrg # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 40624963b7b6Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 40634963b7b6Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 40644963b7b6Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 40654963b7b6Smrg X"$ac_file" : 'X\(//\)$' \| \ 40664963b7b6Smrg X"$ac_file" : 'X\(/\)' \| \ 40674963b7b6Smrg . : '\(.\)' 2>/dev/null || 40684963b7b6Smrgecho X"$ac_file" | 40694963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 40704963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 40714963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 40724963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 40734963b7b6Smrg s/.*/./; q'` 40744963b7b6Smrg { if $as_mkdir_p; then 40754963b7b6Smrg mkdir -p "$ac_dir" 40764963b7b6Smrg else 40774963b7b6Smrg as_dir="$ac_dir" 40784963b7b6Smrg as_dirs= 40794963b7b6Smrg while test ! -d "$as_dir"; do 40804963b7b6Smrg as_dirs="$as_dir $as_dirs" 40814963b7b6Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 40824963b7b6Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 40834963b7b6Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 40844963b7b6Smrg X"$as_dir" : 'X\(//\)$' \| \ 40854963b7b6Smrg X"$as_dir" : 'X\(/\)' \| \ 40864963b7b6Smrg . : '\(.\)' 2>/dev/null || 40874963b7b6Smrgecho X"$as_dir" | 40884963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 40894963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 40904963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 40914963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 40924963b7b6Smrg s/.*/./; q'` 40934963b7b6Smrg done 40944963b7b6Smrg test ! -n "$as_dirs" || mkdir $as_dirs 40954963b7b6Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 40964963b7b6Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 40974963b7b6Smrg { (exit 1); exit 1; }; }; } 40984963b7b6Smrg 40994963b7b6Smrg ac_builddir=. 41004963b7b6Smrg 41014963b7b6Smrgif test "$ac_dir" != .; then 41024963b7b6Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 41034963b7b6Smrg # A "../" for each directory in $ac_dir_suffix. 41044963b7b6Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 41054963b7b6Smrgelse 41064963b7b6Smrg ac_dir_suffix= ac_top_builddir= 41074963b7b6Smrgfi 41084963b7b6Smrg 41094963b7b6Smrgcase $srcdir in 41104963b7b6Smrg .) # No --srcdir option. We are building in place. 41114963b7b6Smrg ac_srcdir=. 41124963b7b6Smrg if test -z "$ac_top_builddir"; then 41134963b7b6Smrg ac_top_srcdir=. 41144963b7b6Smrg else 41154963b7b6Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 41164963b7b6Smrg fi ;; 41174963b7b6Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 41184963b7b6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 41194963b7b6Smrg ac_top_srcdir=$srcdir ;; 41204963b7b6Smrg *) # Relative path. 41214963b7b6Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 41224963b7b6Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 41234963b7b6Smrgesac 41244963b7b6Smrg 41254963b7b6Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 41264963b7b6Smrg# the directories may not exist. 41274963b7b6Smrgcase `pwd` in 41284963b7b6Smrg.) ac_abs_builddir="$ac_dir";; 41294963b7b6Smrg*) 41304963b7b6Smrg case "$ac_dir" in 41314963b7b6Smrg .) ac_abs_builddir=`pwd`;; 41324963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 41334963b7b6Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 41344963b7b6Smrg esac;; 41354963b7b6Smrgesac 41364963b7b6Smrgcase $ac_abs_builddir in 41374963b7b6Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 41384963b7b6Smrg*) 41394963b7b6Smrg case ${ac_top_builddir}. in 41404963b7b6Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 41414963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 41424963b7b6Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 41434963b7b6Smrg esac;; 41444963b7b6Smrgesac 41454963b7b6Smrgcase $ac_abs_builddir in 41464963b7b6Smrg.) ac_abs_srcdir=$ac_srcdir;; 41474963b7b6Smrg*) 41484963b7b6Smrg case $ac_srcdir in 41494963b7b6Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 41504963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 41514963b7b6Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 41524963b7b6Smrg esac;; 41534963b7b6Smrgesac 41544963b7b6Smrgcase $ac_abs_builddir in 41554963b7b6Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 41564963b7b6Smrg*) 41574963b7b6Smrg case $ac_top_srcdir in 41584963b7b6Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 41594963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 41604963b7b6Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 41614963b7b6Smrg esac;; 41624963b7b6Smrgesac 41634963b7b6Smrg 41644963b7b6Smrg 41654963b7b6Smrg case $INSTALL in 41664963b7b6Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 41674963b7b6Smrg *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 41684963b7b6Smrg esac 41694963b7b6Smrg 41704963b7b6Smrg if test x"$ac_file" != x-; then 41714963b7b6Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 41724963b7b6Smrgecho "$as_me: creating $ac_file" >&6;} 41734963b7b6Smrg rm -f "$ac_file" 41744963b7b6Smrg fi 41754963b7b6Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 41764963b7b6Smrg # use $as_me), people would be surprised to read: 41774963b7b6Smrg # /* config.h. Generated by config.status. */ 41784963b7b6Smrg if test x"$ac_file" = x-; then 41794963b7b6Smrg configure_input= 41804963b7b6Smrg else 41814963b7b6Smrg configure_input="$ac_file. " 41824963b7b6Smrg fi 41834963b7b6Smrg configure_input=$configure_input"Generated from `echo $ac_file_in | 41844963b7b6Smrg sed 's,.*/,,'` by configure." 41854963b7b6Smrg 41864963b7b6Smrg # First look for the input files in the build tree, otherwise in the 41874963b7b6Smrg # src tree. 41884963b7b6Smrg ac_file_inputs=`IFS=: 41894963b7b6Smrg for f in $ac_file_in; do 41904963b7b6Smrg case $f in 41914963b7b6Smrg -) echo $tmp/stdin ;; 41924963b7b6Smrg [\\/$]*) 41934963b7b6Smrg # Absolute (can't be DOS-style, as IFS=:) 41944963b7b6Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 41954963b7b6Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 41964963b7b6Smrg { (exit 1); exit 1; }; } 41974963b7b6Smrg echo "$f";; 41984963b7b6Smrg *) # Relative 41994963b7b6Smrg if test -f "$f"; then 42004963b7b6Smrg # Build tree 42014963b7b6Smrg echo "$f" 42024963b7b6Smrg elif test -f "$srcdir/$f"; then 42034963b7b6Smrg # Source tree 42044963b7b6Smrg echo "$srcdir/$f" 42054963b7b6Smrg else 42064963b7b6Smrg # /dev/null tree 42074963b7b6Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 42084963b7b6Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 42094963b7b6Smrg { (exit 1); exit 1; }; } 42104963b7b6Smrg fi;; 42114963b7b6Smrg esac 42124963b7b6Smrg done` || { (exit 1); exit 1; } 42134963b7b6Smrg_ACEOF 42144963b7b6Smrgcat >>$CONFIG_STATUS <<_ACEOF 42154963b7b6Smrg sed "$ac_vpsub 42164963b7b6Smrg$extrasub 42174963b7b6Smrg_ACEOF 42184963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 42194963b7b6Smrg:t 42204963b7b6Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 42214963b7b6Smrgs,@configure_input@,$configure_input,;t t 42224963b7b6Smrgs,@srcdir@,$ac_srcdir,;t t 42234963b7b6Smrgs,@abs_srcdir@,$ac_abs_srcdir,;t t 42244963b7b6Smrgs,@top_srcdir@,$ac_top_srcdir,;t t 42254963b7b6Smrgs,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 42264963b7b6Smrgs,@builddir@,$ac_builddir,;t t 42274963b7b6Smrgs,@abs_builddir@,$ac_abs_builddir,;t t 42284963b7b6Smrgs,@top_builddir@,$ac_top_builddir,;t t 42294963b7b6Smrgs,@abs_top_builddir@,$ac_abs_top_builddir,;t t 42304963b7b6Smrgs,@INSTALL@,$ac_INSTALL,;t t 42314963b7b6Smrg" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 42324963b7b6Smrg rm -f $tmp/stdin 42334963b7b6Smrg if test x"$ac_file" != x-; then 42344963b7b6Smrg mv $tmp/out $ac_file 42354963b7b6Smrg else 42364963b7b6Smrg cat $tmp/out 42374963b7b6Smrg rm -f $tmp/out 42384963b7b6Smrg fi 42394963b7b6Smrg 42404963b7b6Smrgdone 42414963b7b6Smrg_ACEOF 42424963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 42434963b7b6Smrg 42444963b7b6Smrg# 42454963b7b6Smrg# CONFIG_HEADER section. 42464963b7b6Smrg# 42474963b7b6Smrg 42484963b7b6Smrg# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 42494963b7b6Smrg# NAME is the cpp macro being defined and VALUE is the value it is being given. 42504963b7b6Smrg# 42514963b7b6Smrg# ac_d sets the value in "#define NAME VALUE" lines. 42524963b7b6Smrgac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 42534963b7b6Smrgac_dB='[ ].*$,\1#\2' 42544963b7b6Smrgac_dC=' ' 42554963b7b6Smrgac_dD=',;t' 42564963b7b6Smrg# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 42574963b7b6Smrgac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 42584963b7b6Smrgac_uB='$,\1#\2define\3' 42594963b7b6Smrgac_uC=' ' 42604963b7b6Smrgac_uD=',;t' 42614963b7b6Smrg 42624963b7b6Smrgfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 42634963b7b6Smrg # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 42644963b7b6Smrg case $ac_file in 42654963b7b6Smrg - | *:- | *:-:* ) # input from stdin 42664963b7b6Smrg cat >$tmp/stdin 42674963b7b6Smrg ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 42684963b7b6Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 42694963b7b6Smrg *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 42704963b7b6Smrg ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 42714963b7b6Smrg * ) ac_file_in=$ac_file.in ;; 42724963b7b6Smrg esac 42734963b7b6Smrg 42744963b7b6Smrg test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 42754963b7b6Smrgecho "$as_me: creating $ac_file" >&6;} 42764963b7b6Smrg 42774963b7b6Smrg # First look for the input files in the build tree, otherwise in the 42784963b7b6Smrg # src tree. 42794963b7b6Smrg ac_file_inputs=`IFS=: 42804963b7b6Smrg for f in $ac_file_in; do 42814963b7b6Smrg case $f in 42824963b7b6Smrg -) echo $tmp/stdin ;; 42834963b7b6Smrg [\\/$]*) 42844963b7b6Smrg # Absolute (can't be DOS-style, as IFS=:) 42854963b7b6Smrg test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 42864963b7b6Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 42874963b7b6Smrg { (exit 1); exit 1; }; } 42884963b7b6Smrg # Do quote $f, to prevent DOS paths from being IFS'd. 42894963b7b6Smrg echo "$f";; 42904963b7b6Smrg *) # Relative 42914963b7b6Smrg if test -f "$f"; then 42924963b7b6Smrg # Build tree 42934963b7b6Smrg echo "$f" 42944963b7b6Smrg elif test -f "$srcdir/$f"; then 42954963b7b6Smrg # Source tree 42964963b7b6Smrg echo "$srcdir/$f" 42974963b7b6Smrg else 42984963b7b6Smrg # /dev/null tree 42994963b7b6Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 43004963b7b6Smrgecho "$as_me: error: cannot find input file: $f" >&2;} 43014963b7b6Smrg { (exit 1); exit 1; }; } 43024963b7b6Smrg fi;; 43034963b7b6Smrg esac 43044963b7b6Smrg done` || { (exit 1); exit 1; } 43054963b7b6Smrg # Remove the trailing spaces. 43064963b7b6Smrg sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 43074963b7b6Smrg 43084963b7b6Smrg_ACEOF 43094963b7b6Smrg 43104963b7b6Smrg# Transform confdefs.h into two sed scripts, `conftest.defines' and 43114963b7b6Smrg# `conftest.undefs', that substitutes the proper values into 43124963b7b6Smrg# config.h.in to produce config.h. The first handles `#define' 43134963b7b6Smrg# templates, and the second `#undef' templates. 43144963b7b6Smrg# And first: Protect against being on the right side of a sed subst in 43154963b7b6Smrg# config.status. Protect against being in an unquoted here document 43164963b7b6Smrg# in config.status. 43174963b7b6Smrgrm -f conftest.defines conftest.undefs 43184963b7b6Smrg# Using a here document instead of a string reduces the quoting nightmare. 43194963b7b6Smrg# Putting comments in sed scripts is not portable. 43204963b7b6Smrg# 43214963b7b6Smrg# `end' is used to avoid that the second main sed command (meant for 43224963b7b6Smrg# 0-ary CPP macros) applies to n-ary macro definitions. 43234963b7b6Smrg# See the Autoconf documentation for `clear'. 43244963b7b6Smrgcat >confdef2sed.sed <<\_ACEOF 43254963b7b6Smrgs/[\\&,]/\\&/g 43264963b7b6Smrgs,[\\$`],\\&,g 43274963b7b6Smrgt clear 43284963b7b6Smrg: clear 43294963b7b6Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 43304963b7b6Smrgt end 43314963b7b6Smrgs,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 43324963b7b6Smrg: end 43334963b7b6Smrg_ACEOF 43344963b7b6Smrg# If some macros were called several times there might be several times 43354963b7b6Smrg# the same #defines, which is useless. Nevertheless, we may not want to 43364963b7b6Smrg# sort them, since we want the *last* AC-DEFINE to be honored. 43374963b7b6Smrguniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 43384963b7b6Smrgsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 43394963b7b6Smrgrm -f confdef2sed.sed 43404963b7b6Smrg 43414963b7b6Smrg# This sed command replaces #undef with comments. This is necessary, for 43424963b7b6Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 43434963b7b6Smrg# on some systems where configure will not decide to define it. 43444963b7b6Smrgcat >>conftest.undefs <<\_ACEOF 43454963b7b6Smrgs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 43464963b7b6Smrg_ACEOF 43474963b7b6Smrg 43484963b7b6Smrg# Break up conftest.defines because some shells have a limit on the size 43494963b7b6Smrg# of here documents, and old seds have small limits too (100 cmds). 43504963b7b6Smrgecho ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 43514963b7b6Smrgecho ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 43524963b7b6Smrgecho ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 43534963b7b6Smrgecho ' :' >>$CONFIG_STATUS 43544963b7b6Smrgrm -f conftest.tail 43554963b7b6Smrgwhile grep . conftest.defines >/dev/null 43564963b7b6Smrgdo 43574963b7b6Smrg # Write a limited-size here document to $tmp/defines.sed. 43584963b7b6Smrg echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 43594963b7b6Smrg # Speed up: don't consider the non `#define' lines. 43604963b7b6Smrg echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 43614963b7b6Smrg # Work around the forget-to-reset-the-flag bug. 43624963b7b6Smrg echo 't clr' >>$CONFIG_STATUS 43634963b7b6Smrg echo ': clr' >>$CONFIG_STATUS 43644963b7b6Smrg sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 43654963b7b6Smrg echo 'CEOF 43664963b7b6Smrg sed -f $tmp/defines.sed $tmp/in >$tmp/out 43674963b7b6Smrg rm -f $tmp/in 43684963b7b6Smrg mv $tmp/out $tmp/in 43694963b7b6Smrg' >>$CONFIG_STATUS 43704963b7b6Smrg sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 43714963b7b6Smrg rm -f conftest.defines 43724963b7b6Smrg mv conftest.tail conftest.defines 43734963b7b6Smrgdone 43744963b7b6Smrgrm -f conftest.defines 43754963b7b6Smrgecho ' fi # grep' >>$CONFIG_STATUS 43764963b7b6Smrgecho >>$CONFIG_STATUS 43774963b7b6Smrg 43784963b7b6Smrg# Break up conftest.undefs because some shells have a limit on the size 43794963b7b6Smrg# of here documents, and old seds have small limits too (100 cmds). 43804963b7b6Smrgecho ' # Handle all the #undef templates' >>$CONFIG_STATUS 43814963b7b6Smrgrm -f conftest.tail 43824963b7b6Smrgwhile grep . conftest.undefs >/dev/null 43834963b7b6Smrgdo 43844963b7b6Smrg # Write a limited-size here document to $tmp/undefs.sed. 43854963b7b6Smrg echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 43864963b7b6Smrg # Speed up: don't consider the non `#undef' 43874963b7b6Smrg echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 43884963b7b6Smrg # Work around the forget-to-reset-the-flag bug. 43894963b7b6Smrg echo 't clr' >>$CONFIG_STATUS 43904963b7b6Smrg echo ': clr' >>$CONFIG_STATUS 43914963b7b6Smrg sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 43924963b7b6Smrg echo 'CEOF 43934963b7b6Smrg sed -f $tmp/undefs.sed $tmp/in >$tmp/out 43944963b7b6Smrg rm -f $tmp/in 43954963b7b6Smrg mv $tmp/out $tmp/in 43964963b7b6Smrg' >>$CONFIG_STATUS 43974963b7b6Smrg sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 43984963b7b6Smrg rm -f conftest.undefs 43994963b7b6Smrg mv conftest.tail conftest.undefs 44004963b7b6Smrgdone 44014963b7b6Smrgrm -f conftest.undefs 44024963b7b6Smrg 44034963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 44044963b7b6Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 44054963b7b6Smrg # use $as_me), people would be surprised to read: 44064963b7b6Smrg # /* config.h. Generated by config.status. */ 44074963b7b6Smrg if test x"$ac_file" = x-; then 44084963b7b6Smrg echo "/* Generated by configure. */" >$tmp/config.h 44094963b7b6Smrg else 44104963b7b6Smrg echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 44114963b7b6Smrg fi 44124963b7b6Smrg cat $tmp/in >>$tmp/config.h 44134963b7b6Smrg rm -f $tmp/in 44144963b7b6Smrg if test x"$ac_file" != x-; then 44154963b7b6Smrg if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 44164963b7b6Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 44174963b7b6Smrgecho "$as_me: $ac_file is unchanged" >&6;} 44184963b7b6Smrg else 44194963b7b6Smrg ac_dir=`(dirname "$ac_file") 2>/dev/null || 44204963b7b6Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 44214963b7b6Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 44224963b7b6Smrg X"$ac_file" : 'X\(//\)$' \| \ 44234963b7b6Smrg X"$ac_file" : 'X\(/\)' \| \ 44244963b7b6Smrg . : '\(.\)' 2>/dev/null || 44254963b7b6Smrgecho X"$ac_file" | 44264963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 44274963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 44284963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 44294963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 44304963b7b6Smrg s/.*/./; q'` 44314963b7b6Smrg { if $as_mkdir_p; then 44324963b7b6Smrg mkdir -p "$ac_dir" 44334963b7b6Smrg else 44344963b7b6Smrg as_dir="$ac_dir" 44354963b7b6Smrg as_dirs= 44364963b7b6Smrg while test ! -d "$as_dir"; do 44374963b7b6Smrg as_dirs="$as_dir $as_dirs" 44384963b7b6Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 44394963b7b6Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 44404963b7b6Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 44414963b7b6Smrg X"$as_dir" : 'X\(//\)$' \| \ 44424963b7b6Smrg X"$as_dir" : 'X\(/\)' \| \ 44434963b7b6Smrg . : '\(.\)' 2>/dev/null || 44444963b7b6Smrgecho X"$as_dir" | 44454963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 44464963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 44474963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 44484963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 44494963b7b6Smrg s/.*/./; q'` 44504963b7b6Smrg done 44514963b7b6Smrg test ! -n "$as_dirs" || mkdir $as_dirs 44524963b7b6Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 44534963b7b6Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 44544963b7b6Smrg { (exit 1); exit 1; }; }; } 44554963b7b6Smrg 44564963b7b6Smrg rm -f $ac_file 44574963b7b6Smrg mv $tmp/config.h $ac_file 44584963b7b6Smrg fi 44594963b7b6Smrg else 44604963b7b6Smrg cat $tmp/config.h 44614963b7b6Smrg rm -f $tmp/config.h 44624963b7b6Smrg fi 44634963b7b6Smrg# Compute $ac_file's index in $config_headers. 44644963b7b6Smrg_am_stamp_count=1 44654963b7b6Smrgfor _am_header in $config_headers :; do 44664963b7b6Smrg case $_am_header in 44674963b7b6Smrg $ac_file | $ac_file:* ) 44684963b7b6Smrg break ;; 44694963b7b6Smrg * ) 44704963b7b6Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 44714963b7b6Smrg esac 44724963b7b6Smrgdone 44734963b7b6Smrgecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 44744963b7b6Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 44754963b7b6Smrg X$ac_file : 'X\(//\)[^/]' \| \ 44764963b7b6Smrg X$ac_file : 'X\(//\)$' \| \ 44774963b7b6Smrg X$ac_file : 'X\(/\)' \| \ 44784963b7b6Smrg . : '\(.\)' 2>/dev/null || 44794963b7b6Smrgecho X$ac_file | 44804963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 44814963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 44824963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 44834963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 44844963b7b6Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 44854963b7b6Smrgdone 44864963b7b6Smrg_ACEOF 44874963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 44884963b7b6Smrg 44894963b7b6Smrg# 44904963b7b6Smrg# CONFIG_COMMANDS section. 44914963b7b6Smrg# 44924963b7b6Smrgfor ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 44934963b7b6Smrg ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 44944963b7b6Smrg ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 44954963b7b6Smrg ac_dir=`(dirname "$ac_dest") 2>/dev/null || 44964963b7b6Smrg$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 44974963b7b6Smrg X"$ac_dest" : 'X\(//\)[^/]' \| \ 44984963b7b6Smrg X"$ac_dest" : 'X\(//\)$' \| \ 44994963b7b6Smrg X"$ac_dest" : 'X\(/\)' \| \ 45004963b7b6Smrg . : '\(.\)' 2>/dev/null || 45014963b7b6Smrgecho X"$ac_dest" | 45024963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 45034963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 45044963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 45054963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 45064963b7b6Smrg s/.*/./; q'` 45074963b7b6Smrg { if $as_mkdir_p; then 45084963b7b6Smrg mkdir -p "$ac_dir" 45094963b7b6Smrg else 45104963b7b6Smrg as_dir="$ac_dir" 45114963b7b6Smrg as_dirs= 45124963b7b6Smrg while test ! -d "$as_dir"; do 45134963b7b6Smrg as_dirs="$as_dir $as_dirs" 45144963b7b6Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 45154963b7b6Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 45164963b7b6Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 45174963b7b6Smrg X"$as_dir" : 'X\(//\)$' \| \ 45184963b7b6Smrg X"$as_dir" : 'X\(/\)' \| \ 45194963b7b6Smrg . : '\(.\)' 2>/dev/null || 45204963b7b6Smrgecho X"$as_dir" | 45214963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 45224963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 45234963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 45244963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 45254963b7b6Smrg s/.*/./; q'` 45264963b7b6Smrg done 45274963b7b6Smrg test ! -n "$as_dirs" || mkdir $as_dirs 45284963b7b6Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 45294963b7b6Smrgecho "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 45304963b7b6Smrg { (exit 1); exit 1; }; }; } 45314963b7b6Smrg 45324963b7b6Smrg ac_builddir=. 45334963b7b6Smrg 45344963b7b6Smrgif test "$ac_dir" != .; then 45354963b7b6Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 45364963b7b6Smrg # A "../" for each directory in $ac_dir_suffix. 45374963b7b6Smrg ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 45384963b7b6Smrgelse 45394963b7b6Smrg ac_dir_suffix= ac_top_builddir= 45404963b7b6Smrgfi 45414963b7b6Smrg 45424963b7b6Smrgcase $srcdir in 45434963b7b6Smrg .) # No --srcdir option. We are building in place. 45444963b7b6Smrg ac_srcdir=. 45454963b7b6Smrg if test -z "$ac_top_builddir"; then 45464963b7b6Smrg ac_top_srcdir=. 45474963b7b6Smrg else 45484963b7b6Smrg ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 45494963b7b6Smrg fi ;; 45504963b7b6Smrg [\\/]* | ?:[\\/]* ) # Absolute path. 45514963b7b6Smrg ac_srcdir=$srcdir$ac_dir_suffix; 45524963b7b6Smrg ac_top_srcdir=$srcdir ;; 45534963b7b6Smrg *) # Relative path. 45544963b7b6Smrg ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 45554963b7b6Smrg ac_top_srcdir=$ac_top_builddir$srcdir ;; 45564963b7b6Smrgesac 45574963b7b6Smrg 45584963b7b6Smrg# Do not use `cd foo && pwd` to compute absolute paths, because 45594963b7b6Smrg# the directories may not exist. 45604963b7b6Smrgcase `pwd` in 45614963b7b6Smrg.) ac_abs_builddir="$ac_dir";; 45624963b7b6Smrg*) 45634963b7b6Smrg case "$ac_dir" in 45644963b7b6Smrg .) ac_abs_builddir=`pwd`;; 45654963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 45664963b7b6Smrg *) ac_abs_builddir=`pwd`/"$ac_dir";; 45674963b7b6Smrg esac;; 45684963b7b6Smrgesac 45694963b7b6Smrgcase $ac_abs_builddir in 45704963b7b6Smrg.) ac_abs_top_builddir=${ac_top_builddir}.;; 45714963b7b6Smrg*) 45724963b7b6Smrg case ${ac_top_builddir}. in 45734963b7b6Smrg .) ac_abs_top_builddir=$ac_abs_builddir;; 45744963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 45754963b7b6Smrg *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 45764963b7b6Smrg esac;; 45774963b7b6Smrgesac 45784963b7b6Smrgcase $ac_abs_builddir in 45794963b7b6Smrg.) ac_abs_srcdir=$ac_srcdir;; 45804963b7b6Smrg*) 45814963b7b6Smrg case $ac_srcdir in 45824963b7b6Smrg .) ac_abs_srcdir=$ac_abs_builddir;; 45834963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 45844963b7b6Smrg *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 45854963b7b6Smrg esac;; 45864963b7b6Smrgesac 45874963b7b6Smrgcase $ac_abs_builddir in 45884963b7b6Smrg.) ac_abs_top_srcdir=$ac_top_srcdir;; 45894963b7b6Smrg*) 45904963b7b6Smrg case $ac_top_srcdir in 45914963b7b6Smrg .) ac_abs_top_srcdir=$ac_abs_builddir;; 45924963b7b6Smrg [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 45934963b7b6Smrg *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 45944963b7b6Smrg esac;; 45954963b7b6Smrgesac 45964963b7b6Smrg 45974963b7b6Smrg 45984963b7b6Smrg { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 45994963b7b6Smrgecho "$as_me: executing $ac_dest commands" >&6;} 46004963b7b6Smrg case $ac_dest in 46014963b7b6Smrg depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 46024963b7b6Smrg # Strip MF so we end up with the name of the file. 46034963b7b6Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 46044963b7b6Smrg # Check whether this is an Automake generated Makefile or not. 46054963b7b6Smrg # We used to match only the files named `Makefile.in', but 46064963b7b6Smrg # some people rename them; so instead we look at the file content. 46074963b7b6Smrg # Grep'ing the first line is not enough: some people post-process 46084963b7b6Smrg # each Makefile.in and add a new line on top of each file to say so. 46094963b7b6Smrg # So let's grep whole file. 46104963b7b6Smrg if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 46114963b7b6Smrg dirpart=`(dirname "$mf") 2>/dev/null || 46124963b7b6Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 46134963b7b6Smrg X"$mf" : 'X\(//\)[^/]' \| \ 46144963b7b6Smrg X"$mf" : 'X\(//\)$' \| \ 46154963b7b6Smrg X"$mf" : 'X\(/\)' \| \ 46164963b7b6Smrg . : '\(.\)' 2>/dev/null || 46174963b7b6Smrgecho X"$mf" | 46184963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 46194963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 46204963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 46214963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 46224963b7b6Smrg s/.*/./; q'` 46234963b7b6Smrg else 46244963b7b6Smrg continue 46254963b7b6Smrg fi 46264963b7b6Smrg grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 46274963b7b6Smrg # Extract the definition of DEP_FILES from the Makefile without 46284963b7b6Smrg # running `make'. 46294963b7b6Smrg DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 46304963b7b6Smrg test -z "$DEPDIR" && continue 46314963b7b6Smrg # When using ansi2knr, U may be empty or an underscore; expand it 46324963b7b6Smrg U=`sed -n -e '/^U = / s///p' < "$mf"` 46334963b7b6Smrg test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 46344963b7b6Smrg # We invoke sed twice because it is the simplest approach to 46354963b7b6Smrg # changing $(DEPDIR) to its actual value in the expansion. 46364963b7b6Smrg for file in `sed -n -e ' 46374963b7b6Smrg /^DEP_FILES = .*\\\\$/ { 46384963b7b6Smrg s/^DEP_FILES = // 46394963b7b6Smrg :loop 46404963b7b6Smrg s/\\\\$// 46414963b7b6Smrg p 46424963b7b6Smrg n 46434963b7b6Smrg /\\\\$/ b loop 46444963b7b6Smrg p 46454963b7b6Smrg } 46464963b7b6Smrg /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 46474963b7b6Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 46484963b7b6Smrg # Make sure the directory exists. 46494963b7b6Smrg test -f "$dirpart/$file" && continue 46504963b7b6Smrg fdir=`(dirname "$file") 2>/dev/null || 46514963b7b6Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 46524963b7b6Smrg X"$file" : 'X\(//\)[^/]' \| \ 46534963b7b6Smrg X"$file" : 'X\(//\)$' \| \ 46544963b7b6Smrg X"$file" : 'X\(/\)' \| \ 46554963b7b6Smrg . : '\(.\)' 2>/dev/null || 46564963b7b6Smrgecho X"$file" | 46574963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 46584963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 46594963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 46604963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 46614963b7b6Smrg s/.*/./; q'` 46624963b7b6Smrg { if $as_mkdir_p; then 46634963b7b6Smrg mkdir -p $dirpart/$fdir 46644963b7b6Smrg else 46654963b7b6Smrg as_dir=$dirpart/$fdir 46664963b7b6Smrg as_dirs= 46674963b7b6Smrg while test ! -d "$as_dir"; do 46684963b7b6Smrg as_dirs="$as_dir $as_dirs" 46694963b7b6Smrg as_dir=`(dirname "$as_dir") 2>/dev/null || 46704963b7b6Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 46714963b7b6Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 46724963b7b6Smrg X"$as_dir" : 'X\(//\)$' \| \ 46734963b7b6Smrg X"$as_dir" : 'X\(/\)' \| \ 46744963b7b6Smrg . : '\(.\)' 2>/dev/null || 46754963b7b6Smrgecho X"$as_dir" | 46764963b7b6Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 46774963b7b6Smrg /^X\(\/\/\)[^/].*/{ s//\1/; q; } 46784963b7b6Smrg /^X\(\/\/\)$/{ s//\1/; q; } 46794963b7b6Smrg /^X\(\/\).*/{ s//\1/; q; } 46804963b7b6Smrg s/.*/./; q'` 46814963b7b6Smrg done 46824963b7b6Smrg test ! -n "$as_dirs" || mkdir $as_dirs 46834963b7b6Smrg fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 46844963b7b6Smrgecho "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 46854963b7b6Smrg { (exit 1); exit 1; }; }; } 46864963b7b6Smrg 46874963b7b6Smrg # echo "creating $dirpart/$file" 46884963b7b6Smrg echo '# dummy' > "$dirpart/$file" 46894963b7b6Smrg done 46904963b7b6Smrgdone 46914963b7b6Smrg ;; 46924963b7b6Smrg esac 46934963b7b6Smrgdone 46944963b7b6Smrg_ACEOF 46954963b7b6Smrg 46964963b7b6Smrgcat >>$CONFIG_STATUS <<\_ACEOF 46974963b7b6Smrg 46984963b7b6Smrg{ (exit 0); exit 0; } 46994963b7b6Smrg_ACEOF 47004963b7b6Smrgchmod +x $CONFIG_STATUS 47014963b7b6Smrgac_clean_files=$ac_clean_files_save 47024963b7b6Smrg 47034963b7b6Smrg 47044963b7b6Smrg# configure is writing to config.log, and then calls config.status. 47054963b7b6Smrg# config.status does its own redirection, appending to config.log. 47064963b7b6Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 47074963b7b6Smrg# by configure, so config.status won't be able to write to it; its 47084963b7b6Smrg# output is simply discarded. So we exec the FD to /dev/null, 47094963b7b6Smrg# effectively closing config.log, so it can be properly (re)opened and 47104963b7b6Smrg# appended to by config.status. When coming back to configure, we 47114963b7b6Smrg# need to make the FD available again. 47124963b7b6Smrgif test "$no_create" != yes; then 47134963b7b6Smrg ac_cs_success=: 47144963b7b6Smrg ac_config_status_args= 47154963b7b6Smrg test "$silent" = yes && 47164963b7b6Smrg ac_config_status_args="$ac_config_status_args --quiet" 47174963b7b6Smrg exec 5>/dev/null 47184963b7b6Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 47194963b7b6Smrg exec 5>>config.log 47204963b7b6Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 47214963b7b6Smrg # would make configure fail if this is the last instruction. 47224963b7b6Smrg $ac_cs_success || { (exit 1); exit 1; } 47234963b7b6Smrgfi 47244963b7b6Smrg 4725