All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khalid Aziz <khalid_aziz@hp.com>
To: kexec@lists.infradead.org
Subject: [PATCH] Fix a problem caused by autoconf 2.64 which redefined AC_MSG_ERROR
Date: Wed, 09 Sep 2009 13:16:41 -0600	[thread overview]
Message-ID: <1252523801.31487.95.camel@localhost> (raw)

[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 <khalid.aziz@hp.com>
---
 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

             reply	other threads:[~2009-09-09 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09 19:16 Khalid Aziz [this message]
2009-09-10  0:48 ` [PATCH] Fix a problem caused by autoconf 2.64 which redefined AC_MSG_ERROR Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1252523801.31487.95.camel@localhost \
    --to=khalid_aziz@hp.com \
    --cc=kexec@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.