diff aclocal.m4 @ 3673:e0b46234555e

[project @ 2000-06-05 18:28:54 by jwe]
author jwe
date Mon, 05 Jun 2000 18:28:54 +0000
parents ed0e55953260
children ea62136d86e8
line wrap: on
line diff
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -827,6 +827,18 @@
 fi
 ])
 dnl
+dnl Is gperf installed?
+dnl
+dnl OCTAVE_PROG_GPERF
+AC_DEFUN(OCTAVE_PROG_GPERF,
+[AC_CHECK_PROG(GPERF, gperf, gperf, [])
+if test -z "$GPERF"; then
+  warn_gperf="I didn't find gperf, but it's only a problem if you need to reconstruct oct-gperf.h"
+  AC_MSG_WARN($warn_gperf)
+fi
+AC_SUBST(GPERF)
+])
+dnl
 dnl Find nm.
 dnl
 dnl OCTAVE_PROG_NM