aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in2
-rw-r--r--configure.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index b8c65235..a007708d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -27,7 +27,7 @@ RANLIB = @RANLIB@
# NeXT 1.0a uses an old version of GCC, which required -D__inline=inline.
# See also `config.h'.
-DEFS = @DEFS@
+DEFS = @DEFS@ @EXTRADEFS@
# DEFS = -DQNX -DHAVE_CONFIG_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -DSTDC_HEADERS # QNX
defines = -DRELEASE_ID=\"$(VERS)\" $(DEFS)
diff --git a/configure.in b/configure.in
index df1b5f02..d406ab2c 100644
--- a/configure.in
+++ b/configure.in
@@ -38,7 +38,7 @@ AC_CHECK_LIB(opie,opiegenerator)
dnl Port hack for Interactive UNIX System V/386 Release 3.2
AC_CHECK_LIB(cposix, strchr,
- [DEFS="$DEFS -D_SYSV3"
+ [EXTRADEFS="$EXTRADEFS -D_SYSV3"
LIBS="$LIBS -lcposix"])
AC_CHECK_FUNC(strstr, AC_DEFINE(HAVE_STRSTR),
@@ -63,6 +63,7 @@ fi
dnl All AC_CHECK_FUNCs must precede the following AC_SUBSTs
+AC_SUBST(EXTRADEFS)
AC_SUBST(EXTRASRC)
AC_SUBST(EXTRAOBJ)