Set awk and find used in run-octave from configure

John W. Eaton jwe at bevo.che.wisc.edu
Mon Dec 3 20:26:47 CST 2007


On  4-Dec-2007, Moritz Borgmann wrote:

| To make run-octave run under Solaris, I propose the following patchset:
| 
| ChangeLog:
| 
| 2007-12-03  Moritz Borgmann  <octave at moriborg.de>
| 
| 	* Makeconf.in, aclocal.m4, configure.in: check for find 
| program, preferably
| 	gfind (on non-GNU systems). Need a sane find for run-octave script.
| 
| 	* run-octave.in: use FIND and AWK as determined by configure.

I made these changes.  I wasn't able to apply the patches
automatically.  In the future, please send patches as text/plain
attachments to avoid line wrapping mailers.

| +# OCTAVE_PROG_FIND
| +# ----------------
| +# Check for gfind first since it's generally better.
| +AN_MAKEVAR([FIND],  [OCTAVE_PROG_FIND])
| +AN_PROGRAM([gfind], [OCTAVE_PROG_FIND])
| +AN_PROGRAM([find],  [OCTAVE_PROG_FIND])
| +AC_DEFUN([OCTAVE_PROG_FIND],
| +[AC_CHECK_PROGS(FIND, gfind find, )])

If this is a better way of checking for programs compared to what we
do now, then it would be useful if someone would look at converting
the existing tests to use this style.

Thanks,

jwe


More information about the Octave-maintainers mailing list