diff options
author | dos-reis <gdr@axiomatics.org> | 2009-09-16 06:20:06 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-09-16 06:20:06 +0000 |
commit | 0c55ed614187758d4e0a670fc4f031d5f4ad7e4e (patch) | |
tree | 5764bcb9aba6369b1e82e5ddec37ac44ed58f7a4 /configure.ac.pamphlet | |
parent | d982979c98f7a87c5ee8e5a84acc1bde09a53bf5 (diff) | |
download | open-axiom-0c55ed614187758d4e0a670fc4f031d5f4ad7e4e.tar.gz |
2009-09-16 Kosta Oikonomou <ko@research.att.com>
Gabriel Dos Reis <gdr@cs.tamu.edu>
* configure.ac.pamphlet: Don't insist on GNU C compiler if we
don't use GCL. Check for nsl on Solaris boxes.
* config/var-def.mk (oa_c_libs): New.
src/
2009-09-16 Kosta Oikonomou <ko@research.att.com>
Gabriel Dos Reis <gdr@cs.tamu.edu>
* graph/viewAlone/Makefile.in (viewAlone_LDADD): Include
$(AXIOM_X11_LDFLAGS) and $(oa_c_libs).
* graph/viewman/Makefile.in (viewman_LDADD): Likewise.
* hyper/Makefile.in (htadd_LDADD): Likewise.
* sman/Makefile.in (session_LDADD): Include $(oa_c_libs).
(spadclient_LDADD): Likewise.
(sman_LDADD): Likewise.
Diffstat (limited to 'configure.ac.pamphlet')
-rw-r--r-- | configure.ac.pamphlet | 28 |
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]) @ |