From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from g1t0027.austin.hp.com ([15.216.28.34]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1MlSel-0006L2-Jo for kexec@lists.infradead.org; Wed, 09 Sep 2009 19:16:50 +0000 Received: from smtp2.fc.hp.com (smtp.fc.hp.com [15.11.136.114]) by g1t0027.austin.hp.com (Postfix) with ESMTP id 6902438146 for ; Wed, 9 Sep 2009 19:16:36 +0000 (UTC) Received: from [10.92.14.20] (lart.fc.hp.com [15.11.146.31]) by smtp2.fc.hp.com (Postfix) with ESMTP id A57D02CCE95 for ; Wed, 9 Sep 2009 18:40:59 +0000 (UTC) Subject: [PATCH] Fix a problem caused by autoconf 2.64 which redefined AC_MSG_ERROR From: Khalid Aziz Date: Wed, 09 Sep 2009 13:16:41 -0600 Message-Id: <1252523801.31487.95.camel@localhost> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: kexec@lists.infradead.org [PATCH] Fix a problem caused by autoconf 2.64 which redefined AC_MSG_ERROR autoconf 2.64 redefined AC_MSG_ERROR and now a ";" is required at the end of AC_MSG_ERROR macro invocation in configure.ac. Absence of this ";" causes an "unexpected end of file" message when configure script generated by autoconf is run. This patch adds the ";" in right places. I have verified that configure.ac still works fine after these changes with autoconf 2.63 and 2.61. Signed-off-by: Khalid Aziz --- configure.ac | 34 +++++++++++++++++----------------- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/configure.ac b/configure.ac index 4aade87..fc2a166 100644 --- a/configure.ac +++ b/configure.ac @@ -150,23 +150,23 @@ if test "$with_xen" = yes ; then fi dnl ---Sanity checks -if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]) fi -if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]) fi -if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]) fi -if test "$AS" = "no"; then AC_MSG_ERROR([as not found]) fi -if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]) fi -if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]) fi - -if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]) fi -if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]) fi -if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]) fi -if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]) fi -if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]) fi -if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]) fi -if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]) fi -if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]) fi -if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]) fi -if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]) fi +if test "$CC" = "no"; then AC_MSG_ERROR([cc not found]); fi +if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]); fi +if test "$LD" = "no"; then AC_MSG_ERROR([ld not found]); fi +if test "$AS" = "no"; then AC_MSG_ERROR([as not found]); fi +if test "$OBJCOPY" = "no"; then AC_MSG_ERROR([objcopy not found]); fi +if test "$AR" = "no"; then AC_MSG_ERROR([ar not found]); fi + +if test "$MKDIR" = "no"; then AC_MSG_ERROR([ mkdir not found]); fi +if test "$RM" = "no"; then AC_MSG_ERROR([ rm not found]); fi +if test "$CP" = "no"; then AC_MSG_ERROR([ cp not found]); fi +if test "$LN" = "no"; then AC_MSG_ERROR([ ln not found]); fi +if test "$TAR" = "no"; then AC_MSG_ERROR([ tar not found]); fi +if test "$RPM" = "no"; then AC_MSG_ERROR([ rpm not found]); fi +if test "$SED" = "no"; then AC_MSG_ERROR([ sed not found]); fi +if test "$FIND" = "no"; then AC_MSG_ERROR([ find not found]); fi +if test "$XARGS" = "no"; then AC_MSG_ERROR([ xargs not found]); fi +if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]); fi dnl ---Output variables... AC_SUBST([BUILD_CC]) -- 1.5.6.3 -- ==================================================================== Khalid Aziz Telco Platform Software, MOST (970)898-9214 Hewlett-Packard khalid.aziz@hp.com Fort Collins, CO "The Linux kernel is subject to relentless development" - Alessandro Rubini _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec