summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 87c5726..fd04ab9 100644
--- a/configure.in
+++ b/configure.in
@@ -48,6 +48,9 @@ AC_USG
AC_DYNIX_SEQ
AC_XENIX_DIR
+test -n "$CFLAGS" && CFLAGS=-g AC_SUBST(CFLAGS)
+test -n "$LDFLAGS" && LDFLAGS=-g AC_SUBST(LDFLAGS)
+
AC_OUTPUT(Makefile build.sh glob/Makefile)
dnl Local Variables: