aboutsummaryrefslogtreecommitdiff
path: root/configure.ac.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac.pamphlet')
-rw-r--r--configure.ac.pamphlet28
1 files changed, 17 insertions, 11 deletions
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet
index a860ea37..5ed5c590 100644
--- a/configure.ac.pamphlet
+++ b/configure.ac.pamphlet
@@ -279,6 +279,7 @@ case $host in
AC_SEARCH_LIBS([accept], [socket],
[axiom_c_runtime_extra="-lsocket"],
[AC_MSG_ERROR([socket library not found])])
+ AC_SEARCH_LIBS([gethostbyname], [nls])
;;
*) ;;
esac
@@ -677,17 +678,7 @@ esac
First of all, check for a C compiler. As written, this test is OK
because currently we support only native builds. However,
it needs to be more carefully written when we move to cross-compilation.
-OpenAxiom, in its current form, cannot be compiled with a C compiler
-other than from GNU. We take that as a requirement.
<<find C compiler>>=
-## Make sure the C compiler is from GCC
-AC_PROG_CC
-if test x$GCC != xyes; then
- AC_MSG_ERROR([We need a C compiler from GCC])
-fi
-axiom_cflags="-O2 -Wall -D_GNU_SOURCE"
-AC_SUBST(axiom_cflags)
-
## What is the extension of object files on this platform?
AC_OBJEXT
@@ -958,6 +949,21 @@ case $axiom_lisp_flavor,$target in
;;
esac
AC_SUBST(axiom_gcl_rsym_hack)
+
+
+## If we are using GCL as the base runtime system, then we do really need
+# a C compiler from GNU. Well, at least for the moment.
+case $axiom_lisp_flavor,$GCC in
+ gcl,yes)
+ axiom_cflags="-O2 -Wall -D_GNU_SOURCE"
+ ;;
+
+ gcl,*)
+ AC_MSG_ERROR([We need a GNU C compiler])
+ ;;
+esac
+AC_SUBST(axiom_cflags)
+
@
\paragraph{Lisp system options.} Lisp implementations greatly vary in
@@ -1154,7 +1160,7 @@ information:
<<Autoconf init>>=
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.4.0-2009-09-08],
+AC_INIT([OpenAxiom], [1.4.0-2009-09-16],
[open-axiom-bugs@lists.sf.net])
@