summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a0b8fdd..6035620 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,10 +24,13 @@ AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([sys/stat.h])
AC_HEADER_STAT
+AC_CHECK_HEADERS([stdarg.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_RESTRICT
+AC_C_STRINGIZE
+AC_TYPE_SIZE_T
AC_TYPE_UINT8_T
# Checks for library functions.
@@ -48,4 +51,8 @@ AM_COND_IF(DEBUG,
AC_DEFINE(DEBUG, 1, [Define to 0 if this is a release build]),
AC_DEFINE(DEBUG, 0, [Define to 1 or higher if this is a debug build]))
+# Defines
+AC_DEFINE(DIRSEP, [/], [The directory separator in a file system path])
+AC_DEFINE(PATHSEP, [:], [The separator of PATH components])
+
AC_OUTPUT