#! /bin/sh# Guess values for system-dependent variables and create Makefiles.# Generated by GNU Autoconf 2.59 for LCD4Linux 0.10.1-CVS.## Report bugs to <lcd4linux-users@lists.sourceforge.net>.## Copyright (C) 2003 Free Software Foundation, Inc.# This configure script is free software; the Free Software Foundation# gives unlimited permission to copy, distribute and modify it.## --------------------- #### M4sh Initialization. #### --------------------- ### Be Bourne compatibleiftest-n"${ZSH_VERSION+set}"&&(emulatesh)>/dev/null2>&1;thenemulatesh
NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which# is contrary to our usage. Disable this feature.alias-g'${1+"$@"}'='"$@"'eliftest-n"${BASH_VERSION+set}"&&(set-oposix)>/dev/null2>&1;thenset-oposix
fiDUALCASE=1;exportDUALCASE# for MKS sh# Support unset when possible.if((MAIL=60;unsetMAIL)||exit)>/dev/null2>&1;thenas_unset=unsetelseas_unset=falsefi# Work around bugs in pre-3.0 UWIN ksh.$as_unsetENVMAILMAILPATH
PS1='$ 'PS2='> 'PS4='+ '# NLS nuisances.foras_varin\LANGLANGUAGELC_ADDRESSLC_ALLLC_COLLATELC_CTYPELC_IDENTIFICATION\LC_MEASUREMENTLC_MESSAGESLC_MONETARYLC_NAMELC_NUMERICLC_PAPER\LC_TELEPHONELC_TIME
doif(set+x;test-z"`(eval $as_var=C; export $as_var) 2>&1`");theneval$as_var=C;export$as_varelse$as_unset$as_varfidone# Required to use basename.ifexpra:'\(a\)'>/dev/null2>&1;thenas_expr=expr
elseas_expr=falsefiif(basename/)>/dev/null2>&1&&test"X`basename / 2>&1`"="X/";thenas_basename=basename
elseas_basename=falsefi# Name of the executable.as_me=`$as_basename"$0"||$as_exprX/"$0":'.*/\([^/][^/]*\)/*$'\|\X"$0":'X\(//\)$'\|\X"$0":'X\(/\)$'\|\.:'\(.\)'2>/dev/null||echoX/"$0"|sed'/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'`# PATH needs CR, and LINENO needs CR and PATH.# Avoid depending upon Character Ranges.as_cr_letters='abcdefghijklmnopqrstuvwxyz'as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'as_cr_Letters=$as_cr_letters$as_cr_LETTERSas_cr_digits='0123456789'as_cr_alnum=$as_cr_Letters$as_cr_digits# The user is always right.iftest"${PATH_SEPARATOR+set}"!=set;thenecho"#! /bin/sh">conf$$.sh
echo"exit 0">>conf$$.sh
chmod+xconf$$.sh
if(PATH="/nonexistent;.";conf$$.sh)>/dev/null2>&1;thenPATH_SEPARATOR=';'elsePATH_SEPARATOR=:
firm-fconf$$.sh
fias_lineno_1=$LINENOas_lineno_2=$LINENOas_lineno_3=`(expr$as_lineno_1+1)2>/dev/null`test"x$as_lineno_1"!="x$as_lineno_2"&&test"x$as_lineno_3"="x$as_lineno_2"||{# Find who we are. Look in the path if we contain no path at all# relative or not.case$0in*[\\/]*)as_myself=$0;;*)as_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
test-r"$as_dir/$0"&&as_myself=$as_dir/$0&&breakdone;;esac# We did not find ourselves, most probably we were run as `sh COMMAND'# in which case we are not to be found in the path.iftest"x$as_myself"=x;thenas_myself=$0fiiftest!-f"$as_myself";then{echo"$as_me: error: cannot find myself; rerun with an absolute path">&2{(exit1);exit1;};}ficase$CONFIG_SHELLin'')as_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
foras_baseinshbashkshsh5;docase$as_dirin/*)if("$as_dir/$as_base"-c' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ')2>/dev/null;then$as_unsetBASH_ENV||test"${BASH_ENV+set}"!=set||{BASH_ENV=;exportBASH_ENV;}$as_unsetENV||test"${ENV+set}"!=set||{ENV=;exportENV;}CONFIG_SHELL=$as_dir/$as_baseexportCONFIG_SHELL
exec"$CONFIG_SHELL""$0"${1+"$@"}fi;;esacdonedone;;esac# Create $as_me.lineno as a copy of $as_myself, but with $LINENO# uniformly replaced by the line number. The first 'sed' inserts a# line-number line before each line; the second 'sed' does the real# work. The second script uses 'N' to pair each line-number line# with the numbered line, and appends trailing '-' during# substitution so that $LINENO is not a special case at line end.# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)sed'='<$as_myself|sed' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, '>$as_me.lineno&&chmod+x$as_me.lineno||{echo"$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell">&2{(exit1);exit1;};}# Don't try to exec as it changes $[0], causing all sort of problems# (the dirname of $[0] is not the place where we might find the# original and so on. Autoconf is especially sensible to this).../$as_me.lineno
# Exit status is that of the last command.exit}case`echo"testing\c";echo1,2,3`,`echo-ntesting;echo1,2,3`in*c*,-n*)ECHO_N=ECHO_C=''ECHO_T=' ';;*c*,*)ECHO_N=-nECHO_C=ECHO_T=;;*)ECHO_N=ECHO_C='\c'ECHO_T=;;esacifexpra:'\(a\)'>/dev/null2>&1;thenas_expr=expr
elseas_expr=falsefi
rm-fconf$$conf$$.execonf$$.file
echo>conf$$.file
ifln-sconf$$.fileconf$$2>/dev/null;then# We could just check for DJGPP; but this test a) works b) is more generic# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).iftest-fconf$$.exe;then# Don't use ln at all; we don't have any linksas_ln_s='cp -p'elseas_ln_s='ln -s'fieliflnconf$$.fileconf$$2>/dev/null;thenas_ln_s=ln
elseas_ln_s='cp -p'fi
rm-fconf$$conf$$.execonf$$.file
ifmkdir-p.2>/dev/null;thenas_mkdir_p=:
elsetest-d./-p&&rmdir./-p
as_mkdir_p=falsefias_executable_p="test -f"# Sed expression to map a string onto a valid CPP name.as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"# Sed expression to map a string onto a valid variable name.as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"# IFS# We need space, tab and new line, in precisely that order.as_nl=''IFS=" $as_nl"# CDPATH.$as_unsetCDPATH
# Name of the host.# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,# so uname gets run too.ac_hostname=`(hostname||uname-n)2>/dev/null|sed1q`exec6>&1## Initializations.#ac_default_prefix=/usr/local
ac_config_libobj_dir=.
cross_compiling=no
subdirs=MFLAGS=MAKEFLAGS=SHELL=${CONFIG_SHELL-/bin/sh}# Maximum number of lines to put in a shell here document.# This variable seems obsolete. It should probably be removed, and# only ac_max_sed_lines should be used.
:${ac_max_here_lines=38}# Identity of this package.PACKAGE_NAME='LCD4Linux'PACKAGE_TARNAME='lcd4linux'PACKAGE_VERSION='0.10.1-CVS'PACKAGE_STRING='LCD4Linux 0.10.1-CVS'PACKAGE_BUGREPORT='lcd4linux-users@lists.sourceforge.net'ac_unique_file="lcd4linux.c"# Factoring default headers for most tests.ac_includes_default="\#include <stdio.h>#if HAVE_SYS_TYPES_H# include <sys/types.h>#endif#if HAVE_SYS_STAT_H# include <sys/stat.h>#endif#if STDC_HEADERS# include <stdlib.h># include <stddef.h>#else# if HAVE_STDLIB_H# include <stdlib.h># endif#endif#if HAVE_STRING_H# if !STDC_HEADERS && HAVE_MEMORY_H# include <memory.h># endif# include <string.h>#endif#if HAVE_STRINGS_H# include <strings.h>#endif#if HAVE_INTTYPES_H# include <inttypes.h>#else# if HAVE_STDINT_H# include <stdint.h># endif#endif#if HAVE_UNISTD_H# include <unistd.h>#endif"ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar 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 CPP LN_S CURSES_LIBS CURSES_INCLUDEDIR EGREP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS DRIVERS DRVLIBS PLUGINS PLUGINLIBS LIBOBJS POW_LIB LTLIBOBJS'ac_subst_files=''# Initialize some variables set by options.ac_init_help=ac_init_version=false# The variables have the same names as the options, with# dashes changed to underlines.cache_file=/dev/null
exec_prefix=NONE
no_create=no_recursion=prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=site=srcdir=verbose=x_includes=NONE
x_libraries=NONE
# Installation directory options.# These are left unexpanded so users can "make install exec_prefix=/foo"# and all the variables that are supposed to be based on exec_prefix# by default will actually change.# Use braces instead of parens because sh, perl, etc. also accept them.bindir='${exec_prefix}/bin'sbindir='${exec_prefix}/sbin'libexecdir='${exec_prefix}/libexec'datadir='${prefix}/share'sysconfdir='${prefix}/etc'sharedstatedir='${prefix}/com'localstatedir='${prefix}/var'libdir='${exec_prefix}/lib'includedir='${prefix}/include'oldincludedir='/usr/include'infodir='${prefix}/info'mandir='${prefix}/man'ac_prev=forac_option
do# If the previous option needs an argument, assign it.iftest-n"$ac_prev";theneval"$ac_prev=\$ac_option"ac_prev=continuefiac_optarg=`expr"x$ac_option":'x[^=]*=\(.*\)'`# Accept the important Cygnus configure options, so we can diagnose typos.case$ac_optionin-bindir|--bindir|--bindi|--bind|--bin|--bi)ac_prev=bindir;;-bindir=*|--bindir=*|--bindi=*|--bind=*|--bin=*|--bi=*)bindir=$ac_optarg;;-build|--build|--buil|--bui|--bu)ac_prev=build_alias;;-build=*|--build=*|--buil=*|--bui=*|--bu=*)build_alias=$ac_optarg;;-cache-file|--cache-file|--cache-fil|--cache-fi\|--cache-f|--cache-|--cache|--cach|--cac|--ca|--c)ac_prev=cache_file;;-cache-file=*|--cache-file=*|--cache-fil=*|--cache-fi=*\|--cache-f=*|--cache-=*|--cache=*|--cach=*|--cac=*|--ca=*|--c=*)cache_file=$ac_optarg;;--config-cache|-C)cache_file=config.cache;;-datadir|--datadir|--datadi|--datad|--data|--dat|--da)ac_prev=datadir;;-datadir=*|--datadir=*|--datadi=*|--datad=*|--data=*|--dat=*\|--da=*)datadir=$ac_optarg;;-disable-*|--disable-*)ac_feature=`expr"x$ac_option":'x-*disable-\(.*\)'`# Reject names that are not valid shell variable names.expr"x$ac_feature":".*[^-_$as_cr_alnum]">/dev/null&&{echo"$as_me: error: invalid feature name: $ac_feature">&2{(exit1);exit1;};}ac_feature=`echo$ac_feature|sed's/-/_/g'`eval"enable_$ac_feature=no";;-enable-*|--enable-*)ac_feature=`expr"x$ac_option":'x-*enable-\([^=]*\)'`# Reject names that are not valid shell variable names.expr"x$ac_feature":".*[^-_$as_cr_alnum]">/dev/null&&{echo"$as_me: error: invalid feature name: $ac_feature">&2{(exit1);exit1;};}ac_feature=`echo$ac_feature|sed's/-/_/g'`case$ac_optionin*=*)ac_optarg=`echo"$ac_optarg"|sed"s/'/'\\\\\\\\''/g"`;;*)ac_optarg=yes;;esaceval"enable_$ac_feature='$ac_optarg'";;-exec-prefix|--exec_prefix|--exec-prefix|--exec-prefi\|--exec-pref|--exec-pre|--exec-pr|--exec-p|--exec-\|--exec|--exe|--ex)ac_prev=exec_prefix;;-exec-prefix=*|--exec_prefix=*|--exec-prefix=*|--exec-prefi=*\|--exec-pref=*|--exec-pre=*|--exec-pr=*|--exec-p=*|--exec-=*\|--exec=*|--exe=*|--ex=*)exec_prefix=$ac_optarg;;-gas|--gas|--ga|--g)# Obsolete; use --with-gas.with_gas=yes;;-help|--help|--hel|--he|-h)ac_init_help=long;;-help=r*|--help=r*|--hel=r*|--he=r*|-hr*)ac_init_help=recursive;;-help=s*|--help=s*|--hel=s*|--he=s*|-hs*)ac_init_help=short;;-host|--host|--hos|--ho)ac_prev=host_alias;;-host=*|--host=*|--hos=*|--ho=*)host_alias=$ac_optarg;;-includedir|--includedir|--includedi|--included|--include\|--includ|--inclu|--incl|--inc)ac_prev=includedir;;-includedir=*|--includedir=*|--includedi=*|--included=*|--include=*\|--includ=*|--inclu=*|--incl=*|--inc=*)includedir=$ac_optarg;;-infodir|--infodir|--infodi|--infod|--info|--inf)ac_prev=infodir;;-infodir=*|--infodir=*|--infodi=*|--infod=*|--info=*|--inf=*)infodir=$ac_optarg;;-libdir|--libdir|--libdi|--libd)ac_prev=libdir;;-libdir=*|--libdir=*|--libdi=*|--libd=*)libdir=$ac_optarg;;-libexecdir|--libexecdir|--libexecdi|--libexecd|--libexec\|--libexe|--libex|--libe)ac_prev=libexecdir;;-libexecdir=*|--libexecdir=*|--libexecdi=*|--libexecd=*|--libexec=*\|--libexe=*|--libex=*|--libe=*)libexecdir=$ac_optarg;;-localstatedir|--localstatedir|--localstatedi|--localstated\|--localstate|--localstat|--localsta|--localst\|--locals|--local|--loca|--loc|--lo)ac_prev=localstatedir;;-localstatedir=*|--localstatedir=*|--localstatedi=*|--localstated=*\|--localstate=*|--localstat=*|--localsta=*|--localst=*\|--locals=*|--local=*|--loca=*|--loc=*|--lo=*)localstatedir=$ac_optarg;;-mandir|--mandir|--mandi|--mand|--man|--ma|--m)ac_prev=mandir;;-mandir=*|--mandir=*|--mandi=*|--mand=*|--man=*|--ma=*|--m=*)mandir=$ac_optarg;;-nfp|--nfp|--nf)# Obsolete; use --without-fp.with_fp=no;;-no-create|--no-create|--no-creat|--no-crea|--no-cre\|--no-cr|--no-c|-n)no_create=yes;;-no-recursion|--no-recursion|--no-recursio|--no-recursi\|--no-recurs|--no-recur|--no-recu|--no-rec|--no-re|--no-r)no_recursion=yes;;-oldincludedir|--oldincludedir|--oldincludedi|--oldincluded\|--oldinclude|--oldinclud|--oldinclu|--oldincl|--oldinc\|--oldin|--oldi|--old|--ol|--o)ac_prev=oldincludedir;;-oldincludedir=*|--oldincludedir=*|--oldincludedi=*|--oldincluded=*\|--oldinclude=*|--oldinclud=*|--oldinclu=*|--oldincl=*|--oldinc=*\|--oldin=*|--oldi=*|--old=*|--ol=*|--o=*)oldincludedir=$ac_optarg;;-prefix|--prefix|--prefi|--pref|--pre|--pr|--p)ac_prev=prefix;;-prefix=*|--prefix=*|--prefi=*|--pref=*|--pre=*|--pr=*|--p=*)prefix=$ac_optarg;;-program-prefix|--program-prefix|--program-prefi|--program-pref\|--program-pre|--program-pr|--program-p)ac_prev=program_prefix;;-program-prefix=*|--program-prefix=*|--program-prefi=*\|--program-pref=*|--program-pre=*|--program-pr=*|--program-p=*)program_prefix=$ac_optarg;;-program-suffix|--program-suffix|--program-suffi|--program-suff\|--program-suf|--program-su|--program-s)ac_prev=program_suffix;;-program-suffix=*|--program-suffix=*|--program-suffi=*\|--program-suff=*|--program-suf=*|--program-su=*|--program-s=*)program_suffix=$ac_optarg;;-program-transform-name|--program-transform-name\|--program-transform-nam|--program-transform-na\|--program-transform-n|--program-transform-\|--program-transform|--program-transfor\|--program-transfo|--program-transf\|--program-trans|--program-tran\|--progr-tra|--program-tr|--program-t)ac_prev=program_transform_name;;-program-transform-name=*|--program-transform-name=*\|--program-transform-nam=*|--program-transform-na=*\|--program-transform-n=*|--program-transform-=*\|--program-transform=*|--program-transfor=*\|--program-transfo=*|--program-transf=*\|--program-trans=*|--program-tran=*\|--progr-tra=*|--program-tr=*|--program-t=*)program_transform_name=$ac_optarg;;-q|-quiet|--quiet|--quie|--qui|--qu|--q\|-silent|--silent|--silen|--sile|--sil)silent=yes;;-sbindir|--sbindir|--sbindi|--sbind|--sbin|--sbi|--sb)ac_prev=sbindir;;-sbindir=*|--sbindir=*|--sbindi=*|--sbind=*|--sbin=*\|--sbi=*|--sb=*)sbindir=$ac_optarg;;-sharedstatedir|--sharedstatedir|--sharedstatedi\|--sharedstated|--sharedstate|--sharedstat|--sharedsta\|--sharedst|--shareds|--shared|--share|--shar\|--sha|--sh)ac_prev=sharedstatedir;;-sharedstatedir=*|--sharedstatedir=*|--sharedstatedi=*\|--sharedstated=*|--sharedstate=*|--sharedstat=*|--sharedsta=*\|--sharedst=*|--shareds=*|--shared=*|--share=*|--shar=*\|--sha=*|--sh=*)sharedstatedir=$ac_optarg;;-site|--site|--sit)ac_prev=site;;-site=*|--site=*|--sit=*)site=$ac_optarg;;-srcdir|--srcdir|--srcdi|--srcd|--src|--sr)ac_prev=srcdir;;-srcdir=*|--srcdir=*|--srcdi=*|--srcd=*|--src=*|--sr=*)srcdir=$ac_optarg;;-sysconfdir|--sysconfdir|--sysconfdi|--sysconfd|--sysconf\|--syscon|--sysco|--sysc|--sys|--sy)ac_prev=sysconfdir;;-sysconfdir=*|--sysconfdir=*|--sysconfdi=*|--sysconfd=*|--sysconf=*\|--syscon=*|--sysco=*|--sysc=*|--sys=*|--sy=*)sysconfdir=$ac_optarg;;-target|--target|--targe|--targ|--tar|--ta|--t)ac_prev=target_alias;;-target=*|--target=*|--targe=*|--targ=*|--tar=*|--ta=*|--t=*)target_alias=$ac_optarg;;-v|-verbose|--verbose|--verbos|--verbo|--verb)verbose=yes;;-version|--version|--versio|--versi|--vers|-V)ac_init_version=:;;-with-*|--with-*)ac_package=`expr"x$ac_option":'x-*with-\([^=]*\)'`# Reject names that are not valid shell variable names.expr"x$ac_package":".*[^-_$as_cr_alnum]">/dev/null&&{echo"$as_me: error: invalid package name: $ac_package">&2{(exit1);exit1;};}ac_package=`echo$ac_package|sed's/-/_/g'`case$ac_optionin*=*)ac_optarg=`echo"$ac_optarg"|sed"s/'/'\\\\\\\\''/g"`;;*)ac_optarg=yes;;esaceval"with_$ac_package='$ac_optarg'";;-without-*|--without-*)ac_package=`expr"x$ac_option":'x-*without-\(.*\)'`# Reject names that are not valid shell variable names.expr"x$ac_package":".*[^-_$as_cr_alnum]">/dev/null&&{echo"$as_me: error: invalid package name: $ac_package">&2{(exit1);exit1;};}ac_package=`echo$ac_package|sed's/-/_/g'`eval"with_$ac_package=no";;--x)# Obsolete; use --with-x.with_x=yes;;-x-includes|--x-includes|--x-include|--x-includ|--x-inclu\|--x-incl|--x-inc|--x-in|--x-i)ac_prev=x_includes;;-x-includes=*|--x-includes=*|--x-include=*|--x-includ=*|--x-inclu=*\|--x-incl=*|--x-inc=*|--x-in=*|--x-i=*)x_includes=$ac_optarg;;-x-libraries|--x-libraries|--x-librarie|--x-librari\|--x-librar|--x-libra|--x-libr|--x-lib|--x-li|--x-l)ac_prev=x_libraries;;-x-libraries=*|--x-libraries=*|--x-librarie=*|--x-librari=*\|--x-librar=*|--x-libra=*|--x-libr=*|--x-lib=*|--x-li=*|--x-l=*)x_libraries=$ac_optarg;;-*){echo"$as_me: error: unrecognized option: $ac_optionTry \`$0 --help' for more information.">&2{(exit1);exit1;};};;*=*)ac_envvar=`expr"x$ac_option":'x\([^=]*\)='`# Reject names that are not valid shell variable names.expr"x$ac_envvar":".*[^_$as_cr_alnum]">/dev/null&&{echo"$as_me: error: invalid variable name: $ac_envvar">&2{(exit1);exit1;};}ac_optarg=`echo"$ac_optarg"|sed"s/'/'\\\\\\\\''/g"`eval"$ac_envvar='$ac_optarg'"export$ac_envvar;;*)# FIXME: should be removed in autoconf 3.0.echo"$as_me: WARNING: you should use --build, --host, --target">&2expr"x$ac_option":".*[^-._$as_cr_alnum]">/dev/null&&echo"$as_me: WARNING: invalid host type: $ac_option">&2:${build_alias=$ac_option}${host_alias=$ac_option}${target_alias=$ac_option};;esacdoneiftest-n"$ac_prev";thenac_option=--`echo$ac_prev|sed's/_/-/g'`{echo"$as_me: error: missing argument to $ac_option">&2{(exit1);exit1;};}fi# Be sure to have absolute paths.forac_varinexec_prefixprefix
doevalac_val=$`echo$ac_var`case$ac_valin[\\/$]*|?:[\\/]*|NONE|'');;*){echo"$as_me: error: expected an absolute directory name for --$ac_var: $ac_val">&2{(exit1);exit1;};};;esacdone# Be sure to have absolute paths.forac_varinbindirsbindirlibexecdirdatadirsysconfdirsharedstatedir\localstatedirlibdirincludediroldincludedirinfodirmandir
doevalac_val=$`echo$ac_var`case$ac_valin[\\/$]*|?:[\\/]*);;*){echo"$as_me: error: expected an absolute directory name for --$ac_var: $ac_val">&2{(exit1);exit1;};};;esacdone# There might be people who depend on the old broken behavior: `$host'# used to hold the argument of --host etc.# FIXME: To remove some day.build=$build_aliashost=$host_aliastarget=$target_alias# FIXME: To remove some day.iftest"x$host_alias"!=x;theniftest"x$build_alias"=x;thencross_compiling=maybe
echo"$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.">&2eliftest"x$build_alias"!="x$host_alias";thencross_compiling=yes
fifiac_tool_prefix=test-n"$host_alias"&&ac_tool_prefix=$host_alias-
test"$silent"=yes&&exec6>/dev/null
# Find the source files, if location was not specified.iftest-z"$srcdir";thenac_srcdir_defaulted=yes
# Try the directory containing this script, then its parent.ac_confdir=`(dirname"$0")2>/dev/null||$as_exprX"$0":'X\(.*[^/]\)//*[^/][^/]*/*$'\|\X"$0":'X\(//\)[^/]'\|\X"$0":'X\(//\)$'\|\X"$0":'X\(/\)'\|\.:'\(.\)'2>/dev/null||echoX"$0"|sed'/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`srcdir=$ac_confdiriftest!-r$srcdir/$ac_unique_file;thensrcdir=..
fielseac_srcdir_defaulted=no
fiiftest!-r$srcdir/$ac_unique_file;theniftest"$ac_srcdir_defaulted"=yes;then{echo"$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or ..">&2{(exit1);exit1;};}else{echo"$as_me: error: cannot find sources ($ac_unique_file) in $srcdir">&2{(exit1);exit1;};}fifi(cd$srcdir&&test-r./$ac_unique_file)2>/dev/null||{echo"$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work">&2{(exit1);exit1;};}srcdir=`echo"$srcdir"|sed's%\([^\\/]\)[\\/]*$%\1%'`ac_env_build_alias_set=${build_alias+set}ac_env_build_alias_value=$build_aliasac_cv_env_build_alias_set=${build_alias+set}ac_cv_env_build_alias_value=$build_aliasac_env_host_alias_set=${host_alias+set}ac_env_host_alias_value=$host_aliasac_cv_env_host_alias_set=${host_alias+set}ac_cv_env_host_alias_value=$host_aliasac_env_target_alias_set=${target_alias+set}ac_env_target_alias_value=$target_aliasac_cv_env_target_alias_set=${target_alias+set}ac_cv_env_target_alias_value=$target_aliasac_env_CC_set=${CC+set}ac_env_CC_value=$CCac_cv_env_CC_set=${CC+set}ac_cv_env_CC_value=$CCac_env_CFLAGS_set=${CFLAGS+set}ac_env_CFLAGS_value=$CFLAGSac_cv_env_CFLAGS_set=${CFLAGS+set}ac_cv_env_CFLAGS_value=$CFLAGSac_env_LDFLAGS_set=${LDFLAGS+set}ac_env_LDFLAGS_value=$LDFLAGSac_cv_env_LDFLAGS_set=${LDFLAGS+set}ac_cv_env_LDFLAGS_value=$LDFLAGSac_env_CPPFLAGS_set=${CPPFLAGS+set}ac_env_CPPFLAGS_value=$CPPFLAGSac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}ac_cv_env_CPPFLAGS_value=$CPPFLAGSac_env_CPP_set=${CPP+set}ac_env_CPP_value=$CPPac_cv_env_CPP_set=${CPP+set}ac_cv_env_CPP_value=$CPP## Report the --help message.#iftest"$ac_init_help"="long";then# Omit some internal or obsolete options to make the list less imposing.# This message is too long to be a string in the A/UX 3.1 sh.cat<<_ACEOF\`configure' configures LCD4Linux 0.10.1-CVS to adapt to many kinds of systems.Usage: $0 [OPTION]... [VAR=VALUE]...To assign environment variables (e.g., CC, CFLAGS...), specify them asVAR=VALUE. See below for descriptions of some of the useful variables.Defaults for the options are specified in brackets.Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..']_ACEOFcat<<_ACEOFInstallation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX]By default, \`make install' will install all the files in\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specifyan installation prefix other than \`$ac_default_prefix' using \`--prefix',for instance \`--prefix=\$HOME'.For better control, use the options below.Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man]_ACEOFcat<<\_ACEOFProgram names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program namesX features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR_ACEOFfiiftest-n"$ac_init_help";thencase$ac_init_helpinshort|recursive)echo"Configuration of LCD4Linux 0.10.1-CVS:";;esaccat<<\_ACEOFOptional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractorsOptional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-dmalloc use dmalloc, as in http://www.dmalloc.com/dmalloc.tar.gz --with-sco Use this to turn on SCO-specific code --with-sunos-curses Used to force SunOS 4.x curses --with-osf1-curses Used to force OSF/1 curses --with-vcurses=incdir Used to force SysV curses --with-ncurses=dir Compile with ncurses/locate base dir --with-x use the X Window System --with-python enable python support [default=no] --with-drivers=<list> compile driver for displays in <list>, drivers may be separated with commas, 'all' (default) compiles all available drivers, drivers may be excluded with 'all,!<driver>', (try 'all,\!<driver>' if your shell complains...) possible drivers are: BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, G15, HD44780, LCD2USB LCDLinux, LCDTerm, LPH7508, LUIse, M50530, MatrixOrbital, MilfordInstruments, Noritake, NULL, PNG, PPM, RouterBoard, Sample, serdisplib, SimpleLCD, T6963, Trefon, USBLCD, WincorNixdorf, X11 --with-plugins=<list> choose which plugins to compile. type --with-plugins=list for a list of avaible pluginsSome influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir> CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir> CPP C preprocessorUse these variables to override the choices made by `configure' or to helpit to find libraries and programs with nonstandard names/locations.Report bugs to <lcd4linux-users@lists.sourceforge.net>._ACEOFfiiftest"$ac_init_help"="recursive";then# If there are subdirs, report their specific --help.ac_popdir=`pwd`forac_dirin:$ac_subdirs_all;dotest"x$ac_dir"=x:&&continuetest-d$ac_dir||continueac_builddir=.
iftest"$ac_dir"!=.;thenac_dir_suffix=/`echo"$ac_dir"|sed's,^\.[\\/],,'`# A "../" for each directory in $ac_dir_suffix.ac_top_builddir=`echo"$ac_dir_suffix"|sed's,/[^\\/]*,../,g'`elseac_dir_suffix=ac_top_builddir=ficase$srcdirin.)# No --srcdir option. We are building in place.ac_srcdir=.
iftest-z"$ac_top_builddir";thenac_top_srcdir=.
elseac_top_srcdir=`echo$ac_top_builddir|sed's,/$,,'`fi;;[\\/]*|?:[\\/]*)# Absolute path.ac_srcdir=$srcdir$ac_dir_suffix;ac_top_srcdir=$srcdir;;*)# Relative path.ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffixac_top_srcdir=$ac_top_builddir$srcdir;;esac# Do not use `cd foo && pwd` to compute absolute paths, because# the directories may not exist.case`pwd`in
.)ac_abs_builddir="$ac_dir";;
*)case"$ac_dir"in.)ac_abs_builddir=`pwd`;;[\\/]*|?:[\\/]*)ac_abs_builddir="$ac_dir";;*)ac_abs_builddir=`pwd`/"$ac_dir";;esac;;esaccase$ac_abs_builddirin
.)ac_abs_top_builddir=${ac_top_builddir}.;;
*)case${ac_top_builddir}.in.)ac_abs_top_builddir=$ac_abs_builddir;;[\\/]*|?:[\\/]*)ac_abs_top_builddir=${ac_top_builddir}.;;*)ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;esac;;esaccase$ac_abs_builddirin
.)ac_abs_srcdir=$ac_srcdir;;
*)case$ac_srcdirin.)ac_abs_srcdir=$ac_abs_builddir;;[\\/]*|?:[\\/]*)ac_abs_srcdir=$ac_srcdir;;*)ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;esac;;esaccase$ac_abs_builddirin
.)ac_abs_top_srcdir=$ac_top_srcdir;;
*)case$ac_top_srcdirin.)ac_abs_top_srcdir=$ac_abs_builddir;;[\\/]*|?:[\\/]*)ac_abs_top_srcdir=$ac_top_srcdir;;*)ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;esac;;esaccd$ac_dir# Check for guested configure; otherwise get Cygnus style configure.iftest-f$ac_srcdir/configure.gnu;thenecho$SHELL$ac_srcdir/configure.gnu--help=recursive
eliftest-f$ac_srcdir/configure;thenecho$SHELL$ac_srcdir/configure--help=recursive
eliftest-f$ac_srcdir/configure.ac||test-f$ac_srcdir/configure.in;thenecho$ac_configure--help
elseecho"$as_me: WARNING: no configuration information is in $ac_dir">&2ficd$ac_popdirdonefitest-n"$ac_init_help"&&exit0if$ac_init_version;thencat<<\_ACEOFLCD4Linux configure 0.10.1-CVSgenerated by GNU Autoconf 2.59Copyright (C) 2003 Free Software Foundation, Inc.This configure script is free software; the Free Software Foundationgives unlimited permission to copy, distribute and modify it._ACEOFexit0fiexec5>config.log
cat>&5<<_ACEOFThis file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by LCD4Linux $as_me 0.10.1-CVS, which wasgenerated by GNU Autoconf 2.59. Invocation command line was $ $0 $@_ACEOF{
cat<<_ASUNAME## --------- #### Platform. #### --------- ##hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`uname -m = `(uname -m) 2>/dev/null || echo unknown`uname -r = `(uname -r) 2>/dev/null || echo unknown`uname -s = `(uname -s) 2>/dev/null || echo unknown`uname -v = `(uname -v) 2>/dev/null || echo unknown`/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`hostinfo = `(hostinfo) 2>/dev/null || echo unknown`/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`_ASUNAMEas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
echo"PATH: $as_dir"done}>&5
cat>&5<<_ACEOF## ----------- #### Core tests. #### ----------- ##_ACEOF# Keep a trace of the command line.# Strip out --no-create and --no-recursion so they do not pile up.# Strip out --silent because we don't want to record it for future runs.# Also quote any args containing shell meta-characters.# Make two passes to allow for proper duplicate-argument suppression.ac_configure_args=ac_configure_args0=ac_configure_args1=ac_sep=ac_must_keep_next=falseforac_passin12doforac_arg
docase$ac_argin-no-create|--no-c*|-n|-no-recursion|--no-r*)continue;;-q|-quiet|--quiet|--quie|--qui|--qu|--q\|-silent|--silent|--silen|--sile|--sil)continue;;*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)ac_arg=`echo"$ac_arg"|sed"s/'/'\\\\\\\\''/g"`;;esaccase$ac_passin1)ac_configure_args0="$ac_configure_args0 '$ac_arg'";;2)ac_configure_args1="$ac_configure_args1 '$ac_arg'"iftest$ac_must_keep_next=true;thenac_must_keep_next=false# Got value, back to normal.elsecase$ac_argin*=*|--config-cache|-C|-disable-*|--disable-*\|-enable-*|--enable-*|-gas|--g*|-nfp|--nf*\|-q|-quiet|--q*|-silent|--sil*|-v|-verb*\|-with-*|--with-*|-without-*|--without-*|--x)case"$ac_configure_args0 "in"$ac_configure_args1"*" '$ac_arg' "*)continue;;esac;;-*)ac_must_keep_next=true;;esacfiac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"# Get rid of the leading space.ac_sep=" ";;esacdonedone$as_unsetac_configure_args0||test"${ac_configure_args0+set}"!=set||{ac_configure_args0=;exportac_configure_args0;}$as_unsetac_configure_args1||test"${ac_configure_args1+set}"!=set||{ac_configure_args1=;exportac_configure_args1;}# When interrupted or exit'd, cleanup temporary files, and complete# config.log. We remove comments because anyway the quotes in there# would cause problems or look ugly.# WARNING: Be sure not to use single quotes in there, as some shells,# such as our DU 5.0 friend, will then `close' the trap.trap'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX## ---------------- #### Cache variables. #### ---------------- ##_ASBOX echo # The following way of writing the cache mishandles newlines in values,{ (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac;} echo cat <<\_ASBOX## ----------------- #### Output variables. #### ----------------- ##_ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX## ------------- #### Output files. #### ------------- ##_ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX## ----------- #### confdefs.h. #### ----------- ##_ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status '0forac_signalin121315;dotrap'ac_signal='$ac_signal'; { (exit 1); exit 1; }'$ac_signaldoneac_signal=0# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm-rfconftest*confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo>confdefs.h
# Predefined preprocessor variables.
cat>>confdefs.h<<_ACEOF#define PACKAGE_NAME "$PACKAGE_NAME"_ACEOF
cat>>confdefs.h<<_ACEOF#define PACKAGE_TARNAME "$PACKAGE_TARNAME"_ACEOF
cat>>confdefs.h<<_ACEOF#define PACKAGE_VERSION "$PACKAGE_VERSION"_ACEOF
cat>>confdefs.h<<_ACEOF#define PACKAGE_STRING "$PACKAGE_STRING"_ACEOF
cat>>confdefs.h<<_ACEOF#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"_ACEOF# Let the site file select an alternate cache file if it wants to.# Prefer explicitly selected file to automatically selected ones.iftest-z"$CONFIG_SITE";theniftest"x$prefix"!=xNONE;thenCONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"elseCONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"fififorac_site_filein$CONFIG_SITE;doiftest-r"$ac_site_file";then{echo"$as_me:$LINENO: loading site script $ac_site_file">&5echo"$as_me: loading site script $ac_site_file">&6;}sed's/^/| /'"$ac_site_file">&5."$ac_site_file"fidoneiftest-r"$cache_file";then# Some versions of bash will fail to source /dev/null (special# files actually), so we avoid doing that.iftest-f"$cache_file";then{echo"$as_me:$LINENO: loading cache $cache_file">&5echo"$as_me: loading cache $cache_file">&6;}case$cache_filein[\\/]*|?:[\\/]*).$cache_file;;*)../$cache_file;;esacfielse{echo"$as_me:$LINENO: creating cache $cache_file">&5echo"$as_me: creating cache $cache_file">&6;}>$cache_filefi# Check that the precious variables saved in the cache have kept the same# value.ac_cache_corrupted=falseforac_varin`(set)2>&1|sed-n's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`;doevalac_old_set=\$ac_cv_env_${ac_var}_set
evalac_new_set=\$ac_env_${ac_var}_set
evalac_old_val="\$ac_cv_env_${ac_var}_value"evalac_new_val="\$ac_env_${ac_var}_value"case$ac_old_set,$ac_new_setinset,){echo"$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run">&5echo"$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run">&2;}ac_cache_corrupted=:;;,set){echo"$as_me:$LINENO: error: \`$ac_var' was not set in the previous run">&5echo"$as_me: error: \`$ac_var' was not set in the previous run">&2;}ac_cache_corrupted=:;;,);;*)iftest"x$ac_old_val"!="x$ac_new_val";then{echo"$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:">&5echo"$as_me: error: \`$ac_var' has changed since the previous run:">&2;}{echo"$as_me:$LINENO: former value: $ac_old_val">&5echo"$as_me: former value: $ac_old_val">&2;}{echo"$as_me:$LINENO: current value: $ac_new_val">&5echo"$as_me: current value: $ac_new_val">&2;}ac_cache_corrupted=:
fi;;esac# Pass precious variables to config.status.iftest"$ac_new_set"=set;thencase$ac_new_valin*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)ac_arg=$ac_var=`echo"$ac_new_val"|sed"s/'/'\\\\\\\\''/g"`;;*)ac_arg=$ac_var=$ac_new_val;;esaccase" $ac_configure_args "in*" '$ac_arg' "*);;# Avoid dups. Use of quotes ensures accuracy.*)ac_configure_args="$ac_configure_args '$ac_arg'";;esacfidoneif$ac_cache_corrupted;then{echo"$as_me:$LINENO: error: changes in the environment can compromise the build">&5echo"$as_me: error: changes in the environment can compromise the build">&2;}{{echo"$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over">&5echo"$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over">&2;}{(exit1);exit1;};}fiac_ext=c
ac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuam__api_version="1.9"ac_aux_dir=forac_dirin$srcdir$srcdir/..$srcdir/../..;doiftest-f$ac_dir/install-sh;thenac_aux_dir=$ac_dirac_install_sh="$ac_aux_dir/install-sh -c"breakeliftest-f$ac_dir/install.sh;thenac_aux_dir=$ac_dirac_install_sh="$ac_aux_dir/install.sh -c"breakeliftest-f$ac_dir/shtool;thenac_aux_dir=$ac_dirac_install_sh="$ac_aux_dir/shtool install -c"breakfidoneiftest-z"$ac_aux_dir";then{{echo"$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir$srcdir/.. $srcdir/../..">&5echo"$as_me: error: cannot find install-sh or install.sh in $srcdir$srcdir/.. $srcdir/../..">&2;}{(exit1);exit1;};}fiac_config_guess="$SHELL$ac_aux_dir/config.guess"ac_config_sub="$SHELL$ac_aux_dir/config.sub"ac_configure="$SHELL$ac_aux_dir/configure"# This should be Cygnus configure.# Find a good install program. We prefer a C program (faster),# so one script is as good as another. But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AmigaOS /C/install, which installs bootblocks on floppy discs# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# OS/2's system install, which has a completely different semantic# ./install, which can be erroneously created by make from ./install.sh.echo"$as_me:$LINENO: checking for a BSD-compatible install">&5echo$ECHO_N"checking for a BSD-compatible install... $ECHO_C">&6iftest-z"$INSTALL";theniftest"${ac_cv_path_install+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
# Account for people who put trailing slashes in PATH elements.case$as_dir/in./|.//|/cC/*|\/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|\?:\\/os2\\/install\\/*|?:\\/OS2\\/INSTALL\\/*|\/usr/ucb/*);;*)# OSF1 and SCO ODT 3.0 have their own names for install.# Don't use installbsd from OSF since it installs stuff as root# by default.forac_proginginstallscoinstinstall;doforac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_prog$ac_exec_ext";theniftest$ac_prog=install&&grepdspmsg"$as_dir/$ac_prog$ac_exec_ext">/dev/null2>&1;then# AIX install. It has an incompatible calling convention.:
eliftest$ac_prog=install&&greppwplus"$as_dir/$ac_prog$ac_exec_ext">/dev/null2>&1;then# program-specific install script used by HP pwplus--don't use.:
elseac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"break3fifidonedone;;esacdonefiiftest"${ac_cv_path_install+set}"=set;thenINSTALL=$ac_cv_path_installelse# As a last resort, use the slow shell script. We don't cache a# path for INSTALL within a source directory, because that will# break other packages using the cache if that directory is# removed, or if the path is relative.INSTALL=$ac_install_shfifiecho"$as_me:$LINENO: result: $INSTALL">&5echo"${ECHO_T}$INSTALL">&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test-z"$INSTALL_PROGRAM"&&INSTALL_PROGRAM='${INSTALL}'test-z"$INSTALL_SCRIPT"&&INSTALL_SCRIPT='${INSTALL}'test-z"$INSTALL_DATA"&&INSTALL_DATA='${INSTALL} -m 644'echo"$as_me:$LINENO: checking whether build environment is sane">&5echo$ECHO_N"checking whether build environment is sane... $ECHO_C">&6# Just in case
sleep1echotimestamp>conftest.file
# Do `set' in a subshell so we don't clobber the current shell's# arguments. Must try -L first in case configure is actually a# symlink; some systems play weird games with the mod time of symlinks# (eg FreeBSD returns the mod time of the symlink's containing# directory).if(setX`ls-Lt$srcdir/configureconftest.file2>/dev/null`iftest"$*"="X";then# -L didn't work.setX`ls-t$srcdir/configureconftest.file`firm-fconftest.file
iftest"$*"!="X $srcdir/configure conftest.file"\&&test"$*"!="X conftest.file $srcdir/configure";then# If neither matched, then we have a broken ls. This can happen# if, for instance, CONFIG_SHELL is bash and it inherits a# broken ls alias from the environment. This has actually# happened. Such a system could not be considered "sane".{{echo"$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a brokenalias in your environment">&5echo"$as_me: error: ls -t appears to fail. Make sure there is not a brokenalias in your environment">&2;}{(exit1);exit1;};}fitest"$2"=conftest.file
)then# Ok.:
else{{echo"$as_me:$LINENO: error: newly created file is older than distributed files!Check your system clock">&5echo"$as_me: error: newly created file is older than distributed files!Check your system clock">&2;}{(exit1);exit1;};}fiecho"$as_me:$LINENO: result: yes">&5echo"${ECHO_T}yes">&6test"$program_prefix"!=NONE&&program_transform_name="s,^,$program_prefix,;$program_transform_name"# Use a double $ so make ignores it.test"$program_suffix"!=NONE&&program_transform_name="s,\$,$program_suffix,;$program_transform_name"# Double any \ or $. echo might interpret backslashes.# By default was `s,x,x', remove it if useless.
cat<<\_ACEOF >conftest.seds/[\\$]/&&/g;s/;s,x,x,$//_ACEOFprogram_transform_name=`echo$program_transform_name|sed-fconftest.sed`
rmconftest.sed
# expand $ac_aux_dir to an absolute patham_aux_dir=`cd$ac_aux_dir&&pwd`testx"${MISSING+set}"=xset||MISSING="\${SHELL} $am_aux_dir/missing"# Use eval to expand $SHELLifeval"$MISSING --run true";thenam_missing_run="$MISSING --run "elseam_missing_run={echo"$as_me:$LINENO: WARNING: \`missing' script is too old or missing">&5echo"$as_me: WARNING: \`missing' script is too old or missing">&2;}fiifmkdir-p--version.>/dev/null2>&1&&test!-d./--version;then# We used to keeping the `.' as first argument, in order to# allow $(mkdir_p) to be used without argument. As in# $(mkdir_p) $(somedir)# where $(somedir) is conditionally defined. However this is wrong# for two reasons:# 1. if the package is installed by a user who cannot write `.'# make install will fail,# 2. the above comment should most certainly read# $(mkdir_p) $(DESTDIR)$(somedir)# so it does not work when $(somedir) is undefined and# $(DESTDIR) is not.# To support the latter case, we have to write# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),# so the `.' trick is pointless.mkdir_p='mkdir -p --'else# On NextStep and OpenStep, the `mkdir' command does not# recognize any option. It will interpret all options as# directories to create, and then abort because `.' already# exists.fordin./-p./--version;dotest-d$d&&rmdir$ddone# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.iftest-f"$ac_aux_dir/mkinstalldirs";thenmkdir_p='$(mkinstalldirs)'elsemkdir_p='$(install_sh) -d'fififorac_progingawkmawknawkawk
do# Extract the first word of "$ac_prog", so it can be a program name with args.setdummy$ac_prog;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_AWK+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$AWK";thenac_cv_prog_AWK="$AWK"# Let the user override the test.elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";thenac_cv_prog_AWK="$ac_prog"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedonefifiAWK=$ac_cv_prog_AWKiftest-n"$AWK";thenecho"$as_me:$LINENO: result: $AWK">&5echo"${ECHO_T}$AWK">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fitest-n"$AWK"&&breakdoneecho"$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)">&5echo$ECHO_N"checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C">&6setdummy${MAKE-make};ac_make=`echo"$2"|sed'y,:./+-,___p_,'`ifeval"test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.make<<\_ACEOFall: @echo 'ac_maketemp="$(MAKE)"'_ACEOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval`${MAKE-make}-fconftest.make2>/dev/null|greptemp=`iftest-n"$ac_maketemp";thenevalac_cv_prog_make_${ac_make}_set=yes
elseevalac_cv_prog_make_${ac_make}_set=no
fi
rm-fconftest.make
fiifeval"test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes";thenecho"$as_me:$LINENO: result: yes">&5echo"${ECHO_T}yes">&6SET_MAKE=elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6SET_MAKE="MAKE=${MAKE-make}"fi
rm-rf.tst2>/dev/null
mkdir.tst2>/dev/null
iftest-d.tst;thenam__leading_dot=.
elseam__leading_dot=_
fi
rmdir.tst2>/dev/null
# test to see if srcdir already configurediftest"`cd $srcdir && pwd`"!="`pwd`"&&test-f$srcdir/config.status;then{{echo"$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first">&5echo"$as_me: error: source directory already configured; run \"make distclean\" there first">&2;}{(exit1);exit1;};}fi# test whether we have cygpathiftest-z"$CYGPATH_W";thenif(cygpath--version)>/dev/null2>/dev/null;thenCYGPATH_W='cygpath -w'elseCYGPATH_W=echofifi# Define the identity of the package.PACKAGE=lcd4linux
VERSION=0.10.1-CVS
cat>>confdefs.h<<_ACEOF#define PACKAGE "$PACKAGE"_ACEOF
cat>>confdefs.h<<_ACEOF#define VERSION "$VERSION"_ACEOF# Some tools Automake needs.ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}install_sh=${install_sh-"$am_aux_dir/install-sh"}# Installed binaries are usually stripped using `strip' when the user# run `make install-strip'. However `strip' might not be the right# tool to use in cross-compilation environments, therefore Automake# will honor the `STRIP' environment variable to overrule this program.iftest"$cross_compiling"!=no;theniftest-n"$ac_tool_prefix";then# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.setdummy${ac_tool_prefix}strip;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_STRIP+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$STRIP";thenac_cv_prog_STRIP="$STRIP"# Let the user override the test.elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";thenac_cv_prog_STRIP="${ac_tool_prefix}strip"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedonefifiSTRIP=$ac_cv_prog_STRIPiftest-n"$STRIP";thenecho"$as_me:$LINENO: result: $STRIP">&5echo"${ECHO_T}$STRIP">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fifiiftest-z"$ac_cv_prog_STRIP";thenac_ct_STRIP=$STRIP# Extract the first word of "strip", so it can be a program name with args.setdummystrip;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_ac_ct_STRIP+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$ac_ct_STRIP";thenac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP"# Let the user override the test.elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";thenac_cv_prog_ac_ct_STRIP="strip"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedonetest-z"$ac_cv_prog_ac_ct_STRIP"&&ac_cv_prog_ac_ct_STRIP=":"fifiac_ct_STRIP=$ac_cv_prog_ac_ct_STRIPiftest-n"$ac_ct_STRIP";thenecho"$as_me:$LINENO: result: $ac_ct_STRIP">&5echo"${ECHO_T}$ac_ct_STRIP">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fiSTRIP=$ac_ct_STRIPelseSTRIP="$ac_cv_prog_STRIP"fifiINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"# We need awk for the "check" target. The system "awk" is bad on# some platforms.# Always define AMTAR for backward compatibility.AMTAR=${AMTAR-"${am_missing_run}tar"}am__tar='${AMTAR} chof - "$$tardir"';am__untar='${AMTAR} xf -'ac_config_headers="$ac_config_headers config.h"# Checks for programs.ac_ext=c
ac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuiftest-n"$ac_tool_prefix";then# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.setdummy${ac_tool_prefix}gcc;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_CC+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$CC";thenac_cv_prog_CC="$CC"# Let the user override the test.elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";thenac_cv_prog_CC="${ac_tool_prefix}gcc"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedonefifiCC=$ac_cv_prog_CCiftest-n"$CC";thenecho"$as_me:$LINENO: result: $CC">&5echo"${ECHO_T}$CC">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fifiiftest-z"$ac_cv_prog_CC";thenac_ct_CC=$CC# Extract the first word of "gcc", so it can be a program name with args.setdummygcc;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_ac_ct_CC+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$ac_ct_CC";thenac_cv_prog_ac_ct_CC="$ac_ct_CC"# Let the user override the test.elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";thenac_cv_prog_ac_ct_CC="gcc"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCiftest-n"$ac_ct_CC";thenecho"$as_me:$LINENO: result: $ac_ct_CC">&5echo"${ECHO_T}$ac_ct_CC">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fiCC=$ac_ct_CCelseCC="$ac_cv_prog_CC"fiiftest-z"$CC";theniftest-n"$ac_tool_prefix";then# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.setdummy${ac_tool_prefix}cc;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_CC+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$CC";thenac_cv_prog_CC="$CC"# Let the user override the test.elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";thenac_cv_prog_CC="${ac_tool_prefix}cc"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedonefifiCC=$ac_cv_prog_CCiftest-n"$CC";thenecho"$as_me:$LINENO: result: $CC">&5echo"${ECHO_T}$CC">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fifiiftest-z"$ac_cv_prog_CC";thenac_ct_CC=$CC# Extract the first word of "cc", so it can be a program name with args.setdummycc;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_ac_ct_CC+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$ac_ct_CC";thenac_cv_prog_ac_ct_CC="$ac_ct_CC"# Let the user override the test.elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";thenac_cv_prog_ac_ct_CC="cc"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCiftest-n"$ac_ct_CC";thenecho"$as_me:$LINENO: result: $ac_ct_CC">&5echo"${ECHO_T}$ac_ct_CC">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fiCC=$ac_ct_CCelseCC="$ac_cv_prog_CC"fifiiftest-z"$CC";then# Extract the first word of "cc", so it can be a program name with args.setdummycc;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_CC+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$CC";thenac_cv_prog_CC="$CC"# Let the user override the test.elseac_prog_rejected=no
as_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";theniftest"$as_dir/$ac_word$ac_exec_ext"="/usr/ucb/cc";thenac_prog_rejected=yes
continuefiac_cv_prog_CC="cc"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedoneiftest$ac_prog_rejected=yes;then# We found a bogon in the path, so make sure we never use it.setdummy$ac_cv_prog_CCshiftiftest$#!=0;then# We chose a different compiler from the bogus one.# However, it has the same basename, so the bogon will be chosen# first if we set CC to just the basename; use the full file name.shiftac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"fifififiCC=$ac_cv_prog_CCiftest-n"$CC";thenecho"$as_me:$LINENO: result: $CC">&5echo"${ECHO_T}$CC">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fifiiftest-z"$CC";theniftest-n"$ac_tool_prefix";thenforac_progincl
do# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.setdummy$ac_tool_prefix$ac_prog;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_CC+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$CC";thenac_cv_prog_CC="$CC"# Let the user override the test.elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";thenac_cv_prog_CC="$ac_tool_prefix$ac_prog"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedonefifiCC=$ac_cv_prog_CCiftest-n"$CC";thenecho"$as_me:$LINENO: result: $CC">&5echo"${ECHO_T}$CC">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fitest-n"$CC"&&breakdonefiiftest-z"$CC";thenac_ct_CC=$CCforac_progincl
do# Extract the first word of "$ac_prog", so it can be a program name with args.setdummy$ac_prog;ac_word=$2echo"$as_me:$LINENO: checking for $ac_word">&5echo$ECHO_N"checking for $ac_word... $ECHO_C">&6iftest"${ac_cv_prog_ac_ct_CC+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-n"$ac_ct_CC";thenac_cv_prog_ac_ct_CC="$ac_ct_CC"# Let the user override the test.elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
forac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_word$ac_exec_ext";thenac_cv_prog_ac_ct_CC="$ac_prog"echo"$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext">&5break2fidonedonefifiac_ct_CC=$ac_cv_prog_ac_ct_CCiftest-n"$ac_ct_CC";thenecho"$as_me:$LINENO: result: $ac_ct_CC">&5echo"${ECHO_T}$ac_ct_CC">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fitest-n"$ac_ct_CC"&&breakdoneCC=$ac_ct_CCfifitest-z"$CC"&&{{echo"$as_me:$LINENO: error: no acceptable C compiler found in \$PATHSee \`config.log' for more details.">&5echo"$as_me: error: no acceptable C compiler found in \$PATHSee \`config.log' for more details.">&2;}{(exit1);exit1;};}# Provide some information about the compiler.echo"$as_me:$LINENO:"\"checking for C compiler version">&5ac_compiler=`setX$ac_compile;echo$2`{(evalecho"$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"")>&5(eval$ac_compiler--version</dev/null>&5)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}{(evalecho"$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"")>&5(eval$ac_compiler-v</dev/null>&5)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}{(evalecho"$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"")>&5(eval$ac_compiler-V</dev/null>&5)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */intmain (){ ; return 0;}_ACEOFac_clean_files_save=$ac_clean_filesac_clean_files="$ac_clean_files a.out a.exe b.out"# Try to create an executable without -o first, disregard a.out.# It will help us diagnose broken compilers, and finding out an intuition# of exeext.echo"$as_me:$LINENO: checking for C compiler default output file name">&5echo$ECHO_N"checking for C compiler default output file name... $ECHO_C">&6ac_link_default=`echo"$ac_link"|sed's/ -o *conftest[^ ]*//'`if{(evalecho"$as_me:$LINENO: \"$ac_link_default\"")>&5(eval$ac_link_default)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};then# Find the output, starting from the most likely. This scheme is# not robust to junk in `.', hence go to wildcards (a.*) only as a last# resort.# Be careful to initialize this variable, since it used to be cached.# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.ac_cv_exeext=# b.out is created by i960 compilers.forac_fileina_out.exea.execonftest.exea.outconftesta.*conftest.*b.out
dotest-f"$ac_file"||continuecase$ac_filein*.$ac_ext|*.xcoff|*.tds|*.d|*.pdb|*.xSYM|*.bb|*.bbg|*.o|*.obj);;conftest.$ac_ext)# This is the source file.;;[ab].out)# We found the default executable, but exeext='' is most# certainly right.break;;*.*)ac_cv_exeext=`expr"$ac_file":'[^.]*\(\..*\)'`# FIXME: I believe we export ac_cv_exeext for Libtool,# but it would be cool to find out if it's true. Does anybody# maintain Libtool? --akim.exportac_cv_exeext
break;;*)break;;esacdoneelseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5{{echo"$as_me:$LINENO: error: C compiler cannot create executablesSee \`config.log' for more details.">&5echo"$as_me: error: C compiler cannot create executablesSee \`config.log' for more details.">&2;}{(exit77);exit77;};}fiac_exeext=$ac_cv_exeextecho"$as_me:$LINENO: result: $ac_file">&5echo"${ECHO_T}$ac_file">&6# Check the compiler produces executables we can run. If not, either# the compiler is broken, or we cross compile.echo"$as_me:$LINENO: checking whether the C compiler works">&5echo$ECHO_N"checking whether the C compiler works... $ECHO_C">&6# FIXME: These cross compiler hacks should be removed for Autoconf 3.0# If not cross compiling, check that we can run a simple program.iftest"$cross_compiling"!=yes;thenif{ac_try='./$ac_file'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thencross_compiling=no
elseiftest"$cross_compiling"=maybe;thencross_compiling=yes
else{{echo"$as_me:$LINENO: error: cannot run C compiled programs.If you meant to cross compile, use \`--host'.See \`config.log' for more details.">&5echo"$as_me: error: cannot run C compiled programs.If you meant to cross compile, use \`--host'.See \`config.log' for more details.">&2;}{(exit1);exit1;};}fififiecho"$as_me:$LINENO: result: yes">&5echo"${ECHO_T}yes">&6
rm-fa.outa.execonftest$ac_cv_exeextb.out
ac_clean_files=$ac_clean_files_save# Check the compiler produces executables we can run. If not, either# the compiler is broken, or we cross compile.echo"$as_me:$LINENO: checking whether we are cross compiling">&5echo$ECHO_N"checking whether we are cross compiling... $ECHO_C">&6echo"$as_me:$LINENO: result: $cross_compiling">&5echo"${ECHO_T}$cross_compiling">&6echo"$as_me:$LINENO: checking for suffix of executables">&5echo$ECHO_N"checking for suffix of executables... $ECHO_C">&6if{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};then# If both `conftest.exe' and `conftest' are `present' (well, observable)# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will# work properly (i.e., refer to `conftest.exe'), while it won't with# `rm'.forac_fileinconftest.execonftestconftest.*;dotest-f"$ac_file"||continuecase$ac_filein*.$ac_ext|*.xcoff|*.tds|*.d|*.pdb|*.xSYM|*.bb|*.bbg|*.o|*.obj);;*.*)ac_cv_exeext=`expr"$ac_file":'[^.]*\(\..*\)'`exportac_cv_exeext
break;;*)break;;esacdoneelse{{echo"$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and linkSee \`config.log' for more details.">&5echo"$as_me: error: cannot compute suffix of executables: cannot compile and linkSee \`config.log' for more details.">&2;}{(exit1);exit1;};}fi
rm-fconftest$ac_cv_exeextecho"$as_me:$LINENO: result: $ac_cv_exeext">&5echo"${ECHO_T}$ac_cv_exeext">&6
rm-fconftest.$ac_extEXEEXT=$ac_cv_exeextac_exeext=$EXEEXTecho"$as_me:$LINENO: checking for suffix of object files">&5echo$ECHO_N"checking for suffix of object files... $ECHO_C">&6iftest"${ac_cv_objext+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */intmain (){ ; return 0;}_ACEOF
rm-fconftest.oconftest.obj
if{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};thenforac_filein`(lsconftest.oconftest.obj;lsconftest.*)2>/dev/null`;docase$ac_filein*.$ac_ext|*.xcoff|*.tds|*.d|*.pdb|*.xSYM|*.bb|*.bbg);;*)ac_cv_objext=`expr"$ac_file":'.*\.\(.*\)'`break;;esacdoneelseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5{{echo"$as_me:$LINENO: error: cannot compute suffix of object files: cannot compileSee \`config.log' for more details.">&5echo"$as_me: error: cannot compute suffix of object files: cannot compileSee \`config.log' for more details.">&2;}{(exit1);exit1;};}fi
rm-fconftest.$ac_cv_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_objext">&5echo"${ECHO_T}$ac_cv_objext">&6OBJEXT=$ac_cv_objextac_objext=$OBJEXTecho"$as_me:$LINENO: checking whether we are using the GNU C compiler">&5echo$ECHO_N"checking whether we are using the GNU C compiler... $ECHO_C">&6iftest"${ac_cv_c_compiler_gnu+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */intmain (){#ifndef __GNUC__ choke me#endif ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_compiler_gnu=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_compiler_gnu=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extac_cv_c_compiler_gnu=$ac_compiler_gnufiecho"$as_me:$LINENO: result: $ac_cv_c_compiler_gnu">&5echo"${ECHO_T}$ac_cv_c_compiler_gnu">&6GCC=`test$ac_compiler_gnu=yes&&echoyes`ac_test_CFLAGS=${CFLAGS+set}ac_save_CFLAGS=$CFLAGSCFLAGS="-g"echo"$as_me:$LINENO: checking whether $CC accepts -g">&5echo$ECHO_N"checking whether $CC accepts -g... $ECHO_C">&6iftest"${ac_cv_prog_cc_g+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */intmain (){ ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_prog_cc_g=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_prog_cc_g=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_prog_cc_g">&5echo"${ECHO_T}$ac_cv_prog_cc_g">&6iftest"$ac_test_CFLAGS"=set;thenCFLAGS=$ac_save_CFLAGSeliftest$ac_cv_prog_cc_g=yes;theniftest"$GCC"=yes;thenCFLAGS="-g -O2"elseCFLAGS="-g"fielseiftest"$GCC"=yes;thenCFLAGS="-O2"elseCFLAGS=fifiecho"$as_me:$LINENO: checking for $CC option to accept ANSI C">&5echo$ECHO_N"checking for $CC option to accept ANSI C... $ECHO_C">&6iftest"${ac_cv_prog_cc_stdc+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_cv_prog_cc_stdc=no
ac_save_CC=$CC
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <stdarg.h>#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */struct buf { int x; };FILE * (*rcsopen) (struct buf *, struct stat *, int);static char *e (p, i) char **p; int i;{ return p[i];}static char *f (char * (*g) (char **, int), char **p, ...){ char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s;}/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std1 is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std1. */int osf4_cc_array ['\x00' == 0 ? 1 : -1];int test (int i, double x);struct s1 {int (*f) (int a);};struct s2 {int (*f) (double a);};int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);int argc;char **argv;intmain (){return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0;}_ACEOF# Don't try gcc -ansi; that turns off useful extensions and# breaks some systems' header files.# AIX -qlanglvl=ansi# Ultrix and OSF/1 -std1# HP-UX 10.20 and later -Ae# HP-UX older versions -Aa -D_HPUX_SOURCE# SVR4 -Xc -D__EXTENSIONS__forac_argin""-qlanglvl=ansi-std1-Ae"-Aa -D_HPUX_SOURCE""-Xc -D__EXTENSIONS__"doCC="$ac_save_CC$ac_arg"rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_prog_cc_stdc=$ac_argbreakelseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5fi
rm-fconftest.errconftest.$ac_objextdone
rm-fconftest.$ac_extconftest.$ac_objextCC=$ac_save_CCficase"x$ac_cv_prog_cc_stdc"inx|xno)echo"$as_me:$LINENO: result: none needed">&5echo"${ECHO_T}none needed">&6;;*)echo"$as_me:$LINENO: result: $ac_cv_prog_cc_stdc">&5echo"${ECHO_T}$ac_cv_prog_cc_stdc">&6CC="$CC$ac_cv_prog_cc_stdc";;esac# Some people use a C++ compiler to compile C. Since we use `exit',# in C++ we need to declare it. In case someone uses the same compiler# for both compiling C and C++ we need to have the C++ compiler decide# the declaration of exit, since it's the most demanding environment.
cat>conftest.$ac_ext<<_ACEOF#ifndef __cplusplus choke me#endif_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenforac_declarationin\''\'extern "C" void std::exit (int) throw (); using std::exit;'\'extern "C" void std::exit (int); using std::exit;'\'extern "C" void exit (int) throw ();'\'extern "C" void exit (int);'\'void exit (int);'docat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_declaration#include <stdlib.h>intmain (){exit (42); ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};then:
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5continuefi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extcat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_declarationintmain (){exit (42); ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenbreakelseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extdone
rm-fconftest*
iftest-n"$ac_declaration";thenecho'#ifdef __cplusplus'>>confdefs.h
echo$ac_declaration>>confdefs.h
echo'#endif'>>confdefs.h
fielseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extac_ext=c
ac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuDEPDIR="${am__leading_dot}deps"ac_config_commands="$ac_config_commands depfiles"am_make=${MAKE-make}
cat>confinc<< 'END'am__doit: @echo done.PHONY: am__doitEND# If we don't find an include directive, just comment out the code.echo"$as_me:$LINENO: checking for style of include used by $am_make">&5echo$ECHO_N"checking for style of include used by $am_make... $ECHO_C">&6am__include="#"am__quote=_am_result=none
# First try GNU make style include.echo"include confinc">confmf
# We grep out `Entering directory' and `Leaving directory'# messages which can occur if `w' ends up in MAKEFLAGS.# In particular we don't look at `^make:' because GNU make might# be invoked under some other name (usually "gmake"), in which# case it prints its new name instead of `make'.iftest"`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`"="done";thenam__include=include
am__quote=_am_result=GNU
fi# Now try BSD make style include.iftest"$am__include"="#";thenecho'.include "confinc"'>confmf
iftest"`$am_make -s -f confmf 2> /dev/null`"="done";thenam__include=.include
am__quote="\""_am_result=BSD
fifiecho"$as_me:$LINENO: result: $_am_result">&5echo"${ECHO_T}$_am_result">&6
rm-fconfincconfmf
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.iftest"${enable_dependency_tracking+set}"=set;thenenableval="$enable_dependency_tracking"fi;iftest"x$enable_dependency_tracking"!=xno;thenam_depcomp="$ac_aux_dir/depcomp"AMDEPBACKSLASH='\'fiiftest"x$enable_dependency_tracking"!=xno;thenAMDEP_TRUE=AMDEP_FALSE='#'elseAMDEP_TRUE='#'AMDEP_FALSE=fidepcc="$CC"am_compiler_list=echo"$as_me:$LINENO: checking dependency style of $depcc">&5echo$ECHO_N"checking dependency style of $depcc... $ECHO_C">&6iftest"${am_cv_CC_dependencies_compiler_type+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest-z"$AMDEP_TRUE"&&test-f"$am_depcomp";then# We make a subdir and do the tests there. Otherwise we can end up# making bogus files that we don't know about and never remove. For# instance it was reported that on HP-UX the gcc test will end up# making a dummy file named `D' -- because `-MD' means `put the output# in D'.mkdirconftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're# using a relative directory.cp"$am_depcomp"conftest.dir
cdconftest.dir
# We will build objects and dependencies in a subdirectory because# it helps to detect inapplicable dependency modes. For instance# both Tru64's cc and ICC support -MD to output dependencies as a# side effect of compilation, but ICC will put the dependencies in# the current directory while Tru64 will put them in the object# directory.mkdirsub
am_cv_CC_dependencies_compiler_type=none
iftest"$am_compiler_list"="";thenam_compiler_list=`sed-n's/^#*\([a-zA-Z0-9]*\))$/\1/p'<./depcomp`fifordepmodein$am_compiler_list;do# Setup a source with many dependencies, because some compilers# like to wrap large dependency lists on column 80 (with \), and# we should not choose a depcomp mode which is confused by this.## We need to recreate these files for each test, as the compiler may# overwrite some of them when testing with obscure command lines.# This happens at least with the AIX C compiler.:>sub/conftest.c
foriin123456;doecho'#include "conftst'$i'.h"'>>sub/conftest.c
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with# Solaris 8's {/usr,}/bin/sh.touchsub/conftst$i.h
doneecho"${am__include}${am__quote}sub/conftest.Po${am__quote}">confmf
case$depmodeinnosideeffect)# after this tag, mechanisms are not by side-effect, so they'll# only be used when explicitly requestediftest"x$enable_dependency_tracking"=xyes;thencontinueelsebreakfi;;none)break;;esac# We check with `-c' and `-o' for the sake of the "dashmstdout"# mode. It turns out that the SunPro C++ compiler does not properly# handle `-M -o', and we need to detect this.ifdepmode=$depmode\source=sub/conftest.cobject=sub/conftest.${OBJEXT-o}\depfile=sub/conftest.Potmpdepfile=sub/conftest.TPo\$SHELL./depcomp$depcc-c-osub/conftest.${OBJEXT-o}sub/conftest.c\>/dev/null2>conftest.err&&grepsub/conftst6.hsub/conftest.Po>/dev/null2>&1&&grepsub/conftest.${OBJEXT-o}sub/conftest.Po>/dev/null2>&1&&${MAKE-make}-s-fconfmf>/dev/null2>&1;then# icc doesn't choke on unknown options, it will just issue warnings# or remarks (even with -Werror). So we grep stderr for any message# that says an option was ignored or not supported.# When given -MP, icc 7.0 and 7.1 complain thusly:# icc: Command line warning: ignoring option '-M'; no argument required# The diagnosis changed in icc 8.0:# icc: Command line remark: option '-MP' not supportedif(grep'ignoring option'conftest.err||grep'not supported'conftest.err)>/dev/null2>&1;then:;elseam_cv_CC_dependencies_compiler_type=$depmodebreakfifidonecd..
rm-rfconftest.dir
elseam_cv_CC_dependencies_compiler_type=none
fifiecho"$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type">&5echo"${ECHO_T}$am_cv_CC_dependencies_compiler_type">&6CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_typeiftest"x$enable_dependency_tracking"!=xno\&&test"$am_cv_CC_dependencies_compiler_type"=gcc3;thenam__fastdepCC_TRUE=am__fastdepCC_FALSE='#'elseam__fastdepCC_TRUE='#'am__fastdepCC_FALSE=fiac_ext=c
ac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnuecho"$as_me:$LINENO: checking how to run the C preprocessor">&5echo$ECHO_N"checking how to run the C preprocessor... $ECHO_C">&6# On Suns, sometimes $CPP names a directory.iftest-n"$CPP"&&test-d"$CPP";thenCPP=fiiftest-z"$CPP";theniftest"${ac_cv_prog_CPP+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6else# Double quotes because CPP needs to be expandedforCPPin"$CC -E""$CC -E -traditional-cpp""/lib/cpp"doac_preproc_ok=falseforac_c_preproc_warn_flagin''yes
do# Use a header file that comes with gcc, so configuring glibc# with a fresh cross-compiler works.# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since# <limits.h> exists even on freestanding compilers.# On the NeXT, cc -E runs the code through the compiler's parser,# not just through cpp. "Syntax error" is here to catch this case.cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif Syntax error_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";then:
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5# Broken: fails on valid input.continuefi
rm-fconftest.errconftest.$ac_ext# OK, works on sane cases. Now check whether non-existent headers# can be detected and how.cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <ac_nonexistent.h>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";then# Broken: success on invalid input.continueelseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5# Passes both tests.ac_preproc_ok=:
breakfi
rm-fconftest.errconftest.$ac_extdone# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm-fconftest.errconftest.$ac_extif$ac_preproc_ok;thenbreakfidoneac_cv_prog_CPP=$CPPfiCPP=$ac_cv_prog_CPPelseac_cv_prog_CPP=$CPPfiecho"$as_me:$LINENO: result: $CPP">&5echo"${ECHO_T}$CPP">&6ac_preproc_ok=falseforac_c_preproc_warn_flagin''yes
do# Use a header file that comes with gcc, so configuring glibc# with a fresh cross-compiler works.# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since# <limits.h> exists even on freestanding compilers.# On the NeXT, cc -E runs the code through the compiler's parser,# not just through cpp. "Syntax error" is here to catch this case.cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif Syntax error_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";then:
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5# Broken: fails on valid input.continuefi
rm-fconftest.errconftest.$ac_ext# OK, works on sane cases. Now check whether non-existent headers# can be detected and how.cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <ac_nonexistent.h>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";then# Broken: success on invalid input.continueelseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5# Passes both tests.ac_preproc_ok=:
breakfi
rm-fconftest.errconftest.$ac_extdone# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm-fconftest.errconftest.$ac_extif$ac_preproc_ok;then:
else{{echo"$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity checkSee \`config.log' for more details.">&5echo"$as_me: error: C preprocessor \"$CPP\" fails sanity checkSee \`config.log' for more details.">&2;}{(exit1);exit1;};}fiac_ext=c
ac_cpp='$CPP $CPPFLAGS'ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'ac_compiler_gnu=$ac_cv_c_compiler_gnu# Find a good install program. We prefer a C program (faster),# so one script is as good as another. But avoid the broken or# incompatible versions:# SysV /etc/install, /usr/sbin/install# SunOS /usr/etc/install# IRIX /sbin/install# AIX /bin/install# AmigaOS /C/install, which installs bootblocks on floppy discs# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag# AFS /usr/afsws/bin/install, which mishandles nonexistent args# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"# OS/2's system install, which has a completely different semantic# ./install, which can be erroneously created by make from ./install.sh.echo"$as_me:$LINENO: checking for a BSD-compatible install">&5echo$ECHO_N"checking for a BSD-compatible install... $ECHO_C">&6iftest-z"$INSTALL";theniftest"${ac_cv_path_install+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseas_save_IFS=$IFS;IFS=$PATH_SEPARATORforas_dirin$PATHdoIFS=$as_save_IFStest-z"$as_dir"&&as_dir=.
# Account for people who put trailing slashes in PATH elements.case$as_dir/in./|.//|/cC/*|\/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|\?:\\/os2\\/install\\/*|?:\\/OS2\\/INSTALL\\/*|\/usr/ucb/*);;*)# OSF1 and SCO ODT 3.0 have their own names for install.# Don't use installbsd from OSF since it installs stuff as root# by default.forac_proginginstallscoinstinstall;doforac_exec_extin''$ac_executable_extensions;doif$as_executable_p"$as_dir/$ac_prog$ac_exec_ext";theniftest$ac_prog=install&&grepdspmsg"$as_dir/$ac_prog$ac_exec_ext">/dev/null2>&1;then# AIX install. It has an incompatible calling convention.:
eliftest$ac_prog=install&&greppwplus"$as_dir/$ac_prog$ac_exec_ext">/dev/null2>&1;then# program-specific install script used by HP pwplus--don't use.:
elseac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"break3fifidonedone;;esacdonefiiftest"${ac_cv_path_install+set}"=set;thenINSTALL=$ac_cv_path_installelse# As a last resort, use the slow shell script. We don't cache a# path for INSTALL within a source directory, because that will# break other packages using the cache if that directory is# removed, or if the path is relative.INSTALL=$ac_install_shfifiecho"$as_me:$LINENO: result: $INSTALL">&5echo"${ECHO_T}$INSTALL">&6# Use test -z because SunOS4 sh mishandles braces in ${var-val}.# It thinks the first close brace ends the variable substitution.test-z"$INSTALL_PROGRAM"&&INSTALL_PROGRAM='${INSTALL}'test-z"$INSTALL_SCRIPT"&&INSTALL_SCRIPT='${INSTALL}'test-z"$INSTALL_DATA"&&INSTALL_DATA='${INSTALL} -m 644'echo"$as_me:$LINENO: checking whether ln -s works">&5echo$ECHO_N"checking whether ln -s works... $ECHO_C">&6LN_S=$as_ln_siftest"$LN_S"="ln -s";thenecho"$as_me:$LINENO: result: yes">&5echo"${ECHO_T}yes">&6elseecho"$as_me:$LINENO: result: no, using $LN_S">&5echo"${ECHO_T}no, using $LN_S">&6fiecho"$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)">&5echo$ECHO_N"checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C">&6setdummy${MAKE-make};ac_make=`echo"$2"|sed'y,:./+-,___p_,'`ifeval"test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.make<<\_ACEOFall: @echo 'ac_maketemp="$(MAKE)"'_ACEOF# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval`${MAKE-make}-fconftest.make2>/dev/null|greptemp=`iftest-n"$ac_maketemp";thenevalac_cv_prog_make_${ac_make}_set=yes
elseevalac_cv_prog_make_${ac_make}_set=no
fi
rm-fconftest.make
fiifeval"test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes";thenecho"$as_me:$LINENO: result: yes">&5echo"${ECHO_T}yes">&6SET_MAKE=elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6SET_MAKE="MAKE=${MAKE-make}"fi# dmallocecho"$as_me:$LINENO: checking if malloc debugging is wanted">&5echo$ECHO_N"checking if malloc debugging is wanted... $ECHO_C">&6# Check whether --with-dmalloc or --without-dmalloc was given.iftest"${with_dmalloc+set}"=set;thenwithval="$with_dmalloc"iftest"$withval"=yes;thenecho"$as_me:$LINENO: result: yes">&5echo"${ECHO_T}yes">&6
cat>>confdefs.h<<\_ACEOF#define WITH_DMALLOC 1_ACEOFLIBS="$LIBS -ldmalloc"LDFLAGS="$LDFLAGS -g"elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fielseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fi;# Checks for libraries.echo"$as_me:$LINENO: checking for log in -lm">&5echo$ECHO_N"checking for log in -lm... $ECHO_C">&6iftest"${ac_cv_lib_m_log+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lm $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char log ();intmain (){log (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_m_log=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_m_log=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_m_log">&5echo"${ECHO_T}$ac_cv_lib_m_log">&6iftest$ac_cv_lib_m_log=yes;thencat>>confdefs.h<<_ACEOF#define HAVE_LIBM 1_ACEOFLIBS="-lm $LIBS"fi# cursesecho"$as_me:$LINENO: checking for egrep">&5echo$ECHO_N"checking for egrep... $ECHO_C">&6iftest"${ac_cv_prog_egrep+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseifechoa|(grep-E'(a|b)')>/dev/null2>&1thenac_cv_prog_egrep='grep -E'elseac_cv_prog_egrep='egrep'fifiecho"$as_me:$LINENO: result: $ac_cv_prog_egrep">&5echo"${ECHO_T}$ac_cv_prog_egrep">&6EGREP=$ac_cv_prog_egrepsearch_ncurses=truescreen_manager=""has_curses=falseCFLAGS=${CFLAGS--O}# Check whether --with-sco or --without-sco was given.iftest"${with_sco+set}"=set;thenwithval="$with_sco"iftestx$withval=xyes;then
cat>>confdefs.h<<\_ACEOF#define SCO_FLAVOR 1_ACEOFCFLAGS="$CFLAGS -D_SVID3"fifi;# Check whether --with-sunos-curses or --without-sunos-curses was given.iftest"${with_sunos_curses+set}"=set;thenwithval="$with_sunos_curses"iftestx$withval=xyes;thensearch_ncurses=falsescreen_manager="SunOS 4.x /usr/5include curses"echo"$as_me:$LINENO: result: Using SunOS 4.x /usr/5include curses">&5echo"${ECHO_T}Using SunOS 4.x /usr/5include curses">&6
cat>>confdefs.h<<\_ACEOF#define USE_SUNOS_CURSES 1_ACEOF
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define NO_COLOR_CURSES 1_ACEOF
cat>>confdefs.h<<\_ACEOF#define USE_SYSV_CURSES 1_ACEOFCURSES_INCLUDEDIR="-I/usr/5include"CURSES_LIBS="/usr/5lib/libcurses.a /usr/5lib/libtermcap.a"echo"$as_me:$LINENO: result: Please note that some screen refreshs may fail">&5echo"${ECHO_T}Please note that some screen refreshs may fail">&6fifi;# Check whether --with-osf1-curses or --without-osf1-curses was given.iftest"${with_osf1_curses+set}"=set;thenwithval="$with_osf1_curses"iftestx$withval=xyes;thenecho"$as_me:$LINENO: result: Using OSF1 curses">&5echo"${ECHO_T}Using OSF1 curses">&6search_ncurses=falsescreen_manager="OSF1 curses"
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define NO_COLOR_CURSES 1_ACEOF
cat>>confdefs.h<<\_ACEOF#define USE_SYSV_CURSES 1_ACEOFCURSES_LIBS="-lcurses"fifi;# Check whether --with-vcurses or --without-vcurses was given.iftest"${with_vcurses+set}"=set;thenwithval="$with_vcurses"iftestx$withval!=xyes;thenCURSES_INCLUDEDIR="-I$withval"fiecho"$as_me:$LINENO: result: Using SysV curses">&5echo"${ECHO_T}Using SysV curses">&6
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define USE_SYSV_CURSES 1_ACEOFsearch_ncurses=falsescreen_manager="SysV/curses"CURSES_LIBS="-lcurses"fi;# Check whether --with-ncurses or --without-ncurses was given.iftest"${with_ncurses+set}"=set;thenwithval="$with_ncurses"iftestx$withval=xno;thensearch_ncurses=falseeliftestx$withval!=xyes;thenCURSES_LIBS="$LIBS -L$withval/lib -lncurses"CURSES_INCLUDEDIR="-I$withval/include"search_ncurses=falsescreen_manager="ncurses"
cat>>confdefs.h<<\_ACEOF#define USE_NCURSES 1_ACEOF
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=truefifi;if$search_ncursesthen{echo"$as_me:$LINENO: checking location of ncurses.h file...">&5echo"$as_me: checking location of ncurses.h file...">&6;}if$search_ncursestheniftest-f/usr/include/ncurses.h
thenecho"$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses.h">&5echo"${ECHO_T}Found ncurses on /usr/include/ncurses.h">&6CURSES_LIBS="-lncurses"CURSES_INCLUDEDIR=""search_ncurses=falsescreen_manager="ncurses on /usr/include"
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define USE_NCURSES 1_ACEOFfifiif$search_ncursestheniftest-f/usr/include/ncurses/ncurses.h
thenecho"$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses/ncurses.h">&5echo"${ECHO_T}Found ncurses on /usr/include/ncurses/ncurses.h">&6CURSES_LIBS="-lncurses"CURSES_INCLUDEDIR="-I/usr/include/ncurses"search_ncurses=falsescreen_manager="ncurses on /usr/include/ncurses"
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define USE_NCURSES 1_ACEOFfifiif$search_ncursestheniftest-f/usr/local/include/ncurses.h
thenecho"$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses.h">&5echo"${ECHO_T}Found ncurses on /usr/local/include/ncurses.h">&6CURSES_LIBS="-L/usr/local/lib -lncurses"CURSES_INCLUDEDIR="-I/usr/local/include"search_ncurses=falsescreen_manager="ncurses on /usr/local"
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define USE_NCURSES 1_ACEOFfifiif$search_ncursestheniftest-f/usr/local/include/ncurses/ncurses.h
thenecho"$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses/ncurses.h">&5echo"${ECHO_T}Found ncurses on /usr/local/include/ncurses/ncurses.h">&6CURSES_LIBS="-L/usr/local/lib -L/usr/local/lib/ncurses -lncurses"CURSES_INCLUDEDIR="-I/usr/local/include/ncurses"search_ncurses=falsescreen_manager="ncurses on /usr/local/include/ncurses"
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define USE_NCURSES 1_ACEOFfifiif$search_ncursestheniftest-f/usr/local/include/ncurses/curses.h
thenecho"$as_me:$LINENO: result: Found ncurses on /usr/local/include/ncurses/curses.h">&5echo"${ECHO_T}Found ncurses on /usr/local/include/ncurses/curses.h">&6CURSES_LIBS="-L/usr/local/lib -lncurses"CURSES_INCLUDEDIR="-I/usr/local/include/ncurses -DRENAMED_NCURSES"search_ncurses=falsescreen_manager="renamed ncurses on /usr/local/.../ncurses"
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define USE_NCURSES 1_ACEOFfifiif$search_ncursestheniftest-f/usr/include/ncurses/curses.h
thenecho"$as_me:$LINENO: result: Found ncurses on /usr/include/ncurses/curses.h">&5echo"${ECHO_T}Found ncurses on /usr/include/ncurses/curses.h">&6CURSES_LIBS="-lncurses"CURSES_INCLUDEDIR="-I/usr/include/ncurses -DRENAMED_NCURSES"search_ncurses=falsescreen_manager="renamed ncurses on /usr/include/ncurses"
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define USE_NCURSES 1_ACEOFfifiif$search_ncursesthencat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include </usr/include/curses.h>_ACEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|$EGREP"init_color">/dev/null2>&1;thenecho"$as_me:$LINENO: result: Using SysV curses">&5echo"${ECHO_T}Using SysV curses">&6
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define USE_SYSV_CURSES 1_ACEOFsearch_ncurses=falsescreen_manager="SysV/curses"CURSES_LIBS="-lcurses"fi
rm-fconftest*
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <curses.h>#ifdef __NCURSES_H#undef USE_NCURSESUSE_NCURSES#endif_ACEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|$EGREP"USE_NCURSES">/dev/null2>&1;thenCURSES_INCLUDEDIR="$CURSES_INCLUDEDIR -DRENAMED_NCURSES"
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define USE_NCURSES 1_ACEOFsearch_ncurses=falsescreen_manager="ncurses installed as curses"fi
rm-fconftest*
fiif$search_ncursestheniftest-f/usr/5include/curses.h
thensearch_ncurses=falsescreen_manager="SunOS 4.x /usr/5include curses"echo"$as_me:$LINENO: result: Using SunOS 4.x /usr/5include curses">&5echo"${ECHO_T}Using SunOS 4.x /usr/5include curses">&6
cat>>confdefs.h<<\_ACEOF#define USE_SUNOS_CURSES 1_ACEOF
cat>>confdefs.h<<\_ACEOF#define HAS_CURSES 1_ACEOFhas_curses=true
cat>>confdefs.h<<\_ACEOF#define NO_COLOR_CURSES 1_ACEOF
cat>>confdefs.h<<\_ACEOF#define USE_SYSV_CURSES 1_ACEOFCURSES_INCLUDEDIR="-I/usr/5include"CURSES_LIBS="/usr/5lib/libcurses.a /usr/5lib/libtermcap.a"echo"$as_me:$LINENO: result: Please note that some screen refreshs may fail">&5echo"${ECHO_T}Please note that some screen refreshs may fail">&6fielse# check for ncurses version, to properly ifdef mouse-fixecho"$as_me:$LINENO: checking for ncurses version">&5echo$ECHO_N"checking for ncurses version... $ECHO_C">&6ncurses_version=unknown
cat>conftest.$ac_ext<<EOF#line 3814 "configure"#include "confdefs.h"#ifdef RENAMED_NCURSES#include <curses.h>#else#include <ncurses.h>#endif#undef VERSIONVERSION:NCURSES_VERSIONEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|egrep"VERSION:">conftest.out2>&1;thenncurses_version=`catconftest.out|sed-e's/^[^"]*"//'-e's/".*//'`firm-rfconftest*
echo"$as_me:$LINENO: result: $ncurses_version">&5echo"${ECHO_T}$ncurses_version">&6case"$ncurses_version"in4.[01])
cat>>confdefs.h<<\_ACEOF#define NCURSES_970530 2_ACEOF;;1.9.9g)
cat>>confdefs.h<<\_ACEOF#define NCURSES_970530 1_ACEOF;;1*)
cat>>confdefs.h<<\_ACEOF#define NCURSES_970530 0_ACEOF;;esacfifi# Checks for X11echo"$as_me:$LINENO: checking for X">&5echo$ECHO_N"checking for X... $ECHO_C">&6# Check whether --with-x or --without-x was given.iftest"${with_x+set}"=set;thenwithval="$with_x"fi;# $have_x is `yes', `no', `disabled', or empty when we do not yet know.iftest"x$with_x"=xno;then# The user explicitly disabled X.have_x=disabled
elseiftest"x$x_includes"!=xNONE&&test"x$x_libraries"!=xNONE;then# Both variables are already set.have_x=yes
elseiftest"${ac_cv_have_x+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6else# One or both of the vars are not set, and there is no cached value.ac_x_includes=noac_x_libraries=no
rm-frconftest.dir
ifmkdirconftest.dir;thencdconftest.dir
# Make sure to not put "make" in the Imakefile rules, since we grep it out.cat>Imakefile<<'_ACEOF'acfindx: @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'_ACEOFif(xmkmf)>/dev/null2>/dev/null&&test-fMakefile;then# GNU make sometimes prints "make[1]: Entering...", which would confuse us.eval`${MAKE-make}acfindx2>/dev/null|grep-vmake`# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.forac_extensioninasosl;doiftest!-f$ac_im_usrlibdir/libX11.$ac_extension&&test-f$ac_im_libdir/libX11.$ac_extension;thenac_im_usrlibdir=$ac_im_libdir;breakfidone# Screen out bogus values from the imake configuration. They are# bogus both because they are the default anyway, and because# using them would break gcc on systems where it needs fixed includes.case$ac_im_incrootin/usr/include);;*)test-f"$ac_im_incroot/X11/Xos.h"&&ac_x_includes=$ac_im_incroot;;esaccase$ac_im_usrlibdirin/usr/lib|/lib);;*)test-d"$ac_im_usrlibdir"&&ac_x_libraries=$ac_im_usrlibdir;;esacficd..
rm-frconftest.dir
fi# Standard set of common directories for X headers.# Check X11 before X11Rn because it is often a symlink to the current release.ac_x_header_dirs='/usr/X11/include/usr/X11R6/include/usr/X11R5/include/usr/X11R4/include/usr/include/X11/usr/include/X11R6/usr/include/X11R5/usr/include/X11R4/usr/local/X11/include/usr/local/X11R6/include/usr/local/X11R5/include/usr/local/X11R4/include/usr/local/include/X11/usr/local/include/X11R6/usr/local/include/X11R5/usr/local/include/X11R4/usr/X386/include/usr/x386/include/usr/XFree86/include/X11/usr/include/usr/local/include/usr/unsupported/include/usr/athena/include/usr/local/x11r5/include/usr/lpp/Xamples/include/usr/openwin/include/usr/openwin/share/include'iftest"$ac_x_includes"=no;then# Guess where to find include files, by looking for Intrinsic.h.# First, try using that file with no special directory specified.cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <X11/Intrinsic.h>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";then# We can compile using X headers with no special include directory.ac_x_includes=elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5forac_dirin$ac_x_header_dirs;doiftest-r"$ac_dir/X11/Intrinsic.h";thenac_x_includes=$ac_dirbreakfidonefi
rm-fconftest.errconftest.$ac_extfi# $ac_x_includes = noiftest"$ac_x_libraries"=no;then# Check for the libraries.# See if we find them without any special options.# Don't add to $LIBS permanently.ac_save_LIBS=$LIBSLIBS="-lXt $LIBS"cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <X11/Intrinsic.h>intmain (){XtMalloc (0) ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenLIBS=$ac_save_LIBS# We can link X programs with no special library path.ac_x_libraries=elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5LIBS=$ac_save_LIBSforac_dirin`echo"$ac_x_includes$ac_x_header_dirs"|seds/include/lib/g`do# Don't even attempt the hair of trying to link an X program!forac_extensioninasosl;doiftest-r$ac_dir/libXt.$ac_extension;thenac_x_libraries=$ac_dirbreak2fidonedonefi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfi# $ac_x_libraries = noiftest"$ac_x_includes"=no||test"$ac_x_libraries"=no;then# Didn't find X anywhere. Cache the known absence of X.ac_cv_have_x="have_x=no"else# Record where we found X for the cache.ac_cv_have_x="have_x=yes \ ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"fififieval"$ac_cv_have_x"fi# $with_x != noiftest"$have_x"!=yes;thenecho"$as_me:$LINENO: result: $have_x">&5echo"${ECHO_T}$have_x">&6no_x=yes
else# If each of the values was on the command line, it overrides each guess.test"x$x_includes"=xNONE&&x_includes=$ac_x_includestest"x$x_libraries"=xNONE&&x_libraries=$ac_x_libraries# Update the cache value to reflect the command line values.ac_cv_have_x="have_x=yes \ ac_x_includes=$x_includes ac_x_libraries=$x_libraries"echo"$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes">&5echo"${ECHO_T}libraries $x_libraries, headers $x_includes">&6fiiftest"$no_x"=yes;then# Not all programs may use this symbol, but it does not hurt to define it.
cat>>confdefs.h<<\_ACEOF#define X_DISPLAY_MISSING 1_ACEOFX_CFLAGS=X_PRE_LIBS=X_LIBS=X_EXTRA_LIBS=elseiftest-n"$x_includes";thenX_CFLAGS="$X_CFLAGS -I$x_includes"fi# It would also be nice to do this for all -L options, not just this one.iftest-n"$x_libraries";thenX_LIBS="$X_LIBS -L$x_libraries"# For Solaris; some versions of Sun CC require a space after -R and# others require no space. Words are not sufficient . . . .case`(uname-sr)2>/dev/null`in"SunOS 5"*)echo"$as_me:$LINENO: checking whether -R must be followed by a space">&5echo$ECHO_N"checking whether -R must be followed by a space... $ECHO_C">&6ac_xsave_LIBS=$LIBS;LIBS="$LIBS -R$x_libraries"cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */intmain (){ ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_R_nospace=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_R_nospace=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extiftest$ac_R_nospace=yes;thenecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6X_LIBS="$X_LIBS -R$x_libraries"elseLIBS="$ac_xsave_LIBS -R $x_libraries"cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */intmain (){ ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_R_space=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_R_space=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extiftest$ac_R_space=yes;thenecho"$as_me:$LINENO: result: yes">&5echo"${ECHO_T}yes">&6X_LIBS="$X_LIBS -R $x_libraries"elseecho"$as_me:$LINENO: result: neither works">&5echo"${ECHO_T}neither works">&6fifiLIBS=$ac_xsave_LIBSesacfi# Check for system-dependent libraries X programs must link with.# Do this before checking for the system-independent R6 libraries# (-lICE), since we may need -lsocket or whatever for X linking.iftest"$ISC"=yes;thenX_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"else# Martyn Johnson says this is needed for Ultrix, if the X# libraries were built with DECnet support. And Karl Berry says# the Alpha needs dnet_stub (dnet does not exist).ac_xsave_LIBS="$LIBS";LIBS="$LIBS$X_LIBS -lX11"cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char XOpenDisplay ();intmain (){XOpenDisplay (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};then:
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5echo"$as_me:$LINENO: checking for dnet_ntoa in -ldnet">&5echo$ECHO_N"checking for dnet_ntoa in -ldnet... $ECHO_C">&6iftest"${ac_cv_lib_dnet_dnet_ntoa+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-ldnet $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char dnet_ntoa ();intmain (){dnet_ntoa (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_dnet_dnet_ntoa=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_dnet_dnet_ntoa=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa">&5echo"${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa">&6iftest$ac_cv_lib_dnet_dnet_ntoa=yes;thenX_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"fiiftest$ac_cv_lib_dnet_dnet_ntoa=no;thenecho"$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub">&5echo$ECHO_N"checking for dnet_ntoa in -ldnet_stub... $ECHO_C">&6iftest"${ac_cv_lib_dnet_stub_dnet_ntoa+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-ldnet_stub $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char dnet_ntoa ();intmain (){dnet_ntoa (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_dnet_stub_dnet_ntoa=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_dnet_stub_dnet_ntoa=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa">&5echo"${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa">&6iftest$ac_cv_lib_dnet_stub_dnet_ntoa=yes;thenX_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"fififi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS="$ac_xsave_LIBS"# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,# to get the SysV transport functions.# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)# needs -lnsl.# The nsl library prevents programs from opening the X display# on Irix 5.2, according to T.E. Dickey.# The functions gethostbyname, getservbyname, and inet_addr are# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.echo"$as_me:$LINENO: checking for gethostbyname">&5echo$ECHO_N"checking for gethostbyname... $ECHO_C">&6iftest"${ac_cv_func_gethostbyname+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. For example, HP-UX 11i <limits.h> declares gettimeofday. */#define gethostbyname innocuous_gethostbyname/* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyname (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef gethostbyname/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char gethostbyname ();/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)choke me#elsechar (*f) () = gethostbyname;#endif#ifdef __cplusplus}#endifintmain (){return f != gethostbyname; ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_gethostbyname=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_func_gethostbyname=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_func_gethostbyname">&5echo"${ECHO_T}$ac_cv_func_gethostbyname">&6iftest$ac_cv_func_gethostbyname=no;thenecho"$as_me:$LINENO: checking for gethostbyname in -lnsl">&5echo$ECHO_N"checking for gethostbyname in -lnsl... $ECHO_C">&6iftest"${ac_cv_lib_nsl_gethostbyname+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lnsl $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char gethostbyname ();intmain (){gethostbyname (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_nsl_gethostbyname=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_nsl_gethostbyname=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname">&5echo"${ECHO_T}$ac_cv_lib_nsl_gethostbyname">&6iftest$ac_cv_lib_nsl_gethostbyname=yes;thenX_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"fiiftest$ac_cv_lib_nsl_gethostbyname=no;thenecho"$as_me:$LINENO: checking for gethostbyname in -lbsd">&5echo$ECHO_N"checking for gethostbyname in -lbsd... $ECHO_C">&6iftest"${ac_cv_lib_bsd_gethostbyname+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lbsd $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char gethostbyname ();intmain (){gethostbyname (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_bsd_gethostbyname=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_bsd_gethostbyname=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname">&5echo"${ECHO_T}$ac_cv_lib_bsd_gethostbyname">&6iftest$ac_cv_lib_bsd_gethostbyname=yes;thenX_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"fififi# lieder@skyler.mavd.honeywell.com says without -lsocket,# socket/setsockopt and other routines are undefined under SCO ODT# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary# on later versions), says Simon Leinen: it contains gethostby*# variants that don't use the name server (or something). -lsocket# must be given before -lnsl if both are needed. We assume that# if connect needs -lnsl, so does gethostbyname.echo"$as_me:$LINENO: checking for connect">&5echo$ECHO_N"checking for connect... $ECHO_C">&6iftest"${ac_cv_func_connect+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Define connect to an innocuous variant, in case <limits.h> declares connect. For example, HP-UX 11i <limits.h> declares gettimeofday. */#define connect innocuous_connect/* System header to define __stub macros and hopefully few prototypes, which can conflict with char connect (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef connect/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char connect ();/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_connect) || defined (__stub___connect)choke me#elsechar (*f) () = connect;#endif#ifdef __cplusplus}#endifintmain (){return f != connect; ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_connect=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_func_connect=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_func_connect">&5echo"${ECHO_T}$ac_cv_func_connect">&6iftest$ac_cv_func_connect=no;thenecho"$as_me:$LINENO: checking for connect in -lsocket">&5echo$ECHO_N"checking for connect in -lsocket... $ECHO_C">&6iftest"${ac_cv_lib_socket_connect+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lsocket $X_EXTRA_LIBS$LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char connect ();intmain (){connect (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_socket_connect=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_socket_connect=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_socket_connect">&5echo"${ECHO_T}$ac_cv_lib_socket_connect">&6iftest$ac_cv_lib_socket_connect=yes;thenX_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"fifi# Guillermo Gomez says -lposix is necessary on A/UX.echo"$as_me:$LINENO: checking for remove">&5echo$ECHO_N"checking for remove... $ECHO_C">&6iftest"${ac_cv_func_remove+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Define remove to an innocuous variant, in case <limits.h> declares remove. For example, HP-UX 11i <limits.h> declares gettimeofday. */#define remove innocuous_remove/* System header to define __stub macros and hopefully few prototypes, which can conflict with char remove (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef remove/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char remove ();/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_remove) || defined (__stub___remove)choke me#elsechar (*f) () = remove;#endif#ifdef __cplusplus}#endifintmain (){return f != remove; ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_remove=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_func_remove=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_func_remove">&5echo"${ECHO_T}$ac_cv_func_remove">&6iftest$ac_cv_func_remove=no;thenecho"$as_me:$LINENO: checking for remove in -lposix">&5echo$ECHO_N"checking for remove in -lposix... $ECHO_C">&6iftest"${ac_cv_lib_posix_remove+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lposix $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char remove ();intmain (){remove (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_posix_remove=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_posix_remove=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_posix_remove">&5echo"${ECHO_T}$ac_cv_lib_posix_remove">&6iftest$ac_cv_lib_posix_remove=yes;thenX_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"fifi# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.echo"$as_me:$LINENO: checking for shmat">&5echo$ECHO_N"checking for shmat... $ECHO_C">&6iftest"${ac_cv_func_shmat+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Define shmat to an innocuous variant, in case <limits.h> declares shmat. For example, HP-UX 11i <limits.h> declares gettimeofday. */#define shmat innocuous_shmat/* System header to define __stub macros and hopefully few prototypes, which can conflict with char shmat (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef shmat/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char shmat ();/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_shmat) || defined (__stub___shmat)choke me#elsechar (*f) () = shmat;#endif#ifdef __cplusplus}#endifintmain (){return f != shmat; ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_shmat=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_func_shmat=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_func_shmat">&5echo"${ECHO_T}$ac_cv_func_shmat">&6iftest$ac_cv_func_shmat=no;thenecho"$as_me:$LINENO: checking for shmat in -lipc">&5echo$ECHO_N"checking for shmat in -lipc... $ECHO_C">&6iftest"${ac_cv_lib_ipc_shmat+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lipc $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char shmat ();intmain (){shmat (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_ipc_shmat=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_ipc_shmat=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat">&5echo"${ECHO_T}$ac_cv_lib_ipc_shmat">&6iftest$ac_cv_lib_ipc_shmat=yes;thenX_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"fififi# Check for libraries that X11R6 Xt/Xaw programs need.ac_save_LDFLAGS=$LDFLAGStest-n"$x_libraries"&&LDFLAGS="$LDFLAGS -L$x_libraries"# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to# check for ICE first), but we must link in the order -lSM -lICE or# we get undefined symbols. So assume we have SM if we have ICE.# These have to be linked with before -lX11, unlike the other# libraries we check for below, so use a different variable.# John Interrante, Karl Berryecho"$as_me:$LINENO: checking for IceConnectionNumber in -lICE">&5echo$ECHO_N"checking for IceConnectionNumber in -lICE... $ECHO_C">&6iftest"${ac_cv_lib_ICE_IceConnectionNumber+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lICE $X_EXTRA_LIBS$LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char IceConnectionNumber ();intmain (){IceConnectionNumber (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_ICE_IceConnectionNumber=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_ICE_IceConnectionNumber=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber">&5echo"${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber">&6iftest$ac_cv_lib_ICE_IceConnectionNumber=yes;thenX_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"fiLDFLAGS=$ac_save_LDFLAGSfi# double-check for X11iftest"$no_x"!="yes";thenecho"$as_me:$LINENO: checking for ANSI C header files">&5echo$ECHO_N"checking for ANSI C header files... $ECHO_C">&6iftest"${ac_cv_header_stdc+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>intmain (){ ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_header_stdc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_header_stdc=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extiftest$ac_cv_header_stdc=yes;then# SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <string.h>_ACEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|$EGREP"memchr">/dev/null2>&1;then:
elseac_cv_header_stdc=no
fi
rm-fconftest*
fiiftest$ac_cv_header_stdc=yes;then# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <stdlib.h>_ACEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|$EGREP"free">/dev/null2>&1;then:
elseac_cv_header_stdc=no
fi
rm-fconftest*
fiiftest$ac_cv_header_stdc=yes;then# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.iftest"$cross_compiling"=yes;then:
elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <ctype.h>#if ((' ' & 0x0FF) == 0x020)# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#else# define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z'))# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))#endif#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))intmain (){ int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0);}_ACEOF
rm-fconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='./conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};then:
elseecho"$as_me: program exited with status $ac_status">&5echo"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5(exit$ac_status)ac_cv_header_stdc=no
fi
rm-fcore*.coregmon.outbb.outconftest$ac_exeextconftest.$ac_objextconftest.$ac_extfififiecho"$as_me:$LINENO: result: $ac_cv_header_stdc">&5echo"${ECHO_T}$ac_cv_header_stdc">&6iftest$ac_cv_header_stdc=yes;then
cat>>confdefs.h<<\_ACEOF#define STDC_HEADERS 1_ACEOFfi# On IRIX 5.3, sys/types and inttypes.h are conflicting.forac_headerinsys/types.hsys/stat.hstdlib.hstring.hmemory.hstrings.h\inttypes.hstdint.hunistd.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`echo"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};theneval"$as_ac_Header=yes"elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5eval"$as_ac_Header=no"fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6iftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFfidoneforac_headerinX11/Xlib.hX11/Xutil.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFno_x="$no_x"elseno_x="yes"fidoneiftest"$no_x"="yes";then{echo"$as_me:$LINENO: WARNING: configure thinks X11 is available while it is *not*">&5echo"$as_me: WARNING: configure thinks X11 is available while it is *not*">&2;}{echo"$as_me:$LINENO: WARNING: maybe someone wants to fix autoconf's AC PATH XTRA">&5echo"$as_me: WARNING: maybe someone wants to fix autoconf's AC PATH XTRA">&2;}fifi# check for gd.hforac_headeringd/gd.hgd.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_gd="true";breakelsehas_gd="false"fidone# check for usb.hforac_headerinusb.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_usb="true"elsehas_usb="false"fidone# check for luise.hforac_headerinluise.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_luise="true"elsehas_luise="false"fidone# check for serdisplibforac_headerinserdisplib/serdisp.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_serdisplib="true"elsehas_serdisplib="false"fidone# check for LCD-Linuxforac_headerinlinux/lcd-linux.hlinux/hd44780.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_lcd_linux="true"elsehas_lcd_linux="false";breakfidone# check for pythonecho"$as_me:$LINENO: checking if python support is wanted">&5echo$ECHO_N"checking if python support is wanted... $ECHO_C">&6# Check whether --with-python or --without-python was given.iftest"${with_python+set}"=set;thenwithval="$with_python"echo"$as_me:$LINENO: result: $withval">&5echo"${ECHO_T}$withval">&6elseecho"$as_me:$LINENO: result: no">&5echo"${ECHO_T}no">&6fi;iftest"$with_python"="yes";then## ------------------------## Python file handling## From Andrew Dalke## Updated by James Henstridge## ------------------------# Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# AM_PATH_PYTHON([MINIMUM-VERSION])# Adds support for distributing Python modules and packages. To# install modules, copy them to $(pythondir), using the python_PYTHON# automake variable. To install a package with the same name as the# automake package, install to $(pkgpythondir), or use the# pkgpython_PYTHON automake variable.# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as# locations to install python extension modules (shared libraries).# Another macro is required to find the appropriate flags to compile# extension modules.# If your package is configured with a different prefix to python,# users will have to add the install directory to the PYTHONPATH# environment variable, or create a .pth file (see the python# documentation for details).# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will# cause an error if the version of python installed on the system# doesn't meet the requirement. MINIMUM-VERSION should consist of# numbers and dots only.# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])# ---------------------------------------------------------------------------# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.# Run ACTION-IF-FALSE otherwise.# This test uses sys.hexversion instead of the string equivalent (first# word of sys.version), in order to cope with versions such as 2.2c1.# hexversion has been introduced in Python 1.5.2; it's probably not# worth to support older versions (1.5.1 was released on October 31, 1998).PYTHON__DEVEL
fi# driversecho"$as_me:$LINENO: checking which drivers to compile">&5echo$ECHO_N"checking which drivers to compile... $ECHO_C">&6# Check whether --with-drivers or --without-drivers was given.iftest"${with_drivers+set}"=set;thenwithval="$with_drivers"drivers=$withvalelsedrivers=all
fi;drivers=`echo$drivers|sed's/,/ /g'`fordriverin$drivers;docase$driverin!*)val="no"driver=`echo$driver|cut-c2-`;;*)val="yes";;esaccase"$driver"inall)BECKMANNEGLE="yes"BWCT="yes"CRYSTALFONTZ="yes"CURSES="yes"CWLINUX="yes"G15="yes"HD44780="yes"LCD2USB="yes"LCDLINUX="yes"LCDTERM="yes"LEDMATRIX="yes"LPH7508="yes"LUISE="yes"M50530="yes"MATRIXORBITAL="yes"MILINST="yes"NORITAKE="yes"NULL="yes"PNG="yes"PPM="yes"ROUTERBOARD="yes"SAMPLE="yes"SERDISPLIB="yes"SIMPLELCD="yes"T6963="yes"Trefon="yes"USBLCD="yes"WINCORNIXDORF="yes"X11="yes";;BeckmannEgle)BECKMANNEGLE=$val;;BWCT)BWCT=$val;;CrystalFontz)CRYSTALFONTZ=$val;;Curses)CURSES=$val;;Cwlinux)CWLINUX=$val;;G15)G15=$val;;HD44780)HD44780=$val;;LCD2USB)LCD2USB=$val;;LCDLinux)LCDLINUX=$val;;LCDTerm)LCDTERM=$val;;LEDMatrix)LEDMATRIX=$val;;LPH7508)LPH7508=$val;;LUIse)LUISE=$val;;M50530)M50530=$val;;MatrixOrbital)MATRIXORBITAL=$val;;MilfordInstruments)MILINST=$val;;Noritake)NORITAKE=$val;;;NULL)NULL=$val;;;PNG)PNG=$val;;PPM)PPM=$val;;RouterBoard)ROUTERBOARD=$val;;Sample)SAMPLE=$val;;serdisplib)SERDISPLIB=$val;;;SimpleLCD)SIMPLELCD=$val;;T6963)T6963=$val;;Trefon)Trefon=$val;;USBLCD)USBLCD=$val;;WincorNixdorf)WINCORNIXDORF=$val;;X11)X11=$val;;*){{echo"$as_me:$LINENO: error: Unknown driver '$driver'">&5echo"$as_me: error: Unknown driver '$driver'">&2;}{(exit1);exit1;};};;esacdoneecho"$as_me:$LINENO: result: done">&5echo"${ECHO_T}done">&6# generic display driversTEXT="no"GRAPHIC="no"IMAGE="no"GPIO="no"# generiv I/O driversPARPORT="no"SERIAL="no"I2C="no"KEYPAD="no"# generic librariesLIBUSB="no"iftest"$BECKMANNEGLE"="yes";thenTEXT="yes"GPIO="yes"SERIAL="yes"DRIVERS="$DRIVERS drv_BeckmannEgle.o"
cat>>confdefs.h<<\_ACEOF#define WITH_BECKMANNEGLE 1_ACEOFfiiftest"$BWCT"="yes";theniftest"$has_usb"="true";thenTEXT="yes"DRIVERS="$DRIVERS drv_BWCT.o"LIBUSB="yes"
cat>>confdefs.h<<\_ACEOF#define WITH_BWCT 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: usb.h not found: BWCT driver disabled">&5echo"$as_me: WARNING: usb.h not found: BWCT driver disabled">&2;}fifiiftest"$CRYSTALFONTZ"="yes";thenTEXT="yes"GPIO="yes"SERIAL="yes"KEYPAD="yes"DRIVERS="$DRIVERS drv_Crystalfontz.o"
cat>>confdefs.h<<\_ACEOF#define WITH_CRYSTALFONTZ 1_ACEOFfiiftest"$CURSES"="yes";theniftest"$has_curses"=true;thenTEXT="yes"DRIVERS="$DRIVERS drv_Curses.o"DRVLIBS="$DRVLIBS$CURSES_LIBS"CPPFLAGS="$CPPFLAGS$CURSES_INCLUDES"
cat>>confdefs.h<<\_ACEOF#define WITH_CURSES 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: curses not found: Curses driver disabled">&5echo"$as_me: WARNING: curses not found: Curses driver disabled">&2;}fifiiftest"$CWLINUX"="yes";thenTEXT="yes"GPIO="yes"SERIAL="yes"DRIVERS="$DRIVERS drv_Cwlinux.o"
cat>>confdefs.h<<\_ACEOF#define WITH_CWLINUX 1_ACEOFfiiftest"$G15"="yes";theniftest"$has_usb"="true";thenGRAPHIC="yes"LIBUSB="yes"DRIVERS="$DRIVERS drv_G15.o"
cat>>confdefs.h<<\_ACEOF#define WITH_G15 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: usb.h not found: G15 driver disabled">&5echo"$as_me: WARNING: usb.h not found: G15 driver disabled">&2;}fifiiftest"$HD44780"="yes";thenTEXT="yes"PARPORT="yes"I2C="yes"GPIO="yes"DRIVERS="$DRIVERS drv_HD44780.o"
cat>>confdefs.h<<\_ACEOF#define WITH_HD44780 1_ACEOFfiiftest"$LCD2USB"="yes";theniftest"$has_usb"="true";thenTEXT="yes"SERIAL="yes"DRIVERS="$DRIVERS drv_LCD2USB.o"LIBUSB="yes"
cat>>confdefs.h<<\_ACEOF#define WITH_LCD2USB 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: usb.h not found: LCD2USB driver disabled">&5echo"$as_me: WARNING: usb.h not found: LCD2USB driver disabled">&2;}fifiiftest"$LCDLINUX"="yes";theniftest"$has_lcd_linux"=true;thenTEXT="yes"DRIVERS="$DRIVERS drv_LCDLinux.o"
cat>>confdefs.h<<\_ACEOF#define WITH_LCDLINUX 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: linux/lcd-linux.h or linux/hd44780.h not found: LCD-Linux driver disabled">&5echo"$as_me: WARNING: linux/lcd-linux.h or linux/hd44780.h not found: LCD-Linux driver disabled">&2;}fifiiftest"$LCDTERM"="yes";thenTEXT="yes"SERIAL="yes"DRIVERS="$DRIVERS drv_LCDTerm.o"
cat>>confdefs.h<<\_ACEOF#define WITH_LCDTERM 1_ACEOFfiiftest"$LEDMATRIX"="yes";thenGRAPHICS="yes"DRIVERS="$DRIVERS drv_LEDMatrix.o"
cat>>confdefs.h<<\_ACEOF#define WITH_LEDMATRIX 1_ACEOFfiiftest"$LPH7508"="yes";thenGRAPHICS="yes"GPIO="yes"PARPORT="yes"DRIVERS="$DRIVERS drv_LPH7508.o"
cat>>confdefs.h<<\_ACEOF#define WITH_LPH7508 1_ACEOFfiiftest"$LUISE"="yes";theniftest"$has_luise"="true";thenGRAPHIC="yes"DRIVERS="$DRIVERS drv_LUIse.o"DRVLIBS="$DRVLIBS -L/usr/local/lib -lluise"
cat>>confdefs.h<<\_ACEOF#define WITH_LUISE 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: luise.h not found: LUIse driver disabled">&5echo"$as_me: WARNING: luise.h not found: LUIse driver disabled">&2;}fifiiftest"$M50530"="yes";thenTEXT="yes"GPIO="yes"PARPORT="yes"DRIVERS="$DRIVERS drv_M50530.o"
cat>>confdefs.h<<\_ACEOF#define WITH_M50530 1_ACEOFfiiftest"$MATRIXORBITAL"="yes";thenTEXT="yes"GPIO="yes"SERIAL="yes"DRIVERS="$DRIVERS drv_MatrixOrbital.o"
cat>>confdefs.h<<\_ACEOF#define WITH_MATRIXORBITAL 1_ACEOFfiiftest"$MILINST"="yes";thenTEXT="yes"SERIAL="yes"DRIVERS="$DRIVERS drv_MilfordInstruments.o"
cat>>confdefs.h<<\_ACEOF#define WITH_MILINST 1_ACEOFfiiftest"$NORITAKE"="yes";thenTEXT="yes"GRAPHIC="yes"PARPORT="yes"DRIVERS="$DRIVERS drv_Noritake.o"
cat>>confdefs.h<<\_ACEOF#define WITH_NORITAKE 1_ACEOFfiiftest"$NULL"="yes";thenDRIVERS="$DRIVERS drv_NULL.o"
cat>>confdefs.h<<\_ACEOF#define WITH_NULL 1_ACEOFfiiftest"$PNG"="yes";theniftest"$has_gd"="true";thenIMAGE="yes"
cat>>confdefs.h<<\_ACEOF#define WITH_PNG 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: gd.h not found: PNG driver disabled">&5echo"$as_me: WARNING: gd.h not found: PNG driver disabled">&2;}fifiiftest"$PPM"="yes";thenIMAGE="yes"
cat>>confdefs.h<<\_ACEOF#define WITH_PPM 1_ACEOFfiiftest"$ROUTERBOARD"="yes";thenTEXT="yes"GPIO="yes"DRIVERS="$DRIVERS drv_RouterBoard.o"
cat>>confdefs.h<<\_ACEOF#define WITH_ROUTERBOARD 1_ACEOFfiiftest"$SAMPLE"="yes";then# select either text or graphics modeTEXT="yes"GRAPHIC="yes"# support for GPIO'sGPIO="yes"# select bus: serial (including USB), parallel or i2cSERIAL="yes"PARPORT="yes"#I2C="yes"DRIVERS="$DRIVERS drv_Sample.o"
cat>>confdefs.h<<\_ACEOF#define WITH_SAMPLE 1_ACEOFfiiftest"$SERDISPLIB"="yes";theniftest"$has_serdisplib"="true";thenGRAPHIC="yes"DRIVERS="$DRIVERS drv_serdisplib.o"DRVLIBS="$DRVLIBS -L/usr/local/lib -lserdisp"
cat>>confdefs.h<<\_ACEOF#define WITH_SERDISPLIB 1_ACEOFiftest"$has_usb"="true";thenLIBUSB="yes"fielse{echo"$as_me:$LINENO: WARNING: serdisp.h not found: serdisplib driver disabled">&5echo"$as_me: WARNING: serdisp.h not found: serdisplib driver disabled">&2;}fifiiftest"$SIMPLELCD"="yes";thenTEXT="yes"SERIAL="yes"DRIVERS="$DRIVERS drv_SimpleLCD.o"
cat>>confdefs.h<<\_ACEOF#define WITH_SIMPLELCD 1_ACEOFfiiftest"$T6963"="yes";thenGRAPHIC="yes"PARPORT="yes"DRIVERS="$DRIVERS drv_T6963.o"
cat>>confdefs.h<<\_ACEOF#define WITH_T6963 1_ACEOFfiiftest"$Trefon"="yes";theniftest"$has_usb"="true";thenTEXT="yes"DRIVERS="$DRIVERS drv_Trefon.o"LIBUSB="yes"
cat>>confdefs.h<<\_ACEOF#define WITH_TREFON 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: usb.h not found: Trefon driver disabled">&5echo"$as_me: WARNING: usb.h not found: Trefon driver disabled">&2;}fifiiftest"$USBLCD"="yes";thenTEXT="yes"SERIAL="yes"DRIVERS="$DRIVERS drv_USBLCD.o"iftest"$has_usb"="true";thenLIBUSB="yes"fi
cat>>confdefs.h<<\_ACEOF#define WITH_USBLCD 1_ACEOFfiiftest"$WINCORNIXDORF"="yes";thenTEXT="yes"SERIAL="yes"DRIVERS="$DRIVERS drv_WincorNixdorf.o"
cat>>confdefs.h<<\_ACEOF#define WITH_WINCORNIXDORF 1_ACEOFfiiftest"$X11"="yes";theniftest"$no_x"="yes";then{echo"$as_me:$LINENO: WARNING: X11 headers or libraries not available: X11 driver disabled">&5echo"$as_me: WARNING: X11 headers or libraries not available: X11 driver disabled">&2;}elseGRAPHIC="yes"DRIVERS="$DRIVERS drv_X11.o"DRVLIBS="$DRVLIBS -L$ac_x_libraries -lX11"CPP_FLAGS="$CPPFLAGS$X_CFLAGS"
cat>>confdefs.h<<\_ACEOF#define WITH_X11 1_ACEOFfifiiftest"$DRIVERS"="";then{{echo"$as_me:$LINENO: error: You should activate at least one driver...">&5echo"$as_me: error: You should activate at least one driver...">&2;}{(exit1);exit1;};}fi# generic text driveriftest"$TEXT"="yes";thenDRIVERS="$DRIVERS drv_generic_text.o"fi# Image driveriftest"$IMAGE"="yes";thenGRAPHIC="yes"DRIVERS="$DRIVERS drv_Image.o"fi# generic graphic driveriftest"$GRAPHIC"="yes";thenDRIVERS="$DRIVERS drv_generic_graphic.o"iftest"$has_gd"="true";thenDRIVERS="$DRIVERS widget_image.o"DRVLIBS="$DRVLIBS -lgd"
cat>>confdefs.h<<\_ACEOF#define WITH_IMAGE 1_ACEOFfifi# generic GPIO driveriftest"$GPIO"="yes";thenDRIVERS="$DRIVERS drv_generic_gpio.o"fi# generic parport driveriftest"$PARPORT"="yes";thenDRIVERS="$DRIVERS drv_generic_parport.o"fi# generic serial driveriftest"$SERIAL"="yes";thenDRIVERS="$DRIVERS drv_generic_serial.o"fi# generic i2c driveriftest"$I2C"="yes";thenDRIVERS="$DRIVERS drv_generic_i2c.o"
cat>>confdefs.h<<\_ACEOF#define WITH_I2C 1_ACEOFfi# generic keypad driveriftest"$KEYPAD"="yes";thenDRIVERS="$DRIVERS drv_generic_keypad.o"fi# libusbiftest"$LIBUSB"="yes";thenDRVLIBS="$DRVLIBS -lusb"fi# pluginsecho"$as_me:$LINENO: checking which plugins to compile">&5echo$ECHO_N"checking which plugins to compile... $ECHO_C">&6# Check whether --with-plugins or --without-plugins was given.iftest"${with_plugins+set}"=set;thenwithval="$with_plugins"plugins=$withvalelseplugins=all
fi;plugins=`echo$plugins|sed's/,/ /g'`forpluginin$plugins;docase$pluginin!*)val="no"plugin=`echo$plugin|cut-c2-`;;*)val="yes";;esaccase"$plugin"inlist)echo"$as_me:$LINENO: result: TO BE DONE...">&5echo"${ECHO_T}TO BE DONE...">&6{{echo"$as_me:$LINENO: error: run ./configure --with-plugins=...">&5echo"$as_me: error: run ./configure --with-plugins=...">&2;}{(exit1);exit1;};};;all)PLUGIN_APM="yes"PLUGIN_CPUINFO="yes"PLUGIN_DISKSTATS="yes"PLUGIN_DVB="yes"PLUGIN_EXEC="yes"PLUGIN_FILE="yes"PLUGIN_I2C_SENSORS="yes"PLUGIN_IMON="yes"PLUGIN_ISDN="yes"PLUGIN_LOADAVG="yes"PLUGIN_MEMINFO="yes"PLUGIN_MPD="yes"PLUGIN_MYSQL="yes"PLUGIN_NETDEV="yes"PLUGIN_POP3="yes"PLUGIN_PPP="yes"PLUGIN_PROC_STAT="yes"PLUGIN_PYTHON=$with_pythonPLUGIN_SAMPLE="yes"PLUGIN_SETI="yes"PLUGIN_STATFS="yes"PLUGIN_UNAME="yes"PLUGIN_UPTIME="yes"PLUGIN_WIRELESS="yes"PLUGIN_XMMS="yes";;apm)PLUGIN_APM=$val;;cpuinfo)PLUGIN_CPUINFO=$val;;diskstats)PLUGIN_DISKSTATS=$val;;dvb)PLUGIN_DVB=$val;;exec)PLUGIN_EXEC=$val;;file)PLUGIN_FILE=$val;;i2c_sensors)PLUGIN_I2C_SENSORS=$val;;imon)PLUGIN_IMON=$val;;isdn)PLUGIN_ISDN=$val;;loadavg)PLUGIN_LOADAVG=$val;;meminfo)PLUGIN_MEMINFO=$val;;mpd)PLUGIN_MPD=$val;;mysql)PLUGIN_MYSQL=$val;;netdev)PLUGIN_NETDEV=$val;;pop3)PLUGIN_POP3=$val;;ppp)PLUGIN_PPP=$val;;proc_stat)PLUGIN_PROC_STAT=$val;;python)PLUGIN_PYTHON=$val;;sample)PLUGIN_SAMPLE=$val;;seti)PLUGIN_SETI=$val;;statfs)PLUGIN_STATFS=$val;;uname)PLUGIN_UNAME=$val;;uptime)PLUGIN_UPTIME=$val;;wireless)PLUGIN_WIRELESS=$val;;xmms)PLUGIN_XMMS=$val;;*){{echo"$as_me:$LINENO: error: Unknown plugin '$plugin'">&5echo"$as_me: error: Unknown plugin '$plugin'">&2;}{(exit1);exit1;};};;esacdoneecho"$as_me:$LINENO: result: done">&5echo"${ECHO_T}done">&6iftest"$PLUGIN_APM"="yes";thenPLUGINS="$PLUGINS plugin_apm.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_APM 1_ACEOFfiiftest"$PLUGIN_CPUINFO"="yes";thenPLUGINS="$PLUGINS plugin_cpuinfo.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_CPUINFO 1_ACEOFfiiftest"$PLUGIN_DISKSTATS"="yes";thenPLUGINS="$PLUGINS plugin_diskstats.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_DISKSTATS 1_ACEOFfiiftest"$PLUGIN_DVB"="yes";thenforac_headerinlinux/dvb/frontend.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_dvb_header="true"elsehas_dvb_header="false"fidoneiftest"$has_dvb_header"="true";thenPLUGINS="$PLUGINS plugin_dvb.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_DVB 1_ACEOFelsePLUGINS="$PLUGINS plugin_dvb.o"{echo"$as_me:$LINENO: WARNING: linux/dvb/frontend.h header not found: using ioctl">&5echo"$as_me: WARNING: linux/dvb/frontend.h header not found: using ioctl">&2;}fifiiftest"$PLUGIN_EXEC"="yes";thenPLUGINS="$PLUGINS plugin_exec.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_EXEC 1_ACEOFfiiftest"$PLUGIN_FILE"="yes";thenPLUGINS="$PLUGINS plugin_file.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_FILE 1_ACEOFfiiftest"$PLUGIN_I2C_SENSORS"="yes";thenPLUGINS="$PLUGINS plugin_i2c_sensors.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_I2C_SENSORS 1_ACEOFfiiftest"$PLUGIN_IMON"="yes";thenPLUGINS="$PLUGINS plugin_imon.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_IMON 1_ACEOFfiiftest"$PLUGIN_ISDN"="yes";thenforac_headerinlinux/isdn.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_isdn_header="true"elsehas_isdn_header="false"fidoneiftest"$has_dvb_header"="false";then{echo"$as_me:$LINENO: WARNING: linux/isdn.h header not found: isdn plugin CPS disabled">&5echo"$as_me: WARNING: linux/isdn.h header not found: isdn plugin CPS disabled">&2;}fiPLUGINS="$PLUGINS plugin_isdn.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_ISDN 1_ACEOFfiiftest"$PLUGIN_LOADAVG"="yes";thenPLUGINS="$PLUGINS plugin_loadavg.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_LOADAVG 1_ACEOFfiiftest"$PLUGIN_MEMINFO"="yes";thenPLUGINS="$PLUGINS plugin_meminfo.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_MEMINFO 1_ACEOFfiiftest"$PLUGIN_MPD"="yes";thenforac_headerinlibmpd/libmpd.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_libmpd_header="true"elsehas_libmpd_header="false"fidoneiftest"$has_libmpd_header"="true";thenecho"$as_me:$LINENO: checking for mpd_connect in -lmpd">&5echo$ECHO_N"checking for mpd_connect in -lmpd... $ECHO_C">&6iftest"${ac_cv_lib_mpd_mpd_connect+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lmpd $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char mpd_connect ();intmain (){mpd_connect (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_mpd_mpd_connect=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_mpd_mpd_connect=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_mpd_mpd_connect">&5echo"${ECHO_T}$ac_cv_lib_mpd_mpd_connect">&6iftest$ac_cv_lib_mpd_mpd_connect=yes;thenhas_libmpd_lib="true"elsehas_libmpd_lib="false"fiiftest"$has_libmpd_lib"="true";thenPLUGINS="$PLUGINS plugin_mpd.o"PLUGINLIBS="$PLUGINLIBS -lmpd"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_MPD 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: libmpd lib not found: mpd plugin disabled">&5echo"$as_me: WARNING: libmpd lib not found: mpd plugin disabled">&2;}fielse{echo"$as_me:$LINENO: WARNING: libmpd/libmpd.h header not found: mpd plugin disabled">&5echo"$as_me: WARNING: libmpd/libmpd.h header not found: mpd plugin disabled">&2;}fifiiftest"$PLUGIN_MYSQL"="yes";thenforac_headerinmysql/mysql.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_mysql_header="true"elsehas_mysql_header="false"fidoneiftest"$has_mysql_header"="true";thenecho"$as_me:$LINENO: checking for mysql_init in -lmysqlclient">&5echo$ECHO_N"checking for mysql_init in -lmysqlclient... $ECHO_C">&6iftest"${ac_cv_lib_mysqlclient_mysql_init+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lmysqlclient $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char mysql_init ();intmain (){mysql_init (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_mysqlclient_mysql_init=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_mysqlclient_mysql_init=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_mysql_init">&5echo"${ECHO_T}$ac_cv_lib_mysqlclient_mysql_init">&6iftest$ac_cv_lib_mysqlclient_mysql_init=yes;thenhas_mysql_lib="true"elsehas_mysql_lib="false"fiiftest"$has_mysql_lib"="true";thenPLUGINS="$PLUGINS plugin_mysql.o"PLUGINLIBS="$PLUGINLIBS -lmysqlclient"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_MYSQL 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: mysqlclient lib not found: mysql plugin disabled">&5echo"$as_me: WARNING: mysqlclient lib not found: mysql plugin disabled">&2;}fielse{echo"$as_me:$LINENO: WARNING: mysql/mysql.h header not found: mysql plugin disabled">&5echo"$as_me: WARNING: mysql/mysql.h header not found: mysql plugin disabled">&2;}fifiiftest"$PLUGIN_NETDEV"="yes";thenPLUGINS="$PLUGINS plugin_netdev.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_NETDEV 1_ACEOFfiiftest"$PLUGIN_POP3"="yes";thenPLUGINS="$PLUGINS plugin_pop3.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_POP3 1_ACEOFfiiftest"$PLUGIN_PPP"="yes";thenforac_headerinnet/if_ppp.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFhas_ppp_header="true"elsehas_ppp_header="false"fidoneiftest"$has_ppp_header"="true";thenPLUGINS="$PLUGINS plugin_ppp.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_PPP 1_ACEOFelse{echo"$as_me:$LINENO: WARNING: net/if_ppp.h header not found: ppp plugin disabled">&5echo"$as_me: WARNING: net/if_ppp.h header not found: ppp plugin disabled">&2;}fifiiftest"$PLUGIN_PROC_STAT"="yes";thenPLUGINS="$PLUGINS plugin_proc_stat.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_PROC_STAT 1_ACEOFfiiftest"$PLUGIN_PYTHON"="yes";theniftest"$with_python"!="yes";then{echo"$as_me:$LINENO: WARNING: python support not enabled: python plugin disabled (use --with-python to enable)">&5echo"$as_me: WARNING: python support not enabled: python plugin disabled (use --with-python to enable)">&2;}elseiftest-z"$python_path";then{echo"$as_me:$LINENO: WARNING: python headers not found: python plugin disabled">&5echo"$as_me: WARNING: python headers not found: python plugin disabled">&2;}elsePLUGINS="$PLUGINS plugin_python.o"CPPFLAGS="$CPPFLAGS$PYTHON_CPPFLAGS"PLUGINLIBS="$PLUGINLIBS$PYTHON_LDFLAGS$PYTHON_EXTRA_LIBS"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_PYTHON 1_ACEOFfififiiftest"$PLUGIN_SAMPLE"="yes";thenPLUGINS="$PLUGINS plugin_sample.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_SAMPLE 1_ACEOFfiiftest"$PLUGIN_SETI"="yes";thenPLUGINS="$PLUGINS plugin_seti.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_SETI 1_ACEOFfiiftest"$PLUGIN_STATFS"="yes";thenPLUGINS="$PLUGINS plugin_statfs.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_STATFS 1_ACEOFfiiftest"$PLUGIN_UNAME"="yes";thenPLUGINS="$PLUGINS plugin_uname.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_UNAME 1_ACEOFfiiftest"$PLUGIN_UPTIME"="yes";thenPLUGINS="$PLUGINS plugin_uptime.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_UPTIME 1_ACEOFfiiftest"$PLUGIN_WIRELESS"="yes";thenPLUGINS="$PLUGINS plugin_wireless.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_WIRELESS 1_ACEOFfiiftest"$PLUGIN_XMMS"="yes";thenPLUGINS="$PLUGINS plugin_xmms.o"
cat>>confdefs.h<<\_ACEOF#define PLUGIN_XMMS 1_ACEOFfi#if test "$PLUGIN_" = "yes"; then# PLUGINS="$PLUGINS plugin_.o"# AC_DEFINE(PLUGIN_,1,[plugin])#fiiftest"$PLUGINS"="";then{{echo"$as_me:$LINENO: error: You should include at least one plugin...">&5echo"$as_me: error: You should include at least one plugin...">&2;}{(exit1);exit1;};}#else# AC_MSG_ERROR($PLUGINS)fi# Checks for header files.ac_header_dirent=no
forac_hdrindirent.hsys/ndir.hsys/dir.hndir.h;doas_ac_Header=`echo"ac_cv_header_dirent_$ac_hdr"|$as_tr_sh`echo"$as_me:$LINENO: checking for $ac_hdr that defines DIR">&5echo$ECHO_N"checking for $ac_hdr that defines DIR... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <sys/types.h>#include <$ac_hdr>intmain (){if ((DIR *) 0)return 0; ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};theneval"$as_ac_Header=yes"elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5eval"$as_ac_Header=no"fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6iftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1_ACEOFac_header_dirent=$ac_hdr;breakfidone# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.iftest$ac_header_dirent=dirent.h;thenecho"$as_me:$LINENO: checking for library containing opendir">&5echo$ECHO_N"checking for library containing opendir... $ECHO_C">&6iftest"${ac_cv_search_opendir+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_func_search_save_LIBS=$LIBSac_cv_search_opendir=no
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char opendir ();intmain (){opendir (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_search_opendir="none required"elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extiftest"$ac_cv_search_opendir"=no;thenforac_libindir;doLIBS="-l$ac_lib$ac_func_search_save_LIBS"cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char opendir ();intmain (){opendir (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_search_opendir="-l$ac_lib"breakelseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extdonefiLIBS=$ac_func_search_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_search_opendir">&5echo"${ECHO_T}$ac_cv_search_opendir">&6iftest"$ac_cv_search_opendir"!=no;thentest"$ac_cv_search_opendir"="none required"||LIBS="$ac_cv_search_opendir$LIBS"fielseecho"$as_me:$LINENO: checking for library containing opendir">&5echo$ECHO_N"checking for library containing opendir... $ECHO_C">&6iftest"${ac_cv_search_opendir+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_func_search_save_LIBS=$LIBSac_cv_search_opendir=no
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char opendir ();intmain (){opendir (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_search_opendir="none required"elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extiftest"$ac_cv_search_opendir"=no;thenforac_libinx;doLIBS="-l$ac_lib$ac_func_search_save_LIBS"cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char opendir ();intmain (){opendir (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_search_opendir="-l$ac_lib"breakelseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extdonefiLIBS=$ac_func_search_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_search_opendir">&5echo"${ECHO_T}$ac_cv_search_opendir">&6iftest"$ac_cv_search_opendir"!=no;thentest"$ac_cv_search_opendir"="none required"||LIBS="$ac_cv_search_opendir$LIBS"fifiecho"$as_me:$LINENO: checking for ANSI C header files">&5echo$ECHO_N"checking for ANSI C header files... $ECHO_C">&6iftest"${ac_cv_header_stdc+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>intmain (){ ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_header_stdc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_header_stdc=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extiftest$ac_cv_header_stdc=yes;then# SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <string.h>_ACEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|$EGREP"memchr">/dev/null2>&1;then:
elseac_cv_header_stdc=no
fi
rm-fconftest*
fiiftest$ac_cv_header_stdc=yes;then# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <stdlib.h>_ACEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|$EGREP"free">/dev/null2>&1;then:
elseac_cv_header_stdc=no
fi
rm-fconftest*
fiiftest$ac_cv_header_stdc=yes;then# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.iftest"$cross_compiling"=yes;then:
elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <ctype.h>#if ((' ' & 0x0FF) == 0x020)# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#else# define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z'))# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))#endif#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))intmain (){ int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0);}_ACEOF
rm-fconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='./conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};then:
elseecho"$as_me: program exited with status $ac_status">&5echo"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5(exit$ac_status)ac_cv_header_stdc=no
fi
rm-fcore*.coregmon.outbb.outconftest$ac_exeextconftest.$ac_objextconftest.$ac_extfififiecho"$as_me:$LINENO: result: $ac_cv_header_stdc">&5echo"${ECHO_T}$ac_cv_header_stdc">&6iftest$ac_cv_header_stdc=yes;then
cat>>confdefs.h<<\_ACEOF#define STDC_HEADERS 1_ACEOFfiforac_headerinarpa/inet.hfcntl.hnetdb.hnetinet/in.hstdlib.hstring.hsys/ioctl.hsys/socket.hsys/time.hsys/vfs.hsyslog.htermios.hunistd.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFfidoneforac_headerinsys/io.hasm/io.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFfidoneforac_headerinlinux/parport.hlinux/ppdev.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFfidoneforac_headerinasm/msr.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFfidone# Checks for typedefs, structures, and compiler characteristics.echo"$as_me:$LINENO: checking for an ANSI C-conforming const">&5echo$ECHO_N"checking for an ANSI C-conforming const... $ECHO_C">&6iftest"${ac_cv_c_const+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */intmain (){/* FIXME: Include the comments suggested by Paul. */#ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; }#endif ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_c_const=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_c_const=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_c_const">&5echo"${ECHO_T}$ac_cv_c_const">&6iftest$ac_cv_c_const=no;then
cat>>confdefs.h<<\_ACEOF#define const_ACEOFfiecho"$as_me:$LINENO: checking for inline">&5echo$ECHO_N"checking for inline... $ECHO_C">&6iftest"${ac_cv_c_inline+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_cv_c_inline=no
forac_kwininline__inline____inline;docat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#ifndef __cplusplustypedef int foo_t;static $ac_kw foo_t static_foo () {return 0; }$ac_kw foo_t foo () {return 0; }#endif_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_c_inline=$ac_kw;breakelseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extdonefiecho"$as_me:$LINENO: result: $ac_cv_c_inline">&5echo"${ECHO_T}$ac_cv_c_inline">&6case$ac_cv_c_inlineininline|yes);;*)case$ac_cv_c_inlineinno)ac_val=;;*)ac_val=$ac_cv_c_inline;;esaccat>>confdefs.h<<_ACEOF#ifndef __cplusplus#define inline $ac_val#endif_ACEOF;;esacecho"$as_me:$LINENO: checking for off_t">&5echo$ECHO_N"checking for off_t... $ECHO_C">&6iftest"${ac_cv_type_off_t+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((off_t *) 0) return 0;if (sizeof (off_t)) return 0; ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_type_off_t=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_type_off_t=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_type_off_t">&5echo"${ECHO_T}$ac_cv_type_off_t">&6iftest$ac_cv_type_off_t=yes;then:
else
cat>>confdefs.h<<_ACEOF#define off_t long_ACEOFfiecho"$as_me:$LINENO: checking for pid_t">&5echo$ECHO_N"checking for pid_t... $ECHO_C">&6iftest"${ac_cv_type_pid_t+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((pid_t *) 0) return 0;if (sizeof (pid_t)) return 0; ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_type_pid_t=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_type_pid_t=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_type_pid_t">&5echo"${ECHO_T}$ac_cv_type_pid_t">&6iftest$ac_cv_type_pid_t=yes;then:
else
cat>>confdefs.h<<_ACEOF#define pid_t int_ACEOFfiecho"$as_me:$LINENO: checking for size_t">&5echo$ECHO_N"checking for size_t... $ECHO_C">&6iftest"${ac_cv_type_size_t+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){if ((size_t *) 0) return 0;if (sizeof (size_t)) return 0; ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_type_size_t=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_type_size_t=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_type_size_t">&5echo"${ECHO_T}$ac_cv_type_size_t">&6iftest$ac_cv_type_size_t=yes;then:
else
cat>>confdefs.h<<_ACEOF#define size_t unsigned_ACEOFfi
AC_TYPE_SSIZE_T
echo"$as_me:$LINENO: checking whether time.h and sys/time.h may both be included">&5echo$ECHO_N"checking whether time.h and sys/time.h may both be included... $ECHO_C">&6iftest"${ac_cv_header_time+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <sys/types.h>#include <sys/time.h>#include <time.h>intmain (){if ((struct tm *) 0)return 0; ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_header_time=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_header_time=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_header_time">&5echo"${ECHO_T}$ac_cv_header_time">&6iftest$ac_cv_header_time=yes;then
cat>>confdefs.h<<\_ACEOF#define TIME_WITH_SYS_TIME 1_ACEOFfiecho"$as_me:$LINENO: checking for uid_t in sys/types.h">&5echo$ECHO_N"checking for uid_t in sys/types.h... $ECHO_C">&6iftest"${ac_cv_type_uid_t+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <sys/types.h>_ACEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|$EGREP"uid_t">/dev/null2>&1;thenac_cv_type_uid_t=yes
elseac_cv_type_uid_t=no
fi
rm-fconftest*
fiecho"$as_me:$LINENO: result: $ac_cv_type_uid_t">&5echo"${ECHO_T}$ac_cv_type_uid_t">&6iftest$ac_cv_type_uid_t=no;then
cat>>confdefs.h<<\_ACEOF#define uid_t int_ACEOF
cat>>confdefs.h<<\_ACEOF#define gid_t int_ACEOFfi# Checks for library functions.echo"$as_me:$LINENO: checking whether closedir returns void">&5echo$ECHO_N"checking whether closedir returns void... $ECHO_C">&6iftest"${ac_cv_func_closedir_void+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest"$cross_compiling"=yes;thenac_cv_func_closedir_void=yes
elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header_dirent>#ifndef __cplusplusint closedir ();#endifintmain (){exit (closedir (opendir (".")) != 0); ; return 0;}_ACEOF
rm-fconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='./conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_closedir_void=no
elseecho"$as_me: program exited with status $ac_status">&5echo"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5(exit$ac_status)ac_cv_func_closedir_void=yes
fi
rm-fcore*.coregmon.outbb.outconftest$ac_exeextconftest.$ac_objextconftest.$ac_extfifiecho"$as_me:$LINENO: result: $ac_cv_func_closedir_void">&5echo"${ECHO_T}$ac_cv_func_closedir_void">&6iftest$ac_cv_func_closedir_void=yes;then
cat>>confdefs.h<<\_ACEOF#define CLOSEDIR_VOID 1_ACEOFfiecho"$as_me:$LINENO: checking for error_at_line">&5echo$ECHO_N"checking for error_at_line... $ECHO_C">&6iftest"${ac_cv_lib_error_at_line+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){error_at_line (0, 0, "", 0, ""); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_error_at_line=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_error_at_line=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_lib_error_at_line">&5echo"${ECHO_T}$ac_cv_lib_error_at_line">&6iftest$ac_cv_lib_error_at_line=no;thencase$LIBOBJSin"error.$ac_objext"|\*" error.$ac_objext"|\"error.$ac_objext "*|\*" error.$ac_objext "*);;*)LIBOBJS="$LIBOBJS error.$ac_objext";;esacfiforac_headerinunistd.hvfork.h
doas_ac_Header=`echo"ac_cv_header_$ac_header"|$as_tr_sh`ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6else# Is the header compilable?echo"$as_me:$LINENO: checking $ac_header usability">&5echo$ECHO_N"checking $ac_header usability... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_default#include <$ac_header>_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_header_compiler=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_compiler=no
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_compiler">&5echo"${ECHO_T}$ac_header_compiler">&6# Is the header present?echo"$as_me:$LINENO: checking $ac_header presence">&5echo$ECHO_N"checking $ac_header presence... $ECHO_C">&6
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <$ac_header>_ACEOFif{(evalecho"$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"")>&5(eval$ac_cppconftest.$ac_ext)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}>/dev/null;theniftest-sconftest.err;thenac_cpp_err=$ac_c_preproc_warn_flagac_cpp_err=$ac_cpp_err$ac_c_werror_flagelseac_cpp_err=fielseac_cpp_err=yes
fiiftest-z"$ac_cpp_err";thenac_header_preproc=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_header_preproc=no
fi
rm-fconftest.errconftest.$ac_extecho"$as_me:$LINENO: result: $ac_header_preproc">&5echo"${ECHO_T}$ac_header_preproc">&6# So? What about this header?case$ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flaginyes:no:){echo"$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&5echo"$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the compiler's result">&2;}ac_header_preproc=yes
;;no:yes:*){echo"$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled">&5echo"$as_me: WARNING: $ac_header: present but cannot be compiled">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?">&5echo"$as_me: WARNING: $ac_header: check for missing prerequisite headers?">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation">&5echo"$as_me: WARNING: $ac_header: see the Autoconf documentation">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&5echo"$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result">&5echo"$as_me: WARNING: $ac_header: proceeding with the preprocessor's result">&2;}{echo"$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence">&5echo"$as_me: WARNING: $ac_header: in the future, the compiler will take precedence">&2;}(cat<<\_ASBOX## ---------------------------------------------------- #### Report this to lcd4linux-users@lists.sourceforge.net #### ---------------------------------------------------- ##_ASBOX)|sed"s/^/$as_me: WARNING: /">&2;;esacecho"$as_me:$LINENO: checking for $ac_header">&5echo$ECHO_N"checking for $ac_header... $ECHO_C">&6ifeval"test \"\${$as_ac_Header+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elseeval"$as_ac_Header=\$ac_header_preproc"fiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_Header'}'`">&6fiiftest`evalecho'${'$as_ac_Header'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1_ACEOFfidoneforac_funcinforkvfork
doas_ac_var=`echo"ac_cv_func_$ac_func"|$as_tr_sh`echo"$as_me:$LINENO: checking for $ac_func">&5echo$ECHO_N"checking for $ac_func... $ECHO_C">&6ifeval"test \"\${$as_ac_var+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. For example, HP-UX 11i <limits.h> declares gettimeofday. */#define $ac_func innocuous_$ac_func/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef $ac_func/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_$ac_func) || defined (__stub___$ac_func)choke me#elsechar (*f) () = $ac_func;#endif#ifdef __cplusplus}#endifintmain (){return f != $ac_func; ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};theneval"$as_ac_var=yes"elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5eval"$as_ac_var=no"fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_var'}'`">&6iftest`evalecho'${'$as_ac_var'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1_ACEOFfidoneiftest"x$ac_cv_func_fork"=xyes;thenecho"$as_me:$LINENO: checking for working fork">&5echo$ECHO_N"checking for working fork... $ECHO_C">&6iftest"${ac_cv_func_fork_works+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest"$cross_compiling"=yes;thenac_cv_func_fork_works=cross
elsecat>conftest.$ac_ext<<_ACEOF/* By Ruediger Kuhlmann. */ #include <sys/types.h> #if HAVE_UNISTD_H # include <unistd.h> #endif /* Some systems only have a dummy stub for fork() */ int main () { if (fork() < 0) exit (1); exit (0); }_ACEOF
rm-fconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='./conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_fork_works=yes
elseecho"$as_me: program exited with status $ac_status">&5echo"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5(exit$ac_status)ac_cv_func_fork_works=no
fi
rm-fcore*.coregmon.outbb.outconftest$ac_exeextconftest.$ac_objextconftest.$ac_extfifiecho"$as_me:$LINENO: result: $ac_cv_func_fork_works">&5echo"${ECHO_T}$ac_cv_func_fork_works">&6elseac_cv_func_fork_works=$ac_cv_func_forkfiiftest"x$ac_cv_func_fork_works"=xcross;thencase$hostin*-*-amigaos*|*-*-msdosdjgpp*)# Override, as these systems have only a dummy fork() stubac_cv_func_fork_works=no
;;*)ac_cv_func_fork_works=yes
;;esac{echo"$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation">&5echo"$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation">&2;}fiac_cv_func_vfork_works=$ac_cv_func_vforkiftest"x$ac_cv_func_vfork"=xyes;thenecho"$as_me:$LINENO: checking for working vfork">&5echo$ECHO_N"checking for working vfork... $ECHO_C">&6iftest"${ac_cv_func_vfork_works+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest"$cross_compiling"=yes;thenac_cv_func_vfork_works=cross
elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Thanks to Paul Eggert for this test. */#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/wait.h>#if HAVE_UNISTD_H# include <unistd.h>#endif#if HAVE_VFORK_H# include <vfork.h>#endif/* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include <vfork.h>, but some compilers (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */static void#ifdef __cplusplussparc_address_test (int arg)# elsesparc_address_test (arg) int arg;#endif{ static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } }}intmain (){ pid_t parent = getpid (); pid_t child; sparc_address_test (0); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; while (wait(&status) != child) ; exit( /* Was there some problem with vforking? */ child < 0 /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); }}_ACEOF
rm-fconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='./conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_vfork_works=yes
elseecho"$as_me: program exited with status $ac_status">&5echo"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5(exit$ac_status)ac_cv_func_vfork_works=no
fi
rm-fcore*.coregmon.outbb.outconftest$ac_exeextconftest.$ac_objextconftest.$ac_extfifiecho"$as_me:$LINENO: result: $ac_cv_func_vfork_works">&5echo"${ECHO_T}$ac_cv_func_vfork_works">&6fi;iftest"x$ac_cv_func_fork_works"=xcross;thenac_cv_func_vfork_works=$ac_cv_func_vfork{echo"$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation">&5echo"$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation">&2;}fiiftest"x$ac_cv_func_vfork_works"=xyes;then
cat>>confdefs.h<<\_ACEOF#define HAVE_WORKING_VFORK 1_ACEOFelse
cat>>confdefs.h<<\_ACEOF#define vfork fork_ACEOFfiiftest"x$ac_cv_func_fork_works"=xyes;then
cat>>confdefs.h<<\_ACEOF#define HAVE_WORKING_FORK 1_ACEOFfiiftest$ac_cv_c_compiler_gnu=yes;thenecho"$as_me:$LINENO: checking whether $CC needs -traditional">&5echo$ECHO_N"checking whether $CC needs -traditional... $ECHO_C">&6iftest"${ac_cv_prog_gcc_traditional+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_pattern="Autoconf.*'x'"cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <sgtty.h>Autoconf TIOCGETP_ACEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|$EGREP"$ac_pattern">/dev/null2>&1;thenac_cv_prog_gcc_traditional=yes
elseac_cv_prog_gcc_traditional=no
fi
rm-fconftest*
iftest$ac_cv_prog_gcc_traditional=no;thencat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <termio.h>Autoconf TCGETA_ACEOFif(eval"$ac_cpp conftest.$ac_ext")2>&5|$EGREP"$ac_pattern">/dev/null2>&1;thenac_cv_prog_gcc_traditional=yes
fi
rm-fconftest*
fifiecho"$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional">&5echo"${ECHO_T}$ac_cv_prog_gcc_traditional">&6iftest$ac_cv_prog_gcc_traditional=yes;thenCC="$CC -traditional"fifi# uClibc has no getloadavg()# AC_FUNC_GETLOADAVG sounds promising, but does not really work#AC_FUNC_GETLOADAVG#removed for uClibc compatibility#AC_FUNC_MALLOC#AC_FUNC_REALLOCecho"$as_me:$LINENO: checking return type of signal handlers">&5echo$ECHO_N"checking return type of signal handlers... $ECHO_C">&6iftest"${ac_cv_type_signal+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */#include <sys/types.h>#include <signal.h>#ifdef signal# undef signal#endif#ifdef __cplusplusextern "C" void (*signal (int, void (*)(int)))(int);#elsevoid (*signal ()) ();#endifintmain (){int i; ; return 0;}_ACEOF
rm-fconftest.$ac_objextif{(evalecho"$as_me:$LINENO: \"$ac_compile\"")>&5(eval$ac_compile)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest.$ac_objext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_type_signal=void
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_type_signal=int
fi
rm-fconftest.errconftest.$ac_objextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_type_signal">&5echo"${ECHO_T}$ac_cv_type_signal">&6
cat>>confdefs.h<<_ACEOF#define RETSIGTYPE $ac_cv_type_signal_ACEOFecho"$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash">&5echo$ECHO_N"checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C">&6iftest"${ac_cv_func_lstat_dereferences_slashed_symlink+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elserm-fconftest.symconftest.file
echo>conftest.file
iftest"$as_ln_s"="ln -s"&&ln-sconftest.fileconftest.sym;theniftest"$cross_compiling"=yes;thenac_cv_func_lstat_dereferences_slashed_symlink=no
elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){struct stat sbuf; /* Linux will dereference the symlink and fail. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); ; return 0;}_ACEOF
rm-fconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='./conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_lstat_dereferences_slashed_symlink=yes
elseecho"$as_me: program exited with status $ac_status">&5echo"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5(exit$ac_status)ac_cv_func_lstat_dereferences_slashed_symlink=no
fi
rm-fcore*.coregmon.outbb.outconftest$ac_exeextconftest.$ac_objextconftest.$ac_extfielse# If the `ln -s' command failed, then we probably don't even# have an lstat function.ac_cv_func_lstat_dereferences_slashed_symlink=no
fi
rm-fconftest.symconftest.file
fiecho"$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink">&5echo"${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink">&6test$ac_cv_func_lstat_dereferences_slashed_symlink=yes&&
cat>>confdefs.h<<_ACEOF#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1_ACEOFiftest$ac_cv_func_lstat_dereferences_slashed_symlink=no;thencase$LIBOBJSin"lstat.$ac_objext"|\*" lstat.$ac_objext"|\"lstat.$ac_objext "*|\*" lstat.$ac_objext "*);;*)LIBOBJS="$LIBOBJS lstat.$ac_objext";;esacfiecho"$as_me:$LINENO: checking whether stat accepts an empty string">&5echo$ECHO_N"checking whether stat accepts an empty string... $ECHO_C">&6iftest"${ac_cv_func_stat_empty_string_bug+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest"$cross_compiling"=yes;thenac_cv_func_stat_empty_string_bug=yes
elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */$ac_includes_defaultintmain (){struct stat sbuf; exit (stat ("", &sbuf) ? 1 : 0); ; return 0;}_ACEOF
rm-fconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='./conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_stat_empty_string_bug=yes
elseecho"$as_me: program exited with status $ac_status">&5echo"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5(exit$ac_status)ac_cv_func_stat_empty_string_bug=no
fi
rm-fcore*.coregmon.outbb.outconftest$ac_exeextconftest.$ac_objextconftest.$ac_extfifiecho"$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug">&5echo"${ECHO_T}$ac_cv_func_stat_empty_string_bug">&6iftest$ac_cv_func_stat_empty_string_bug=yes;thencase$LIBOBJSin"stat.$ac_objext"|\*" stat.$ac_objext"|\"stat.$ac_objext "*|\*" stat.$ac_objext "*);;*)LIBOBJS="$LIBOBJS stat.$ac_objext";;esac
cat>>confdefs.h<<_ACEOF#define HAVE_STAT_EMPTY_STRING_BUG 1_ACEOFfiforac_funcinstrftime
doas_ac_var=`echo"ac_cv_func_$ac_func"|$as_tr_sh`echo"$as_me:$LINENO: checking for $ac_func">&5echo$ECHO_N"checking for $ac_func... $ECHO_C">&6ifeval"test \"\${$as_ac_var+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. For example, HP-UX 11i <limits.h> declares gettimeofday. */#define $ac_func innocuous_$ac_func/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef $ac_func/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_$ac_func) || defined (__stub___$ac_func)choke me#elsechar (*f) () = $ac_func;#endif#ifdef __cplusplus}#endifintmain (){return f != $ac_func; ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};theneval"$as_ac_var=yes"elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5eval"$as_ac_var=no"fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_var'}'`">&6iftest`evalecho'${'$as_ac_var'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1_ACEOFelse# strftime is in -lintl on SCO UNIX.echo"$as_me:$LINENO: checking for strftime in -lintl">&5echo$ECHO_N"checking for strftime in -lintl... $ECHO_C">&6iftest"${ac_cv_lib_intl_strftime+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lintl $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char strftime ();intmain (){strftime (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_intl_strftime=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_intl_strftime=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_intl_strftime">&5echo"${ECHO_T}$ac_cv_lib_intl_strftime">&6iftest$ac_cv_lib_intl_strftime=yes;thencat>>confdefs.h<<\_ACEOF#define HAVE_STRFTIME 1_ACEOFLIBS="-lintl $LIBS"fifidoneecho"$as_me:$LINENO: checking for working strtod">&5echo$ECHO_N"checking for working strtod... $ECHO_C">&6iftest"${ac_cv_func_strtod+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseiftest"$cross_compiling"=yes;thenac_cv_func_strtod=no
elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. */double strtod ();intmain(){ { /* Some versions of Linux strtod mis-parse strings with leading '+'. */ char *string = " +69"; char *term; double value; value = strtod (string, &term); if (value != 69 || term != (string + 4)) exit (1); } { /* Under Solaris 2.4, strtod returns the wrong value for the terminating character under some conditions. */ char *string = "NaN"; char *term; strtod (string, &term); if (term != string && *(term - 1) == 0) exit (1); } exit (0);}_ACEOF
rm-fconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='./conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_strtod=yes
elseecho"$as_me: program exited with status $ac_status">&5echo"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5(exit$ac_status)ac_cv_func_strtod=no
fi
rm-fcore*.coregmon.outbb.outconftest$ac_exeextconftest.$ac_objextconftest.$ac_extfifiecho"$as_me:$LINENO: result: $ac_cv_func_strtod">&5echo"${ECHO_T}$ac_cv_func_strtod">&6iftest$ac_cv_func_strtod=no;thencase$LIBOBJSin"strtod.$ac_objext"|\*" strtod.$ac_objext"|\"strtod.$ac_objext "*|\*" strtod.$ac_objext "*);;*)LIBOBJS="$LIBOBJS strtod.$ac_objext";;esacecho"$as_me:$LINENO: checking for pow">&5echo$ECHO_N"checking for pow... $ECHO_C">&6iftest"${ac_cv_func_pow+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Define pow to an innocuous variant, in case <limits.h> declares pow. For example, HP-UX 11i <limits.h> declares gettimeofday. */#define pow innocuous_pow/* System header to define __stub macros and hopefully few prototypes, which can conflict with char pow (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef pow/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char pow ();/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_pow) || defined (__stub___pow)choke me#elsechar (*f) () = pow;#endif#ifdef __cplusplus}#endifintmain (){return f != pow; ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_func_pow=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_func_pow=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfiecho"$as_me:$LINENO: result: $ac_cv_func_pow">&5echo"${ECHO_T}$ac_cv_func_pow">&6iftest$ac_cv_func_pow=no;thenecho"$as_me:$LINENO: checking for pow in -lm">&5echo$ECHO_N"checking for pow in -lm... $ECHO_C">&6iftest"${ac_cv_lib_m_pow+set}"=set;thenecho$ECHO_N"(cached) $ECHO_C">&6elseac_check_lib_save_LIBS=$LIBSLIBS="-lm $LIBS"
cat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char pow ();intmain (){pow (); ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};thenac_cv_lib_m_pow=yes
elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5ac_cv_lib_m_pow=no
fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extLIBS=$ac_check_lib_save_LIBSfiecho"$as_me:$LINENO: result: $ac_cv_lib_m_pow">&5echo"${ECHO_T}$ac_cv_lib_m_pow">&6iftest$ac_cv_lib_m_pow=yes;thenPOW_LIB=-lm
else{echo"$as_me:$LINENO: WARNING: cannot find library containing definition of pow">&5echo"$as_me: WARNING: cannot find library containing definition of pow">&2;}fifififorac_funcindup2floorgethostbynamegettimeofdaymemsetpowputenvregcompsocketsqrtstrcasecmpstrchrstrcspnstrdupstrerrorstrncasecmpstrndupstrpbrkstrrchrstrstrstrtoluname
doas_ac_var=`echo"ac_cv_func_$ac_func"|$as_tr_sh`echo"$as_me:$LINENO: checking for $ac_func">&5echo$ECHO_N"checking for $ac_func... $ECHO_C">&6ifeval"test \"\${$as_ac_var+set}\" = set";thenecho$ECHO_N"(cached) $ECHO_C">&6elsecat>conftest.$ac_ext<<_ACEOF/* confdefs.h. */_ACEOF
catconfdefs.h>>conftest.$ac_ext
cat>>conftest.$ac_ext<<_ACEOF/* end confdefs.h. *//* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. For example, HP-UX 11i <limits.h> declares gettimeofday. */#define $ac_func innocuous_$ac_func/* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */#ifdef __STDC__# include <limits.h>#else# include <assert.h>#endif#undef $ac_func/* Override any gcc2 internal prototype to avoid an error. */#ifdef __cplusplusextern "C"{#endif/* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */char $ac_func ();/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_$ac_func) || defined (__stub___$ac_func)choke me#elsechar (*f) () = $ac_func;#endif#ifdef __cplusplus}#endifintmain (){return f != $ac_func; ; return 0;}_ACEOF
rm-fconftest.$ac_objextconftest$ac_exeextif{(evalecho"$as_me:$LINENO: \"$ac_link\"")>&5(eval$ac_link)2>conftest.er1
ac_status=$?grep-v'^ *+'conftest.er1>conftest.err
rm-fconftest.er1
catconftest.err>&5echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);}&&{ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};}&&{ac_try='test -s conftest$ac_exeext'{(evalecho"$as_me:$LINENO: \"$ac_try\"")>&5(eval$ac_try)2>&5ac_status=$?echo"$as_me:$LINENO: \$? = $ac_status">&5(exit$ac_status);};};theneval"$as_ac_var=yes"elseecho"$as_me: failed program was:">&5
sed's/^/| /'conftest.$ac_ext>&5eval"$as_ac_var=no"fi
rm-fconftest.errconftest.$ac_objext\conftest$ac_exeextconftest.$ac_extfiecho"$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`">&5echo"${ECHO_T}`eval echo '${'$as_ac_var'}'`">&6iftest`evalecho'${'$as_ac_var'}'`=yes;thencat>>confdefs.h<<_ACEOF#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1_ACEOFfidoneac_config_files="$ac_config_files Makefile"
cat>confcache<<\_ACEOF# This file is a shell script that caches the results of configure# tests run on this system so they can be shared between configure# scripts and configure runs, see configure's option --config-cache.# It is not useful on other systems. If it contains results you don't# want to keep, you may remove or edit it.## config.status only pays attention to the cache file if you give it# the --recheck option to rerun configure.## `ac_cv_env_foo' variables (set or unset) will be overridden when# loading this file, other *unset* `ac_cv_foo' will be assigned the# following values._ACEOF# The following way of writing the cache mishandles newlines in values,# but we know of no workaround that is simple, portable, and efficient.# So, don't put newlines in cache variables' values.# Ultrix sh set writes to stderr and can't be redirected directly,# and sets the high bit in the cache file unless we assign to the vars.{(set)2>&1|case`(ac_space=' ';set|grepac_space)2>&1`in*ac_space=\ *)# `set' does not quote correctly, so add quotes (double-quote# substitution turns \\\\ into \\, and sed turns \\ into \).sed-n\"s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p";;*)# `set' quotes correctly as required by POSIX, so do not add quotes.sed-n\"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p";;esac;}|sed' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end'>>confcache
ifdiff$cache_fileconfcache>/dev/null2>&1;then:;elseiftest-w$cache_file;thentest"x$cache_file"!="x/dev/null"&&echo"updating cache $cache_file"catconfcache>$cache_fileelseecho"not updating unwritable cache $cache_file"fifi
rm-fconfcache
test"x$prefix"=xNONE&&prefix=$ac_default_prefix# Let make expand exec_prefix.test"x$exec_prefix"=xNONE&&exec_prefix='${prefix}'# VPATH may cause trouble with some makes, so we remove $(srcdir),# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and# trailing colons and then remove the whole line if VPATH becomes empty# (actually we leave an empty line to preserve line numbers).iftest"x$srcdir"=x.;thenac_vpsub='/^[ ]*VPATH[ ]*=/{s/:*\$(srcdir):*/:/;s/:*\${srcdir}:*/:/;s/:*@srcdir@:*/:/;s/^\([^=]*=[ ]*\):*/\1/;s/:*$//;s/^[^=]*=[ ]*$//;}'fiDEFS=-DHAVE_CONFIG_H
ac_libobjs=ac_ltlibobjs=forac_iin:$LIBOBJS;dotest"x$ac_i"=x:&&continue# 1. Remove the extension, and $U if already installed.ac_i=`echo"$ac_i"|sed's/\$U\././;s/\.o$//;s/\.obj$//'`# 2. Add them.ac_libobjs="$ac_libobjs$ac_i\$U.$ac_objext"ac_ltlibobjs="$ac_ltlibobjs$ac_i"'$U.lo'doneLIBOBJS=$ac_libobjsLTLIBOBJS=$ac_ltlibobjsiftest-z"${AMDEP_TRUE}"&&test-z"${AMDEP_FALSE}";then{{echo"$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.Usually this means the macro was only invoked conditionally.">&5echo"$as_me: error: conditional \"AMDEP\" was never defined.Usually this means the macro was only invoked conditionally.">&2;}{(exit1);exit1;};}fiiftest-z"${am__fastdepCC_TRUE}"&&test-z"${am__fastdepCC_FALSE}";then{{echo"$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.Usually this means the macro was only invoked conditionally.">&5echo"$as_me: error: conditional \"am__fastdepCC\" was never defined.Usually this means the macro was only invoked conditionally.">&2;}{(exit1);exit1;};}fi
:${CONFIG_STATUS=./config.status}ac_clean_files_save=$ac_clean_filesac_clean_files="$ac_clean_files$CONFIG_STATUS"{echo"$as_me:$LINENO: creating $CONFIG_STATUS">&5echo"$as_me: creating $CONFIG_STATUS">&6;}
cat>$CONFIG_STATUS<<_ACEOF#! $SHELL# Generated by $as_me.# Run this file to recreate the current configuration.# Compiler output produced by configure, useful for debugging# configure, is in config.log if it exists.debug=falseac_cs_recheck=falseac_cs_silent=falseSHELL=\${CONFIG_SHELL-$SHELL}_ACEOF
cat>>$CONFIG_STATUS<<\_ACEOF## --------------------- #### M4sh Initialization. #### --------------------- ### Be Bourne compatibleif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"'elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posixfiDUALCASE=1; export DUALCASE # for MKS sh# Support unset when possible.if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unsetelse as_unset=falsefi# Work around bugs in pre-3.0 UWIN ksh.$as_unset ENV MAIL MAILPATHPS1='$ 'PS2='> 'PS4='+ '# NLS nuisances.for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIMEdo if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fidone# Required to use basename.if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=exprelse as_expr=falsefiif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then as_basename=basenameelse as_basename=falsefi# Name of the executable.as_me=`$as_basename "$0" ||$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null ||echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'`# PATH needs CR, and LINENO needs CR and PATH.# Avoid depending upon Character Ranges.as_cr_letters='abcdefghijklmnopqrstuvwxyz'as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'as_cr_Letters=$as_cr_letters$as_cr_LETTERSas_cr_digits='0123456789'as_cr_alnum=$as_cr_Letters$as_cr_digits# The user is always right.if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.shfi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && breakdone ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATHdo IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac donedone;; esac # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit}case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C='' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;;esacif expr a : '\(a\)' >/dev/null 2>&1; then as_expr=exprelse as_expr=falsefirm -f conf$$ conf$$.exe conf$$.fileecho >conf$$.fileif ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fielif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=lnelse as_ln_s='cp -p'firm -f conf$$ conf$$.exe conf$$.fileif mkdir -p . 2>/dev/null; then as_mkdir_p=:else test -d ./-p && rmdir ./-p as_mkdir_p=falsefias_executable_p="test -f"# Sed expression to map a string onto a valid CPP name.as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"# Sed expression to map a string onto a valid variable name.as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"# IFS# We need space, tab and new line, in precisely that order.as_nl=''IFS=" $as_nl"# CDPATH.$as_unset CDPATHexec 6>&1# Open the log real soon, to keep \$[0] and so on meaningful, and to# report actual input values of CONFIG_FILES etc. instead of their# values after options handling. Logging --version etc. is OK.exec 5>>config.log{ echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX## Running $as_me. ##_ASBOX} >&5cat >&5 <<_CSEOFThis file was extended by LCD4Linux $as_me 0.10.1-CVS, which wasgenerated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@_CSEOFecho "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5echo >&5_ACEOF# Files that config.status was made for.iftest-n"$ac_config_files";thenecho"config_files=\"$ac_config_files\"">>$CONFIG_STATUSfiiftest-n"$ac_config_headers";thenecho"config_headers=\"$ac_config_headers\"">>$CONFIG_STATUSfiiftest-n"$ac_config_links";thenecho"config_links=\"$ac_config_links\"">>$CONFIG_STATUSfiiftest-n"$ac_config_commands";thenecho"config_commands=\"$ac_config_commands\"">>$CONFIG_STATUSfi
cat>>$CONFIG_STATUS<<\_ACEOFac_cs_usage="\\`$as_me' instantiates files from templates according to thecurrent configuration.Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILEConfiguration files:$config_filesConfiguration headers:$config_headersConfiguration commands:$config_commandsReport bugs to <bug-autoconf@gnu.org>."_ACEOF
cat>>$CONFIG_STATUS<<_ACEOFac_cs_version="\\LCD4Linux config.status 0.10.1-CVSconfigured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"Copyright (C) 2003 Free Software Foundation, Inc.This config.status script is free software; the Free Software Foundationgives unlimited permission to copy, distribute and modify it."srcdir=$srcdirINSTALL="$INSTALL"_ACEOF
cat>>$CONFIG_STATUS<<\_ACEOF# If no file are specified by the user, then we need to provide default# value. By we need to know if files were specified by the user.ac_need_defaults=:while test $# != 0do case $1 in --*=*) ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` ac_shift=: ;; -*) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options._ACEOF
cat>>$CONFIG_STATUS<<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1Try \`$0 --help' for more information." >&5echo "$as_me: error: ambiguous option: $1Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1Try \`$0 --help' for more information." >&5echo "$as_me: error: unrecognized option: $1Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ;; esac shiftdoneac_configure_extra_args=if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent"fi_ACEOF
cat>>$CONFIG_STATUS<<_ACEOFif \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursionfi_ACEOF
cat>>$CONFIG_STATUS<<_ACEOF## INIT-COMMANDS section.#AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"_ACEOF
cat>>$CONFIG_STATUS<<\_ACEOFfor ac_config_target in $ac_config_targetsdo case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esacdone# If the user did not use the arguments to specify the items to instantiate,# then the envvar interface is used. Set only those that are not.# We use the long form for the default assignment because of an extremely# bizarre bug on SunOS 4.1.3.if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commandsfi# Have a temporary directory for convenience. Make it in the build tree# simply because there is no reason to put it here, and in addition,# creating and moving files from /tmp can sometimes cause problems.# Create a temporary directory, and hook for its removal unless debugging.$debug ||{ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15}# Create a (secure) tmp directory for tmp files.{ tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp"} ||{ tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp)} ||{ echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; }}_ACEOF
cat>>$CONFIG_STATUS<<_ACEOF## CONFIG_FILES section.## No need to generate the scripts if there are no CONFIG_FILES.# This happens for instance when ./config.status config.hif test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOFs,@SHELL@,$SHELL,;t ts,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t ts,@PACKAGE_NAME@,$PACKAGE_NAME,;t ts,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t ts,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t ts,@PACKAGE_STRING@,$PACKAGE_STRING,;t ts,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t ts,@exec_prefix@,$exec_prefix,;t ts,@prefix@,$prefix,;t ts,@program_transform_name@,$program_transform_name,;t ts,@bindir@,$bindir,;t ts,@sbindir@,$sbindir,;t ts,@libexecdir@,$libexecdir,;t ts,@datadir@,$datadir,;t ts,@sysconfdir@,$sysconfdir,;t ts,@sharedstatedir@,$sharedstatedir,;t ts,@localstatedir@,$localstatedir,;t ts,@libdir@,$libdir,;t ts,@includedir@,$includedir,;t ts,@oldincludedir@,$oldincludedir,;t ts,@infodir@,$infodir,;t ts,@mandir@,$mandir,;t ts,@build_alias@,$build_alias,;t ts,@host_alias@,$host_alias,;t ts,@target_alias@,$target_alias,;t ts,@DEFS@,$DEFS,;t ts,@ECHO_C@,$ECHO_C,;t ts,@ECHO_N@,$ECHO_N,;t ts,@ECHO_T@,$ECHO_T,;t ts,@LIBS@,$LIBS,;t ts,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t ts,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t ts,@INSTALL_DATA@,$INSTALL_DATA,;t ts,@CYGPATH_W@,$CYGPATH_W,;t ts,@PACKAGE@,$PACKAGE,;t ts,@VERSION@,$VERSION,;t ts,@ACLOCAL@,$ACLOCAL,;t ts,@AUTOCONF@,$AUTOCONF,;t ts,@AUTOMAKE@,$AUTOMAKE,;t ts,@AUTOHEADER@,$AUTOHEADER,;t ts,@MAKEINFO@,$MAKEINFO,;t ts,@install_sh@,$install_sh,;t ts,@STRIP@,$STRIP,;t ts,@ac_ct_STRIP@,$ac_ct_STRIP,;t ts,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t ts,@mkdir_p@,$mkdir_p,;t ts,@AWK@,$AWK,;t ts,@SET_MAKE@,$SET_MAKE,;t ts,@am__leading_dot@,$am__leading_dot,;t ts,@AMTAR@,$AMTAR,;t ts,@am__tar@,$am__tar,;t ts,@am__untar@,$am__untar,;t ts,@CC@,$CC,;t ts,@CFLAGS@,$CFLAGS,;t ts,@LDFLAGS@,$LDFLAGS,;t ts,@CPPFLAGS@,$CPPFLAGS,;t ts,@ac_ct_CC@,$ac_ct_CC,;t ts,@EXEEXT@,$EXEEXT,;t ts,@OBJEXT@,$OBJEXT,;t ts,@DEPDIR@,$DEPDIR,;t ts,@am__include@,$am__include,;t ts,@am__quote@,$am__quote,;t ts,@AMDEP_TRUE@,$AMDEP_TRUE,;t ts,@AMDEP_FALSE@,$AMDEP_FALSE,;t ts,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t ts,@CCDEPMODE@,$CCDEPMODE,;t ts,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t ts,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t ts,@CPP@,$CPP,;t ts,@LN_S@,$LN_S,;t ts,@CURSES_LIBS@,$CURSES_LIBS,;t ts,@CURSES_INCLUDEDIR@,$CURSES_INCLUDEDIR,;t ts,@EGREP@,$EGREP,;t ts,@X_CFLAGS@,$X_CFLAGS,;t ts,@X_PRE_LIBS@,$X_PRE_LIBS,;t ts,@X_LIBS@,$X_LIBS,;t ts,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t ts,@DRIVERS@,$DRIVERS,;t ts,@DRVLIBS@,$DRVLIBS,;t ts,@PLUGINS@,$PLUGINS,;t ts,@PLUGINLIBS@,$PLUGINLIBS,;t ts,@LIBOBJS@,$LIBOBJS,;t ts,@POW_LIB@,$POW_LIB,;t ts,@LTLIBOBJS@,$LTLIBOBJS,;t tCEOF_ACEOFcat>>$CONFIG_STATUS<<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fifi # test -n "$CONFIG_FILES"_ACEOF
cat>>$CONFIG_STATUS<<\_ACEOFfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null ||$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null ||$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=.if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`else ac_dir_suffix= ac_top_builddir=ficase $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;;esac# Do not use `cd foo && pwd` to compute absolute paths, because# the directories may not exist.case `pwd` in.) ac_abs_builddir="$ac_dir";;*) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;;esaccase $ac_abs_builddir in.) ac_abs_top_builddir=${ac_top_builddir}.;;*) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;;esaccase $ac_abs_builddir in.) ac_abs_srcdir=$ac_srcdir;;*) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;;esaccase $ac_abs_builddir in.) ac_abs_top_srcdir=$ac_top_srcdir;;*) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;;esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; }_ACEOF
cat>>$CONFIG_STATUS<<_ACEOF sed "$ac_vpsub$extrasub_ACEOF
cat>>$CONFIG_STATUS<<\_ACEOF:t/@[a-zA-Z_][a-zA-Z_0-9]*@/!bs,@configure_input@,$configure_input,;t ts,@srcdir@,$ac_srcdir,;t ts,@abs_srcdir@,$ac_abs_srcdir,;t ts,@top_srcdir@,$ac_top_srcdir,;t ts,@abs_top_srcdir@,$ac_abs_top_srcdir,;t ts,@builddir@,$ac_builddir,;t ts,@abs_builddir@,$ac_abs_builddir,;t ts,@top_builddir@,$ac_top_builddir,;t ts,@abs_top_builddir@,$ac_abs_top_builddir,;t ts,@INSTALL@,$ac_INSTALL,;t t" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fidone_ACEOF
cat>>$CONFIG_STATUS<<\_ACEOF## CONFIG_HEADER section.## These sed commands are passed to sed as "A NAME B NAME C VALUE D", where# NAME is the cpp macro being defined and VALUE is the value it is being given.## ac_d sets the value in "#define NAME VALUE" lines.ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'ac_dB='[ ].*$,\1#\2'ac_dC=' 'ac_dD=',;t'# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'ac_uB='$,\1#\2define\3'ac_uC=' 'ac_uD=',;t'for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in_ACEOF# Transform confdefs.h into two sed scripts, `conftest.defines' and# `conftest.undefs', that substitutes the proper values into# config.h.in to produce config.h. The first handles `#define'# templates, and the second `#undef' templates.# And first: Protect against being on the right side of a sed subst in# config.status. Protect against being in an unquoted here document# in config.status.
rm-fconftest.definesconftest.undefs
# Using a here document instead of a string reduces the quoting nightmare.# Putting comments in sed scripts is not portable.## `end' is used to avoid that the second main sed command (meant for# 0-ary CPP macros) applies to n-ary macro definitions.# See the Autoconf documentation for `clear'.
cat>confdef2sed.sed<<\_ACEOFs/[\\&,]/\\&/gs,[\\$`],\\&,gt clear: clears,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gpt ends,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp: end_ACEOF# If some macros were called several times there might be several times# the same #defines, which is useless. Nevertheless, we may not want to# sort them, since we want the *last* AC-DEFINE to be honored.
uniqconfdefs.h|sed-n-fconfdef2sed.sed>conftest.defines
sed's/ac_d/ac_u/g'conftest.defines>conftest.undefs
rm-fconfdef2sed.sed
# This sed command replaces #undef with comments. This is necessary, for# example, in the case of _POSIX_SOURCE, which is predefined and required# on some systems where configure will not decide to define it.
cat>>conftest.undefs<<\_ACEOFs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,_ACEOF# Break up conftest.defines because some shells have a limit on the size# of here documents, and old seds have small limits too (100 cmds).echo' # Handle all the #define templates only if necessary.'>>$CONFIG_STATUSecho' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then'>>$CONFIG_STATUSecho' # If there are no defines, we may have an empty if/fi'>>$CONFIG_STATUSecho' :'>>$CONFIG_STATUS
rm-fconftest.tail
whilegrep.conftest.defines>/dev/null
do# Write a limited-size here document to $tmp/defines.sed.echo' cat >$tmp/defines.sed <<CEOF'>>$CONFIG_STATUS# Speed up: don't consider the non `#define' lines.echo'/^[ ]*#[ ]*define/!b'>>$CONFIG_STATUS# Work around the forget-to-reset-the-flag bug.echo't clr'>>$CONFIG_STATUSecho': clr'>>$CONFIG_STATUSsed${ac_max_here_lines}qconftest.defines>>$CONFIG_STATUSecho'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in'>>$CONFIG_STATUSsed1,${ac_max_here_lines}dconftest.defines>conftest.tail
rm-fconftest.defines
mvconftest.tailconftest.defines
done
rm-fconftest.defines
echo' fi # grep'>>$CONFIG_STATUSecho>>$CONFIG_STATUS# Break up conftest.undefs because some shells have a limit on the size# of here documents, and old seds have small limits too (100 cmds).echo' # Handle all the #undef templates'>>$CONFIG_STATUS
rm-fconftest.tail
whilegrep.conftest.undefs>/dev/null
do# Write a limited-size here document to $tmp/undefs.sed.echo' cat >$tmp/undefs.sed <<CEOF'>>$CONFIG_STATUS# Speed up: don't consider the non `#undef'echo'/^[ ]*#[ ]*undef/!b'>>$CONFIG_STATUS# Work around the forget-to-reset-the-flag bug.echo't clr'>>$CONFIG_STATUSecho': clr'>>$CONFIG_STATUSsed${ac_max_here_lines}qconftest.undefs>>$CONFIG_STATUSecho'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in'>>$CONFIG_STATUSsed1,${ac_max_here_lines}dconftest.undefs>conftest.tail
rm-fconftest.undefs
mvconftest.tailconftest.undefs
done
rm-fconftest.undefs
cat>>$CONFIG_STATUS<<\_ACEOF # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null ||$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null ||$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi# Compute $ac_file's index in $config_headers._am_stamp_count=1for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esacdoneecho "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X$ac_file : 'X\(//\)[^/]' \| \ X$ac_file : 'X\(//\)$' \| \ X$ac_file : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X$ac_file | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'`/stamp-h$_am_stamp_countdone_ACEOF
cat>>$CONFIG_STATUS<<\_ACEOF## CONFIG_COMMANDS section.#for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null ||$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null ||$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=.if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`else ac_dir_suffix= ac_top_builddir=ficase $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;;esac# Do not use `cd foo && pwd` to compute absolute paths, because# the directories may not exist.case `pwd` in.) ac_abs_builddir="$ac_dir";;*) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;;esaccase $ac_abs_builddir in.) ac_abs_top_builddir=${ac_top_builddir}.;;*) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;;esaccase $ac_abs_builddir in.) ac_abs_srcdir=$ac_srcdir;;*) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;;esaccase $ac_abs_builddir in.) ac_abs_top_srcdir=$ac_top_srcdir;;*) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;;esac { echo "$as_me:$LINENO: executing $ac_dest commands" >&5echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`(dirname "$mf") 2>/dev/null ||$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`(dirname "$file") 2>/dev/null ||$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p $dirpart/$fdir else as_dir=$dirpart/$fdir as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null ||$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null ||echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" donedone ;; esacdone_ACEOF
cat>>$CONFIG_STATUS<<\_ACEOF{ (exit 0); exit 0; }_ACEOF
chmod+x$CONFIG_STATUSac_clean_files=$ac_clean_files_save# configure is writing to config.log, and then calls config.status.# config.status does its own redirection, appending to config.log.# Unfortunately, on DOS this fails, as config.log is still kept open# by configure, so config.status won't be able to write to it; its# output is simply discarded. So we exec the FD to /dev/null,# effectively closing config.log, so it can be properly (re)opened and# appended to by config.status. When coming back to configure, we# need to make the FD available again.iftest"$no_create"!=yes;thenac_cs_success=:
ac_config_status_args=test"$silent"=yes&&ac_config_status_args="$ac_config_status_args --quiet"exec5>/dev/null
$SHELL$CONFIG_STATUS$ac_config_status_args||ac_cs_success=falseexec5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which# would make configure fail if this is the last instruction.$ac_cs_success||{(exit1);exit1;}fi