commit: 069f29525716dd37eb717f789622966d59ee9626
parent 8dbc68529b6d8c11d1104bcb7bebcfb64ad51a59
Author: Michael Forney <mforney@mforney.org>
Date: Sun, 22 Oct 2017 21:03:13 -0700
bc: Don't use config-posix.h
Diffstat:
2 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/pkg/bc/config.h b/pkg/bc/config.h
@@ -1,35 +1,35 @@
-#include <config-posix.h>
-
#define BC_COPYRIGHT "Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc."
#define DC_COPYRIGHT "Copyright 1994, 1997, 1998, 2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc."
#define DC_VERSION "1.3.95"
/* #undef HAVE_DOPRNT */
+#define HAVE_ERRNO_H 1
+#define HAVE_FSTAT 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_ISGRAPH 1
/* #undef HAVE_LIB_H */
+#define HAVE_LIMITS_H 1
#define HAVE_MEMORY_H 1
+#define HAVE_SETVBUF 1
+#define HAVE_STDARG_H 1
+#define HAVE_STDDEF_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_STRING_H 1
+#define HAVE_STRTOL 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_VPRINTF 1
/* #undef LIBEDIT */
#define PACKAGE "bc"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "bc"
#define PACKAGE_STRING "bc 1.06.95"
#define PACKAGE_TARNAME "bc"
-#define PACKAGE_URL ""
#define PACKAGE_VERSION "1.06.95"
/* #undef READLINE */
-#ifndef _ALL_SOURCE
-# define _ALL_SOURCE 1
-#endif
-#ifndef _GNU_SOURCE
-# define _GNU_SOURCE 1
-#endif
-#ifndef _POSIX_PTHREAD_SEMANTICS
-# define _POSIX_PTHREAD_SEMANTICS 1
-#endif
-#ifndef _TANDEM_SOURCE
-# define _TANDEM_SOURCE 1
-#endif
-#ifndef __EXTENSIONS__
-# define __EXTENSIONS__ 1
-#endif
+#define STDC_HEADERS 1
#define VERSION "1.06.95"
/* #undef YYTEXT_POINTER */
/* #undef _MINIX */
diff --git a/pkg/bc/gen.lua b/pkg/bc/gen.lua
@@ -1,6 +1,5 @@
cflags{
'-D HAVE_CONFIG_H',
- '-I include',
'-I $dir',
'-I $srcdir/h',
}