Added small test for po/Makefile.i18npatch, so that if it exists it will patch the...
authorKenneth Christiansen <kenneth@src.gnome.org>
Thu, 26 Oct 2000 21:28:34 +0000 (21:28 +0000)
committerKenneth Christiansen <kenneth@src.gnome.org>
Thu, 26 Oct 2000 21:28:34 +0000 (21:28 +0000)
svn path=/trunk/; revision=1420

macros/autogen.sh

index 74b8047..c67e8c5 100644 (file)
@@ -168,6 +168,13 @@ do
   fi
 done
 
+if [ -r po/Makefile.i18npatch ]; then
+        if grep GENPOT po/Makefile.in.in >/dev/null;
+        then echo "no need for patching file \`Makefile.in.in'";
+        else patch po/Makefile.in.in < po/Makefile.i18npatch;
+        fi;
+fi
+
 conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
 
 if test x$NOCONFIGURE = x; then