a couple of tweaks for the Scheme48 build system
Ivan Shmakov <[email protected]> Wed, 08 Aug 2012 18:50:02 +0700
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
I've just made two minor changes to the build system, namely: • replaced ‘echo > /dev/null’ with ‘:’ (which is the Shell no-op command) in autogen.sh; • added a call to the ‘AC_LANG_SOURCE’ macro to m4/s48_inline.m4, to avoid a gratuitous GNU Autoconf warning. autogen.sh seems to run correctly with these changes applied. Please consider committing them to the main Scheme48 repository. PS. Are there any promotional materials (flyers, posters, videos, etc.) for Scheme48 that we can show or distribute on SFD 2012, BTW? -- FSF associate member #7257 http://sf-day.org/ # HG changeset patch # User Ivan Shmakov <[email protected]> # Date 1344425503 -25200 # Node ID 72b1a8096f42aa99deb8130a787cd5857282f05a # Parent 8e9fac20dfa17bdd41cc93a0315388212cec1d97 Avoid a gratuitous warning from GNU Autoconf. m4/s48_inline.m4 (S48_INLINE): Call ‘AC_LANG_SOURCE’ to avoid a gratuitous warning. (serial): Bumped. diff -r 8e9fac20dfa1 -r 72b1a8096f42 m4/s48_inline.m4 --- a/m4/s48_inline.m4 Sat Jun 23 15:58:40 2012 +0200 +++ b/m4/s48_inline.m4 Wed Aug 08 18:31:43 2012 +0700 @@ -1,14 +1,14 @@ ### s48_inline.m4 --- S48_INLINE macro -*- Autoconf -*- -# serial 1 +# serial 2 dnl AC_DEFUN([S48_INLINE], [dnl AC_MSG_CHECKING([for inline keyword]) -AC_COMPILE_IFELSE([#include <stdio.h> +AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> inline void f(void) { printf("inlined"); -}], [AC_MSG_RESULT([yes]) +}]])], [AC_MSG_RESULT([yes]) AC_DEFINE([HAVE_INLINE], [1], [Define if the C compiler supports the inline keyword])], [AC_MSG_RESULT([no])]) ]) # HG changeset patch # User Ivan Shmakov <[email protected]> # Date 1344425828 -25200 # Node ID 71095d3d7b3c43585244d41154aa2e0d37a5951a # Parent 72b1a8096f42aa99deb8130a787cd5857282f05a Removed a useless use of ‘echo’ from ‘autogen.sh’. autogen.sh: Pass non-needed substitution result to ‘:’ (was: ‘echo’.) diff -r 72b1a8096f42 -r 71095d3d7b3c autogen.sh --- a/autogen.sh Wed Aug 08 18:31:43 2012 +0700 +++ b/autogen.sh Wed Aug 08 18:37:08 2012 +0700 @@ -6,7 +6,7 @@ # # Ensure that $MAKE is set. -echo "${MAKE:=make}" >/dev/null +: "${MAKE:=make}" echo "This script requires an installed scheme48 executable in the path." echo "The executable should be Scheme 48 1.6 or later."