aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>1999-01-13 14:01:25 +0000
committerPhil Blundell <philb@gnu.org>1999-01-13 14:01:25 +0000
commit2b17cc4fa2b31cd75021fa5c0222969643b0452a (patch)
treeefc36045eb2c3491b86df2b8a813c6a165514e67 /configure.sh
parentFix IPv6 compilation problems. (diff)
downloadnet-tools-2b17cc4fa2b31cd75021fa5c0222969643b0452a.tar.gz
net-tools-2b17cc4fa2b31cd75021fa5c0222969643b0452a.tar.bz2
net-tools-2b17cc4fa2b31cd75021fa5c0222969643b0452a.zip
Provide local definition of IPPROTO_GRE to allow iptunnel
to build under glibc 2.0. Make it configurable whether iptunnel & ipmaddr are built, with the default being off. This seems to be necessary since making them work with 2.0 looks hard. Does it sound reasonable?
Diffstat (limited to 'configure.sh')
-rwxr-xr-xconfigure.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh
index cba50e0..10b6ac1 100755
--- a/configure.sh
+++ b/configure.sh
@@ -34,6 +34,7 @@
#
CONFIG=config.h
+MAKECONFIG=config.make
[ -z "$BASH" ] && { echo "Configure requires bash" 1>&2; exit 1; }
@@ -69,8 +70,10 @@ function bool()
done
if [ "$ans" = "y" ]; then
echo "#define $2 1" >>${CONFIG}
+ echo "$2=1" >>${MAKECONFIG}
else
echo "#define $2 0" >>${CONFIG}
+ echo "# $2=0" >> ${MAKECONFIG}
fi
raw_input_line="bool '$1' $2 $ans"
eval "$2=$ans"
@@ -99,6 +102,7 @@ function int()
#
> config.new
> ${CONFIG}
+ > ${MAKECONFIG}
stack=''
branch='t'