From: Ben H. <bh...@us...> - 2002-01-02 13:20:47
|
Update of /cvsroot/thinlisp/thinlisp-1.0/src/tlt/lisp In directory usw-pr-cvs1:/tmp/cvs-serv29068/tlt/lisp Modified Files: makefiles.lisp Log Message: Check for -lm adding to LIBS when found in autoconf, might fix linux build. Index: makefiles.lisp =================================================================== RCS file: /cvsroot/thinlisp/thinlisp-1.0/src/tlt/lisp/makefiles.lisp,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** makefiles.lisp 2002/01/02 04:41:47 1.17 --- makefiles.lisp 2002/01/02 13:20:44 1.18 *************** *** 100,103 **** --- 100,104 ---- (cc-flags . "@CFLAGS@ -pipe -ansi -pedantic -W -Wall -c") (link . "@CC@ -o") + (system-libs . "@LIBS@") (exe-postfix . "$(EXEEXT)") ) *************** *** 298,305 **** (format output "dnl autoconf input for ~a~%" (system-name system)) (format output "AC_PREREQ(2.13)~%") (format output "AC_INIT(~a.c)~%" typical-c-file) (format output "AC_PROG_CC~%") (format output "AC_EXEEXT~%") (format output "AC_OUTPUT(makefile)~%") ! (format output "dnl End of file~%")))) --- 299,317 ---- (format output "dnl autoconf input for ~a~%" (system-name system)) + (format output "dnl --- standard prolog~%") (format output "AC_PREREQ(2.13)~%") (format output "AC_INIT(~a.c)~%" typical-c-file) + (format output "dnl --- checks for libraries~%") + (format output "AC_CHECK_LIB(m,log10)~%") ;; note a + (format output "dnl --- checks for programs~%") (format output "AC_PROG_CC~%") + (format output "dnl --- other junk~%") (format output "AC_EXEEXT~%") + (format output "dnl --- standard epilog~%") (format output "AC_OUTPUT(makefile)~%") ! (format output "dnl End of file~%")) ! ;; note b ! )) ! ! ;; note a: This should be computed from the system that needed it. ! ;; note b: TBD: temp file and file-contents-equal |