From: <as...@us...> - 2003-03-22 21:09:16
|
Update of /cvsroot/gphoto/gphoto2 In directory sc8-pr-cvs1:/tmp/cvs-serv26318 Modified Files: autogen.sh Log Message: adapt autogen to gettext 0.12 Index: autogen.sh =================================================================== RCS file: /cvsroot/gphoto/gphoto2/autogen.sh,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- autogen.sh 3 Feb 2003 16:20:10 -0000 1.12 +++ autogen.sh 22 Mar 2003 21:09:13 -0000 1.13 @@ -85,7 +85,10 @@ gettext_version=`gettextize --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $gettext_version in -0.11.*) +0.10.*) + ;; + +*) gettext_opt="$gettext_opt --intl";; esac @@ -130,7 +133,9 @@ fi case $gettext_version in - 0.10.*) + 0.11.?) + ;; + *) 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 ) |