- Use only one socket for all UDP traffic (for compatibility)
[oweals/tinc.git] / autogen.sh
index 55a27a957af6ab4f86e6c46323316040a4076a91..9e3c04523f94134ab5bdb59b4df01b34b0f80efd 100644 (file)
@@ -4,7 +4,7 @@
 
 DIE=0
 
-srcdir="`pwd`"
+srcdir="`/bin/pwd`"
 
 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
   echo
@@ -70,6 +70,9 @@ if test "$DIE" -eq 1; then
   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"
@@ -102,6 +105,7 @@ do
        ##  echo "**Warning**: No such directory \`$k'.  Ignored."
         fi
       done
+      touch ChangeLog
       if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then
        if grep "sed.*POTFILES" configure.in >/dev/null; then
          : do nothing -- we still have an old unmodified configure.in