summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-01-17 11:06:03 +0100
committerWerner Koch <wk@gnupg.org>1999-01-17 11:06:03 +0100
commitbefacf7efa649de7ee4421a154cc06a40a181cf2 (patch)
tree8197e739f35fbe9d4afa9dc96cfa82aee75d74f5 /scripts
parentSee ChangeLog: Sat Jan 16 21:25:17 CET 1999 Werner Koch (diff)
downloadgnupg2-befacf7efa649de7ee4421a154cc06a40a181cf2.tar.xz
gnupg2-befacf7efa649de7ee4421a154cc06a40a181cf2.zip
See ChangeLog: Sun Jan 17 11:04:33 CET 1999 Werner Koch
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ChangeLog4
-rwxr-xr-xscripts/autogen.sh12
2 files changed, 16 insertions, 0 deletions
diff --git a/scripts/ChangeLog b/scripts/ChangeLog
index b3eaae7f3..9f2241b21 100644
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jan 17 11:04:33 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
+
+ * autogen.sh: Now checks for installed gettext
+
Sat Jan 16 09:27:30 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
* config.guess (m68k-atari-mint): New.
diff --git a/scripts/autogen.sh b/scripts/autogen.sh
index cba5adcc1..813786c7f 100755
--- a/scripts/autogen.sh
+++ b/scripts/autogen.sh
@@ -35,6 +35,18 @@ else
DIE="yes"
fi
+
+if (gettext --version </dev/null 2>/dev/null | awk 'NR==1 { split($4,A,"\."); \
+ X=10000*A[1]+100*A[2]+A[3]; echo X; if( X >= 1035 ) exit 1; exit 0}')
+ then
+ echo "**Error**: You must have "\`gettext\'" installed to compile $PGM."
+ echo ' (version 0.10.35 or newer is required; get'
+ echo ' ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz)'
+ DIE="yes"
+fi
+
+
+
if test "$DIE" = "yes"; then
exit 1
fi