Patch to src/Makefile.in for GPERF

John W. Eaton jwe at octave.org
Fri Feb 6 11:53:32 CST 2009


On  5-Feb-2009, Thomas D. Dean wrote:

| Here is a patch.  I tested it with and without gperf.  Then, removed
| oct-gperf.h and did another build.  Seems Ok.  I don't know about
| systems other than Linux with sh.  If there is a gperf before the real
| one in the path, a simple test will fail.  For example, a shell script
| named gperf, containing
|   #! /bin/sh
|   exit 0
| 
| To get around this, I used grep.  I added AC_PROG_GREP to configure.in
| and, added GREP to Makeconf.in.
| 
| 
| 2009-02-05 Thomas D. Dean <tomdean at speakeasy.org>
| 
|         * configure.in Added AC_PROG_GREP to require grep
|         * Makeconf.in  Added definition of GREP
|         * src/Makefile.in Added test for executable gperf in making
|           oct-gperf.h using GREP

What is the check for grep needed for?  I don't see GREP used anywhere
in the Octave Makefiles.

I checked in the following change instead for the gperf problem.

  http://hg.savannah.gnu.org/hgweb/octave/rev/6e0d425862fa

jwe


More information about the Bug-octave mailing list