Commit 0c9c3d6ad34d4faf353b6685149ea7b7cfebb884

brlcad 2008-11-26T19:33:51

make sure ECHO and ECHO_N get defined

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/configure.ac b/configure.ac
index cb803b5..362b08b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,6 +94,15 @@ if test "x${LATEX}" != "xno"; then
 fi
 AM_CONDITIONAL(HAVE_LATEX, test "x${LATEX}" != "xno")
 
+# make sure ECHO and ECHO_N got defined and substituted
+if test "x$ECHO" = "x" ; then
+    ECHO=echo
+    AC_MSG_NOTICE([ECHO was not defined by configure so defining manually])
+fi
+AC_SUBST(ECHO)
+AC_SUBST(ECHO_N)
+
+
 AC_CONFIG_FILES([
   ftgl.pc
 ])