chicken-janitors
[Top][All Lists]
Advanced

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

#1768: Wrong macro added to chicken-config.h in Makefile.cross-linux-min


From: Chicken Trac
Subject: #1768: Wrong macro added to chicken-config.h in Makefile.cross-linux-mingw
Date: Sun, 27 Jun 2021 09:09:59 -0000

#1768: Wrong macro added to chicken-config.h in Makefile.cross-linux-mingw
--------------------------------+--------------------------
            Reporter:  lattay   |       Type:  defect
              Status:  new      |   Priority:  minor
           Milestone:  someday  |  Component:  build system
             Version:  5.2.0    |   Keywords:
Estimated difficulty:  trivial  |
--------------------------------+--------------------------
 Hi,
 I noticed that there is a mistake in Makefile.cross-linux-mingw.
 In the process of creating chicken-config.h, this Makefile declares
 HAVE_ALLOCA_H when it should declare HAVE_ALLOCA only.
 Here is a "patch":

 {{{
 diff --git a/Makefile.cross-linux-mingw b/Makefile.cross-linux-mingw
 index 929e140..6d6a690 100644
 --- a/Makefile.cross-linux-mingw
 +++ b/Makefile.cross-linux-mingw
 @@ -105,7 +105,7 @@ chicken-config.h: chicken-defaults.h
         echo "#define HAVE_UNISTD_H 1" >>$@
         echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>$@
         echo "#define STDC_HEADERS 1" >>$@
 -       echo "#define HAVE_ALLOCA_H 1" >>$@
 +       echo "#define HAVE_ALLOCA 1" >>$@
         echo "#define HAVE_DIRECT_H 1" >>$@
         echo "#define HAVE_ERRNO_H 1" >>$@
         echo "#define HAVE_LOADLIBRARY 1" >>$@
 }}}

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1768>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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