summaryrefslogtreecommitdiff
path: root/textproc/ispell/scripts/configure
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1995-02-07 02:41:52 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1995-02-07 02:41:52 +0000
commit4ace844353d620eac923bea228ee30973d1ed3b1 (patch)
treec9e631f07a54f8074c3016a122a4cdb73486598f /textproc/ispell/scripts/configure
parentAdd a note about XRisk (diff)
Test if we can use sed. A version >19950206 is required.
Notes
Notes: svn path=/head/; revision=904
Diffstat (limited to '')
-rw-r--r--textproc/ispell/scripts/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/textproc/ispell/scripts/configure b/textproc/ispell/scripts/configure
index 05796841feea..8d520117a329 100644
--- a/textproc/ispell/scripts/configure
+++ b/textproc/ispell/scripts/configure
@@ -1,5 +1,9 @@
#!/bin/sh
+if [ "`echo a|sed -e P`" = "aa" ]; then
+ echo You need a newer version of sed. Use sed from -current or gnu sed
+ exit 1
+fi
cd $WRKSRC || exit 1;
sed -e s:/usr/local:$PREFIX: <local.h.samp >local.h || exit 1;