Skip to content

Commit

Permalink
tell autopoint to use latest gettext version
Browse files Browse the repository at this point in the history
- fixes issue #5
  • Loading branch information
bbidulock committed Dec 21, 2013
1 parent 211aacd commit 2e2be45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ then
VERSION=`git describe --tags --always | sed 's|^[^0-9]*||;s|[-_]|.|g;s|[.]g[a-f0-9]*$||'`
fi

GTVERSION=`gettext --version | head -1 | awk '{print$NF}'`

cp -f configure.ac configure.in

sed <configure.in >configure.ac \
-e "s|^AC_INIT(.*$|AC_INIT([icewm], [$VERSION], [http://github.com/bbidulock/icewm])|"
-e "s|^AC_INIT(.*$|AC_INIT([icewm], [$VERSION], [http://github.com/bbidulock/icewm])|" \
-e "s|^AM_GNU_GETTEXT_VERSION.*|AM_GNU_GETTEXT_VERSION([$GTVERSION])|"

rm -f configure.in

Expand Down

0 comments on commit 2e2be45

Please sign in to comment.