[Pkg-jed-commit] [SCM] Debian packaging of JED branch, jo-upstream-fixes, updated. 3bb27317d2e41070ee40080b18e63f569c2ac79e
Jörg Sommer
joerg at alea.gnuu.de
Thu May 29 19:51:21 UTC 2008
The following commit has been merged in the jo-upstream-fixes branch:
commit cfa89384b935e8ce23fdb043ce57e0acbe388e3d
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date: Thu May 29 20:32:25 2008 +0200
Replace AC_TRY_COMPILE by AC_COMPILE_IFELSE
The macro AC_TRY_COMPILE is obsolate.
diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4
index 99b77fc..cbc8e39 100644
--- a/autoconf/aclocal.m4
+++ b/autoconf/aclocal.m4
@@ -523,8 +523,7 @@ dnl
dnl #Be sure we've found compiler that understands prototypes
dnl
AC_MSG_CHECKING(C compiler that understands ANSI prototypes)
-AC_TRY_COMPILE([ ],[
- extern int silly (int);], [
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[extern int silly (int);]])], [
AC_MSG_RESULT($CC looks ok. Good.)], [
AC_MSG_RESULT($CC is not a good enough compiler)
AC_MSG_ERROR(Set env variable CC to your ANSI compiler and rerun configure.)
--
Debian packaging of JED
More information about the Pkg-jed-commit
mailing list