summaryrefslogtreecommitdiffstats
path: root/contrib/groff/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff/configure.in')
-rw-r--r--contrib/groff/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/groff/configure.in b/contrib/groff/configure.in
index 081df0e..92024e0 100644
--- a/contrib/groff/configure.in
+++ b/contrib/groff/configure.in
@@ -15,7 +15,9 @@ AC_PROG_RANLIB
GROFF_INSTALL_SH
AC_PROG_INSTALL
AC_PROG_LN_S
-GROFF_CSH_HACK(SH_SCRIPT_SED_CMD='1s/.*/:/', SH_SCRIPT_SED_CMD='')
+dnl use a dummy substitution if no csh hack is necessary to avoid errors
+dnl with non-GNU sed programs
+GROFF_CSH_HACK(SH_SCRIPT_SED_CMD='1s/.*/:/', SH_SCRIPT_SED_CMD='1s/a/a/')
AC_SUBST(SH_SCRIPT_SED_CMD)
dnl checks for headers
AC_CHECK_HEADERS(stdlib.h unistd.h dirent.h limits.h sys/dir.h \
OpenPOWER on IntegriCloud