|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
clisp-cvs Digest, Vol 43, Issue 8Send clisp-cvs mailing list submissions to
clisp-cvs@... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/clisp-cvs or, via email, send a message with subject or body 'help' to clisp-cvs-request@... You can reach the person managing the list at clisp-cvs-owner@... When replying, please edit your Subject line so it is more specific than "Re: Contents of clisp-cvs digest..." CLISP CVS commits for today Today's Topics: 1. clisp/src ChangeLog,1.7195,1.7196 makemake.in,1.891,1.892 (Sam Steingold) 2. clisp/src ChangeLog,1.7196,1.7197 makemake.in,1.892,1.893 (Sam Steingold) 3. clisp/modules/syscalls calls.c,1.288,1.289 (Sam Steingold) 4. clisp/src ChangeLog,1.7197,1.7198 (Sam Steingold) ---------------------------------------------------------------------- Message: 1 Date: Wed, 11 Nov 2009 19:13:02 +0000 From: Sam Steingold <sds@...> Subject: clisp/src ChangeLog,1.7195,1.7196 makemake.in,1.891,1.892 To: clisp-cvs@... Message-ID: <E1N8Ico-0005nr-IZ@...> Update of /cvsroot/clisp/clisp/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22293/src Modified Files: ChangeLog makemake.in Log Message: (cpu): fail when not set Index: makemake.in =================================================================== RCS file: /cvsroot/clisp/clisp/src/makemake.in,v retrieving revision 1.891 retrieving revision 1.892 diff -u -d -r1.891 -r1.892 --- makemake.in 10 Nov 2009 19:27:42 -0000 1.891 +++ makemake.in 11 Nov 2009 19:13:00 -0000 1.892 @@ -1097,12 +1097,6 @@ # was: case $TSYS in mips | ip* | sgi | risc | r4000) cpu=mips ;; esac -if [ "$host_cpu" = mips ] ; then - cpu=mips -fi -if [ "$host_cpu" = mips64 ] ; then - cpu=mips64 -fi if [ "$host_cpu" = i386 -o "$host_cpu" = i486 -o "$host_cpu" = i586 -o "$host_cpu" = i686 -o "$host_cpu" = i786 -o $TSYS = i386 -o $TSYS = i486 -o $TSYS = i586 -o $TSYS = i686 -o $TSYS = i786 -o $TOS = win32 ] ; then cpu=i386 fi @@ -1111,6 +1105,8 @@ arm*) cpu=arm ;; x86_64) cpu=x86_64 ;; ia64) cpu=ia64 ;; + mips) cpu=mips ;; + mips64*) cpu=mips64 ;; esac # Probably obsolete. # case $TSYS in 9000/7* | 9000/8* | hp7*) @@ -1118,6 +1114,10 @@ # cpu=hppa ;; # esac +if test -z "$cpu"; then + echo "$0: failed to set cpu" >&2; exit 1; +fi + if [ "${verbose}" = true -o "${verbose}" = yes ]; then cat <<EOF >&2 # host system: Index: ChangeLog =================================================================== RCS file: /cvsroot/clisp/clisp/src/ChangeLog,v retrieving revision 1.7195 retrieving revision 1.7196 diff -u -d -r1.7195 -r1.7196 --- ChangeLog 10 Nov 2009 22:43:18 -0000 1.7195 +++ ChangeLog 11 Nov 2009 19:12:58 -0000 1.7196 @@ -1,3 +1,7 @@ +2009-11-11 Sam Steingold <sds@...> + + * makemake.in (cpu): fail when not set + 2009-11-10 Sam Steingold <sds@...> * configure (ffi_modules): fix the configure.in test for module ------------------------------ Message: 2 Date: Wed, 11 Nov 2009 19:19:43 +0000 From: Sam Steingold <sds@...> Subject: clisp/src ChangeLog,1.7196,1.7197 makemake.in,1.892,1.893 To: clisp-cvs@... Message-ID: <E1N8IjH-00061D-SX@...> Update of /cvsroot/clisp/clisp/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23132/src Modified Files: ChangeLog makemake.in Log Message: (fail): add function, use everywhere Index: makemake.in =================================================================== RCS file: /cvsroot/clisp/clisp/src/makemake.in,v retrieving revision 1.892 retrieving revision 1.893 diff -u -d -r1.892 -r1.893 --- makemake.in 11 Nov 2009 19:13:00 -0000 1.892 +++ makemake.in 11 Nov 2009 19:19:41 -0000 1.893 @@ -9,6 +9,8 @@ HSDEFAULT="http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec" hyperspec=${CLHSROOT:-${HSDEFAULT}} +fail () { echo "$0: $*" >&2; exit 1; } + info_help () { cat << EOP Usage: ./makemake [options] [debug] > Makefile @@ -256,7 +258,7 @@ package=`echol "$1" | sed -e 's/^-*without-//' -e 's/^-*with-no-*//'` # Delete all the valid chars; see if any are left. if test -n "`echol $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then - echol "$0: $package: invalid package name" >&2; exit 1 + fail "$package: invalid package name" fi my_eval "with_`echol $package|sed s/-/_/g`=no" test "$package" = dynamic-modules -o "$package" = dynamic-ffi || \ @@ -271,9 +273,8 @@ esac package=`echol "${package}" | sed -e 's/=.*//'` # Delete all the valid chars; see if any are left. - if test -n "`echol $package|sed 's/[-a-zA-Z0-9_]*//g'`"; then - echol "$0: $package: invalid package name" >&2; exit 1 - fi + test -n "`echol $package|sed 's/[-a-zA-Z0-9_]*//g'`" && \ + fail "$package: invalid package name"; if test "${packopt}" = "on"; then packopt=yes else @@ -289,9 +290,8 @@ -disable-* | --disable-*) feature=`echol "$1"|sed 's/-*disable-//'` # Delete all the valid chars; see if any are left. - if test -n "`echol $feature|sed 's/[-a-zA-Z0-9_]*//g'`"; then - echol "$0: $feature: invalid feature name" >&2; exit 1 - fi + test -n "`echol $feature|sed 's/[-a-zA-Z0-9_]*//g'`" && \ + fail "$feature: invalid feature name" feature=`echol $feature | sed 's/-/_/g'` my_eval "enable_$feature=no" module_configure_flags="$module_configure_flags $1" @@ -300,9 +300,8 @@ -enable-* | --enable-*) feature=`echol "$1"|sed 's/-*enable-//'` # Delete all the valid chars; see if any are left. - if test -n "`echol $feature|sed 's/[-a-zA-Z0-9_]*//g'`"; then - echol "$0: $feature: invalid feature name" >&2; exit 1 - fi + test -n "`echol $feature|sed 's/[-a-zA-Z0-9_]*//g'`" && \ + fail "$feature: invalid feature name" feature=`echol $feature | sed 's/-/_/g'` my_eval "enable_$feature=yes" module_configure_flags="$module_configure_flags $1" @@ -681,7 +680,7 @@ CFLAGS=${CFLAGS}" -Zi -Od -GZ" fi ;; - *) echol "$0: unsupported compiler [${COMPILER}]" >&2; exit 1 + *) fail "unsupported compiler [${COMPILER}]" ;; esac fi @@ -1114,9 +1113,7 @@ # cpu=hppa ;; # esac -if test -z "$cpu"; then - echo "$0: failed to set cpu" >&2; exit 1; -fi +test -z "$cpu" && fail "failed to set cpu" if [ "${verbose}" = true -o "${verbose}" = yes ]; then cat <<EOF >&2 @@ -1315,7 +1312,7 @@ ;; msvc7) XCPP="$XCPP -D_MSC_VER=1300 -D_INTEGRAL_MAX_BITS=64 -I\$(MSVCDIR)/PlatformSDK/include" ;; - *) echol "$0: unsupported compiler [${COMPILER}]" >&2; exit 1 + *) fail "unsupported compiler [${COMPILER}]" ;; esac XCFLAGS="$CFLAGS -U__GNUC__ -DANSI -D_M_IX86=500 -D_WIN32 -I\$(MSVCDIR)/include" @@ -1440,8 +1437,7 @@ darwin*) XCC_CREATESHARED='${CC} -bundle -flat_namespace -undefined suppress -o $lib $libs' ;; - *) - echo "$0: how do you create a shared library on ${host_os}?" >&2; + *) echo "$0: how do you create a shared library on ${host_os}?" >&2; ;; esac fi @@ -1597,15 +1593,12 @@ else FILES='libnoreadline.a '$FILES if grep "#undef HAVE_READLINE" config.h >/dev/null 2>&1; then - if [ "${with_readline}" != ifpossible ]; then - # --with-readline was supplied ==> barf when readline is missing - echol "$0: configure failed to detect readline" >&2 - exit 1 - fi + # --with-readline was supplied ==> barf when readline is missing + test "${with_readline}" != ifpossible && \ + fail "configure failed to detect readline" else # readline is present - if [ "${with_dynamic_ffi}" != no ]; then + test "${with_dynamic_ffi}" != no && \ BASE_MODULES=${BASE_MODULES}" readline" - fi fi fi @@ -2803,9 +2796,7 @@ break fi done - if test -z "${LINGUAS}"; then - echol "$0: missing ${srcdir}/po/LINGUAS" >&2; exit 1 - fi + test -z "${LINGUAS}" && fail "missing ${srcdir}/po/LINGUAS" for lang in ${LINGUAS}; do echotab "mkdir -p locale${NEXT_}${lang}${NEXT_}LC_MESSAGES" echotab "\$(LN_S) po${NEXT_}${lang}.gmo locale${NEXT_}${lang}${NEXT_}LC_MESSAGES${NEXT_}clisp.mo" Index: ChangeLog =================================================================== RCS file: /cvsroot/clisp/clisp/src/ChangeLog,v retrieving revision 1.7196 retrieving revision 1.7197 diff -u -d -r1.7196 -r1.7197 --- ChangeLog 11 Nov 2009 19:12:58 -0000 1.7196 +++ ChangeLog 11 Nov 2009 19:19:41 -0000 1.7197 @@ -1,6 +1,7 @@ 2009-11-11 Sam Steingold <sds@...> * makemake.in (cpu): fail when not set + (fail): add function, use everywhere 2009-11-10 Sam Steingold <sds@...> ------------------------------ Message: 3 Date: Wed, 11 Nov 2009 21:50:05 +0000 From: Sam Steingold <sds@...> Subject: clisp/modules/syscalls calls.c,1.288,1.289 To: clisp-cvs@... Message-ID: <E1N8L4n-0002Ob-5K@...> Update of /cvsroot/clisp/clisp/modules/syscalls In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9175/modules/syscalls Modified Files: calls.c Log Message: (unused): undef unused before all the system includes and do not restore it because it is not used here Index: calls.c =================================================================== RCS file: /cvsroot/clisp/clisp/modules/syscalls/calls.c,v retrieving revision 1.288 retrieving revision 1.289 diff -u -d -r1.288 -r1.289 --- calls.c 2 Oct 2009 10:55:13 -0000 1.288 +++ calls.c 11 Nov 2009 21:50:02 -0000 1.289 @@ -17,6 +17,12 @@ #include "clisp.h" #include "config.h" +/* bug #[ 1507628 ]: #define unused (void) breaks clisp 2.38 on arm + the reason is that <sys/user.h> uses `unused' as a struct field. + it is included by <sys/procfs.h> which is included by <sys/ucontext.h> + which is included by <signal.h> which is included by <sys/wait.h> */ +#undef unused + #if defined(HAVE_SYS_TIME_H) # include <sys/time.h> #endif @@ -56,7 +62,7 @@ #endif #include <limits.h> #if !defined(NZERO) /* should be defined in <limits.h> */ -# define NZERO 20 +# define NZERO 20 #endif #if defined(HAVE_SYSLOG_H) # include <syslog.h> @@ -65,14 +71,7 @@ # include <utmpx.h> #endif #if defined(HAVE_SIGNAL_H) -/* bug #[ 1507628 ]: #define unused (void) breaks clisp 2.38 on arm */ -# undef unused -# include <signal.h> /* used unused */ -# ifdef GNU /* see lispbibl.d */ -# define unused (void) -# else -# define unused -# endif +# include <signal.h> #endif #if defined(HAVE_FCNTL_H) # include <fcntl.h> ------------------------------ Message: 4 Date: Wed, 11 Nov 2009 21:50:06 +0000 From: Sam Steingold <sds@...> Subject: clisp/src ChangeLog,1.7197,1.7198 To: clisp-cvs@... Message-ID: <E1N8L4o-0002Of-Aq@...> Update of /cvsroot/clisp/clisp/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9175/src Modified Files: ChangeLog Log Message: (unused): undef unused before all the system includes and do not restore it because it is not used here Index: ChangeLog =================================================================== RCS file: /cvsroot/clisp/clisp/src/ChangeLog,v retrieving revision 1.7197 retrieving revision 1.7198 diff -u -d -r1.7197 -r1.7198 --- ChangeLog 11 Nov 2009 19:19:41 -0000 1.7197 +++ ChangeLog 11 Nov 2009 21:50:02 -0000 1.7198 @@ -1,5 +1,10 @@ 2009-11-11 Sam Steingold <sds@...> + * modules/syscalls/calls.c (unused): undef unused before all the + system includes and do not restore it because it is not used here + +2009-11-11 Sam Steingold <sds@...> + * makemake.in (cpu): fail when not set (fail): add function, use everywhere ------------------------------ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ------------------------------ _______________________________________________ clisp-cvs mailing list clisp-cvs@... https://lists.sourceforge.net/lists/listinfo/clisp-cvs End of clisp-cvs Digest, Vol 43, Issue 8 **************************************** ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ clisp-devel mailing list clisp-devel@... https://lists.sourceforge.net/lists/listinfo/clisp-devel |
| Free embeddable forum powered by Nabble | Forum Help |