aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 <[email protected]>
+
+ * autogen.sh: Now checks for installed gettext
+
Sat Jan 16 09:27:30 CET 1999 Werner Koch <[email protected]>
* 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