Make sure aclocal.m4 exists before making it writable.
authorMartin Baulig <martin@src.gnome.org>
Mon, 7 Dec 1998 20:05:21 +0000 (20:05 +0000)
committerMartin Baulig <martin@src.gnome.org>
Mon, 7 Dec 1998 20:05:21 +0000 (20:05 +0000)
svn path=/trunk/; revision=509

macros/autogen.sh

index 8e15775..4b6a862 100644 (file)
@@ -92,7 +92,7 @@ do
          echo "Running gettextize...  Ignore non-fatal messages."
          echo "no" | gettextize --force --copy
          echo "Making $dr/aclocal.m4 writable ..."
-         chmod u+w $dr/aclocal.m4
+         test -e $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
         fi
       fi
       if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then