* [PATCH] Fix a problem caused by autoconf 2.64 which redefined AC_MSG_ERROR
@ 2009-09-09 19:16 Khalid Aziz
2009-09-10 0:48 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Khalid Aziz @ 2009-09-09 19:16 UTC (permalink / raw)
To: kexec
[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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix a problem caused by autoconf 2.64 which redefined AC_MSG_ERROR
2009-09-09 19:16 [PATCH] Fix a problem caused by autoconf 2.64 which redefined AC_MSG_ERROR Khalid Aziz
@ 2009-09-10 0:48 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2009-09-10 0:48 UTC (permalink / raw)
To: Khalid Aziz; +Cc: kexec
On Wed, Sep 09, 2009 at 01:16:41PM -0600, Khalid Aziz wrote:
> [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.
Thanks, applied.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-10 0:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 19:16 [PATCH] Fix a problem caused by autoconf 2.64 which redefined AC_MSG_ERROR Khalid Aziz
2009-09-10 0:48 ` Simon Horman
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.