Added a check for a scanf that knows about %as.
[tinc] / autogen.sh
index 09e5ecd..9e3c045 100644 (file)
@@ -4,7 +4,7 @@
 
 DIE=0
 
 
 DIE=0
 
-srcdir="`pwd`"
+srcdir="`/bin/pwd`"
 
 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
   echo
 
 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
   echo
@@ -70,6 +70,9 @@ if test "$DIE" -eq 1; then
   exit 1
 fi
 
   exit 1
 fi
 
+# Make sure configure doesn't complain about old configuration
+rm -f config.status
+
 if test -z "$*"; then
   echo "**Warning**: I am going to run \`configure' with no arguments."
   echo "If you wish to pass any to it, please specify them on the"
 if test -z "$*"; then
   echo "**Warning**: I am going to run \`configure' with no arguments."
   echo "If you wish to pass any to it, please specify them on the"