From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B49231381F3 for ; Sat, 17 Nov 2012 19:16:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B1A4E0534; Sat, 17 Nov 2012 19:16:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9CE7CE0478 for ; Sat, 17 Nov 2012 19:16:25 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A912033D8E2 for ; Sat, 17 Nov 2012 19:16:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 28E89E5436 for ; Sat, 17 Nov 2012 19:16:23 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1353179758.d51f63bfc0afd8c4ba7a529425add45df2aad3f8.vapier@gentoo> Subject: [gentoo-commits] proj/sandbox:master commit in: / X-VCS-Repository: proj/sandbox X-VCS-Files: autogen.sh X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: d51f63bfc0afd8c4ba7a529425add45df2aad3f8 X-VCS-Branch: master Date: Sat, 17 Nov 2012 19:16:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 495f3cdc-1f22-4b4c-8449-a844273e880c X-Archives-Hash: 7fbf426e5834fbdf872933c240a9222d commit: d51f63bfc0afd8c4ba7a529425add45df2aad3f8 Author: Mike Frysinger gentoo org> AuthorDate: Mon Aug 13 03:08:03 2012 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sat Nov 17 19:15:58 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commit;h=d51f63bf fix generating autotools when no autoconf-archive is missing Make sure lm4s is an array even when unset. Signed-off-by: Mike Frysinger gentoo.org> --- autogen.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/autogen.sh b/autogen.sh index 8ff14d5..8a53fc8 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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:\.*::' "$@") for macro in $(echo "${content}" | grep -o '\' | sort -u) ; do if m4=$(grep -rl "\[${macro}\]" /usr/share/aclocal/) ; then