[Pkg-jed-commit] [SCM] Debian packaging of JED branch, jo-upstream-fixes, updated. 7067e34ff233dc4deb3d352dc2c063c2504c7309

Jörg Sommer joerg at alea.gnuu.de
Mon Jun 16 15:48:30 UTC 2008


The following commit has been merged in the jo-upstream-fixes branch:
commit 20b5f63e59f98f93f42c02af14f1c8d86fa784c5
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