Mercurial > octave
view build-aux/find-files-with-tests.sh @ 21240:7af5ca01ecac
allow octave-config.h to be included unconditionally
* oct-conf-post.in.h (OCTAVE_AUTOCONFIG_H_INCLUDED): Rename from
OCTAVE_CONFIG_H_INCLUDED.
* mk-octave-config-h.sh: Protect contents of generated file with
OCTAVE_AUTOCONFIG_H_INCLUDED.
* oct-refcount.h: Simply include octave-config.h instead of checking
OCTAVE_CONFIG_H_INCLUDED.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 10 Feb 2016 11:57:17 -0500 |
parents | 43e6415393ff |
children | 3b4bb843ffcd |
line wrap: on
line source
#! /bin/sh set -e GREP=${GREP:-grep} SED=${SED:-sed} srcdir="$1" shift for arg do if [ -f "$arg" ]; then file="$arg" else file="$srcdir/$arg" fi if [ "`$GREP -l '^%!' $file`" ]; then echo "$file" | $SED "s,\\$srcdir/,,"; fi done