~ chicken-core (chicken-5) a767c9b3cdc8df30a74516c64e411c14da53d050


commit a767c9b3cdc8df30a74516c64e411c14da53d050
Author:     Peter Bex <peter@more-magic.net>
AuthorDate: Wed Oct 20 09:38:45 2021 +0200
Commit:     Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Thu Dec 23 22:17:53 2021 +0100

    Remove obsolete HAVE_CONFIG_H check in runtime.c
    
    We never define this, only HAVE_CHICKEN_CONFIG_H, so this
    entire block of #ifdef can be removed.
    
    Also, PACKAGE and VERSION are not used anywhere, so it's
    pointless to undefine them.
    
    Signed-off-by: Mario Domenech Goulart <mario@parenteses.org>

diff --git a/chicken.h b/chicken.h
index 02fea9be..6a8df909 100644
--- a/chicken.h
+++ b/chicken.h
@@ -44,7 +44,7 @@
 /*
  * N.B. This file MUST not rely upon "chicken-config.h"
  */
-#if defined(HAVE_CONFIG_H) || defined(HAVE_CHICKEN_CONFIG_H)
+#if defined(HAVE_CHICKEN_CONFIG_H)
 # include "chicken-config.h"
 #endif
 
diff --git a/runtime.c b/runtime.c
index c46cde6f..981996f4 100644
--- a/runtime.c
+++ b/runtime.c
@@ -130,20 +130,6 @@ static C_TLS int timezone;
 # include <mach-o/dyld.h>
 #endif
 
-#ifdef HAVE_CONFIG_H
-# ifdef PACKAGE
-#  undef PACKAGE
-# endif
-# ifdef VERSION
-#  undef VERSION
-# endif
-# include <chicken-config.h>
-
-# ifndef HAVE_ALLOCA
-#  error this package requires "alloca()"
-# endif
-#endif
-
 /* Parameters: */
 
 #define RELAX_MULTIVAL_CHECK
Trap