Thread: [Wisp-cvs] wisp Makefile.am,1.26,1.27 configure.in,1.73,1.74 wisplint.wisp,1.21,1.22 acconfig.h,1.9,
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2003-02-01 14:02:50
|
Update of /cvsroot/wisp/wisp In directory sc8-pr-cvs1:/tmp/cvs-serv29017 Modified Files: Makefile.am configure.in wisplint.wisp Removed Files: acconfig.h Log Message: autoconf 2.57 compatibility fixes Index: Makefile.am =================================================================== RCS file: /cvsroot/wisp/wisp/Makefile.am,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- Makefile.am 28 Aug 2002 20:05:13 -0000 1.26 +++ Makefile.am 1 Feb 2003 14:02:45 -0000 1.27 @@ -1,12 +1,12 @@ #### Makefile.am for the Wisp interpreter # -# Copyleft © 2002 by Andres Soolo (di...@us...) +# Copyleft © 2003 by Andres Soolo (di...@us...) # This file is licensed under the GNU GPL v2. If you # don't know what that means, please do read the GPL. # #### @(#) $Id$ -EXTRA_DIST = DISCLAIMER COPYING acconfig.h .cvsignore wisplint.wisp +EXTRA_DIST = DISCLAIMER COPYING .cvsignore wisplint.wisp SUBDIRS = src doc modules tests tools debian wa web distcheck: wisplint Index: configure.in =================================================================== RCS file: /cvsroot/wisp/wisp/configure.in,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- configure.in 1 Feb 2003 13:12:16 -0000 1.73 +++ configure.in 1 Feb 2003 14:02:46 -0000 1.74 @@ -25,15 +25,17 @@ AC_SUBST(CPUTYPE) dnl Name and version of the package. -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") -AC_DEFINE_UNQUOTED(VERSION, "$VERSION") -AC_DEFINE_UNQUOTED(NOW, "`date -u +'%Y-%m-%d %T'`") +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [The name of the package.]) +AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [The version of the package.]) +AC_DEFINE_UNQUOTED(NOW, "`date -u +'%Y-%m-%d %T'`", + [Date and time of the build.]) case $host in *bsd*) HOSTNAME="`hostname`" ;; *linux*) HOSTNAME="`hostname -f`" ;; *) HOSTNAME="`hostname`" ;; # it works if we're lucky esac -AC_DEFINE_UNQUOTED(BUILDER, "`whoami`@$HOSTNAME") +AC_DEFINE_UNQUOTED(BUILDER, "`whoami`@$HOSTNAME", + [Who and where built the package.]) dnl Set the value of CFLAGS. CFLAGS="$CFLAGS -g -Wall" @@ -119,13 +121,36 @@ AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h limits.h unistd.h) AC_CHECK_HEADERS(stdint.h inttypes.h) -AC_CHECK_HEADER(gc.h, [AC_DEFINE_UNQUOTED(GC_H, <gc.h>)], - AC_CHECK_HEADER(gc/gc.h, [AC_DEFINE_UNQUOTED(GC_H, <gc/gc.h>)], - AC_MSG_ERROR(gmp.h not found))) -AC_CHECK_HEADER(gmp.h, [AC_DEFINE_UNQUOTED(GMP_H, <gmp.h>)], - AC_CHECK_HEADER(gmp2/gmp.h, [AC_DEFINE_UNQUOTED(GMP_H, <gmp2/gmp.h>)], - AC_CHECK_HEADER(gmp3/gmp.h, [AC_DEFINE_UNQUOTED(GMP_H, <gmp3/gmp.h>)], - AC_MSG_ERROR(gmp.h not found)))) + +AC_CHECK_HEADERS(gc.h gc/gc.h) +if test $ac_cv_header_gc_h = yes; then + gc_h="<gc.h>" +else + if test $ac_cv_header_gc_gc_h = yes; then + gc_h="<gc/gc.h>" + else + AC_MSG_ERROR([gc.h not found]) + fi +fi +AC_MSG_NOTICE([will use $gc_h]) +AC_DEFINE_UNQUOTED(GC_H, $gc_h, [Where gc.h happens to be.]) + +AC_CHECK_HEADERS(gmp.h gmp3/gmp.h gmp2/gmp.h) +if test $ac_cv_header_gmp_h = yes; then + gmp_h="<gmp.h>" +else + if test $ac_cv_header_gmp3_gmp_h = yes; then + gmp_h="<gmp3/gmp.h>" + else + if test $ac_cv_header_gmp2_gmp_h = yes; then + gmp_h="<gmp2/gmp.h>" + else + AC_MSG_ERROR([gmp.h not found]) + fi + fi +fi +AC_MSG_NOTICE([will use $gmp_h]) +AC_DEFINE_UNQUOTED(GMP_H, $gmp_h, [Where gmp.h happens to be.]) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST Index: wisplint.wisp =================================================================== RCS file: /cvsroot/wisp/wisp/wisplint.wisp,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- wisplint.wisp 7 Jan 2003 13:44:27 -0000 1.21 +++ wisplint.wisp 1 Feb 2003 14:02:47 -0000 1.22 @@ -2,7 +2,7 @@ ;;;; wisplint.wisp - look for lint in the source of Wisp ;; -;; Copyleft © 2002 by Andres Soolo (di...@us...) +;; Copyleft © 2003 by Andres Soolo (di...@us...) ;; This file is licensed under the GNU GPL v2. If you ;; don't know what that means, please do read the GPL. ;; @@ -98,7 +98,6 @@ "DISCLAIMER" "INSTALL" "README" - "acconfig.h" "config.guess" "config.sub" "debian/changelog" @@ -142,7 +141,6 @@ "DISCLAIMER" "INSTALL" "README" - "acconfig.h" "config.guess" "config.sub" "debian/changelog" @@ -166,7 +164,6 @@ "DISCLAIMER" "INSTALL" "README" - "acconfig.h" "debian/changelog" "debian/control" "doc/TODO" --- acconfig.h DELETED --- |