gettext 0.10 does not add automagically the intl/ directory
authorArnaud Launay <libexif-20171129@launay.org>
Mon, 30 Sep 2002 12:26:01 +0000 (14:26 +0200)
committerArnaud Launay <libexif-20171129@launay.org>
Mon, 30 Sep 2002 12:26:01 +0000 (14:26 +0200)
autogen.sh

index 5468044..e93d456 100755 (executable)
@@ -124,6 +124,9 @@ do
        grep "intl/Makefile" configure.in > /dev/null ||
        ( sed -e 's#^AC_OUTPUT(\[#AC_OUTPUT(\[ intl/Makefile po/Makefile.in#' \
        configure.in >configure.in.new && mv configure.in.new configure.in )
+       grep "SUBDIRS.*intl" Makefile.am > /dev/null ||
+       ( sed -e 's#\(^SUBDIRS.*\)$#\1 intl#' Makefile.am >Makefile.am.new \
+       && mv Makefile.am.new Makefile.am )
     esac
 
     echo "Cleaning stuff generated by libtoolize"