diff options
author | 2012-08-12 23:08:03 -0400 | |
---|---|---|
committer | 2012-11-17 14:15:58 -0500 | |
commit | d51f63bfc0afd8c4ba7a529425add45df2aad3f8 (patch) | |
tree | 0cf68e40ca4e3afdff7b4e46522df7300b1e9c62 /autogen.sh | |
parent | libsandbox: use process_vm_readv if available (diff) | |
download | sandbox-d51f63bfc0afd8c4ba7a529425add45df2aad3f8.tar.gz sandbox-d51f63bfc0afd8c4ba7a529425add45df2aad3f8.tar.bz2 sandbox-d51f63bfc0afd8c4ba7a529425add45df2aad3f8.zip |
fix generating autotools when no autoconf-archive is missing
Make sure lm4s is an array even when unset.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ find m4/*.m4 '!' -name 'ax_*.m4' -delete 2>/dev/null || : # not everyone has sys-devel/autoconf-archive installed has() { [[ " ${*:2} " == *" $1 "* ]] ; } import_ax() { - local macro content m4 lm4s + local macro content m4 lm4s=() content=$(sed -e '/^[[:space:]]*#/d' -e 's:\<dnl\>.*::' "$@") for macro in $(echo "${content}" | grep -o '\<AX[A-Z_]*\>' | sort -u) ; do if m4=$(grep -rl "\[${macro}\]" /usr/share/aclocal/) ; then |