--- snips-1.2/Configure.orig 2008-06-26 16:46:49.000000000 +0100 +++ snips-1.2/Configure 2008-06-26 16:48:10.000000000 +0100 @@ -72,11 +72,7 @@ if [ -f $PREVDEFS ]; then echo "You seem to have already run $0 before, would you like" echo "to take your previous answers as defaults [n]: " | tr -d '\012' - read input - if [ "$input" = "Y" ] || [ "$input" = "y" ] - then . ./$PREVDEFS - fi fi cat <&1 | egrep -i 'not.*found' >/dev/null 2>&1 if [ $? = 0 ]; then echo "${YACC} NOT FOUND" YACC="bison -y" echo "Enter an alternative to yacc [${YACC}]: " | tr -d '\012' - read input ; if [ "X$input" != "X" ]; then YACC="${input}" ; fi fi rm -rf TemP @@ -150,7 +136,6 @@ if [ ! -f ${PERL} ]; then PERL=/usr/local/bin/perl ; fi if [ ! -f ${PERL} ]; then echo "Where is PERL located on your system? [$PERL]: "| tr -d '\012' - read input ; if [ "X$input" != "X" ]; then PERL="${input}" ; fi if [ ! -f ${PERL} ]; then echo "WARNING, ${PERL} does not exist" ; fi fi @@ -161,12 +146,10 @@ if [ -d $RRDLIBDIR ]; then RRDCFLAGS="-DRRDTOOL" ; fi if [ "$RRDCFLAGS" = "" ]; then definput="n" ; else definput="y" ; fi echo "Do you have RRDtool installed (www.caida.org)? [$definput]: " | tr -d '\012' -read input if [ "X$input" = "X" ]; then input=$definput ; fi if [ "$input" = "y" ] || [ "$input" = "Y" ]; then RRDCFLAGS="-DRRDTOOL" echo "Enter path to the RRD library [$RRDLIBDIR]: " | tr -d '\012' - read input ; if [ "X$input" != "X" ]; then RRDLIBDIR="${input}"; fi if [ ! -f $RRDLIBDIR/librrd.a ]; then echo "WARNING, $RRDLIBDIR/librrd.a not found" @@ -181,7 +164,6 @@ ## Check if they want the old NOCOL mode #echo "" #echo "Do you want to compile using the old NOCOL event structure? [no]: " | tr -d '\012' -#read input ; if [ "X$input" != "X" ]; then CFLAGS="${CFLAGS} -DNOCOL" ; fi ##