[PATCH] Fix a problem caused by autoconf 2.64 which redefined AC_MSG_ERROR
Khalid Aziz
khalid_aziz at hp.com
Wed Sep 9 15:16:41 EDT 2009
[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 at 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 at hp.com Fort Collins, CO
"The Linux kernel is subject to relentless development"
- Alessandro Rubini
More information about the kexec
mailing list