Patch to src/Makefile.in for GPERF
Thomas D. Dean
tomdean at speakeasy.org
Thu Feb 5 19:22:38 CST 2009
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
tomdean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src.patch.1
Type: text/x-patch
Size: 533 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090205/522a9577/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src.patch.2
Type: text/x-patch
Size: 248 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090205/522a9577/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src.patch.3
Type: text/x-patch
Size: 279 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090205/522a9577/attachment-0002.bin
More information about the Bug-octave
mailing list