bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build system bugs for bc 1.06


From: Paul Jarc
Subject: build system bugs for bc 1.06
Date: Wed, 13 Sep 2006 01:00:06 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

I couldn't find a mailing list specifically for bc.  Does it currently
have a maintainer?  Anyway, here are some build system fixes.  The
current version of flex doesn't like the -I and -8 options combined as
-I8; lib/Makefile.in assumes . is in $PATH; and the prototype for
readline() in bc/scan.l is unnecessary and missing a "const".

--- configure~  2000-10-03 14:34:02.000000000 -0400
+++ configure   2006-09-13 00:05:53.000000000 -0400
@@ -2245,7 +2245,7 @@
 
 
 if test "$LEX" = "flex" ; then
- LEX="flex -I8"
+ LEX="flex -I -8"
 else
  if test "$bcrl" = "y" ; then
   echo "configure: warning: readline works only with flex." 1>&2

--- lib/Makefile.in~    2000-11-15 15:18:51.000000000 -0500
+++ lib/Makefile.in     2006-09-13 00:05:53.000000000 -0400
@@ -270,7 +270,7 @@
 
 muldigits.h: testmul
        @echo "The following may take up to 10 minutes."
-       testmul > muldigits.h
+       ./testmul > muldigits.h
 
 testmul: testmul.o number.o
        $(CC) $(CFLAGS) -o testmul testmul.o number.o

--- bc/scan.l~  2000-09-13 14:25:25.000000000 -0400
+++ bc/scan.l   2006-09-13 00:58:12.000000000 -0400
@@ -143,7 +143,6 @@
 
 /* Definitions for readline access. */
 extern FILE *rl_instream;
-_PROTOTYPE(char *readline, (char *));
 
 /* rl_input puts upto MAX characters into BUF with the number put in
    BUF placed in *RESULT.  If the yy input file is the same as


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]