This define is never set, because there are no checks for the ast library. The checks using this define will never succeed, so they can be removed.
#include <ctype.h>
-#ifdef HAVE_AST
-#include <ast.h>
-#include <vmalloc.h>
-#else
#ifdef HAVE_VMALLOC
#include <vmalloc.h>
#endif /* HAVE_VMALLOC */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNISTD_H */
-#endif /* HAVE_AST */
#ifdef DEBUG
#include <assert.h>
#else
/* memory management discipline and entry points */
-#if defined(HAVE_AST) || defined(HAVE_VMALLOC)
+#if defined(HAVE_VMALLOC)
/* vmalloc based allocator */
static void *memopen(void)
/* for sincos */
#define _GNU_SOURCE 1
-#ifdef HAVE_AST
-#include <ast.h>
-#include <vmalloc.h>
-#else
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#endif
#include <inttypes.h>
#include <assert.h>