summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-09-20 16:18:30 +0200
committerSimon Josefsson <simon@josefsson.org>2007-09-20 16:18:30 +0200
commitc80c9b85811accd68d1b2343646d523257843ed1 (patch)
tree8faa815e3cf8fc64d082338fbe76afbc3e5ff03f
parentfc6b450c951b2fa1f0a608a31b7ef35fbe94fdac (diff)
downloadgnutls-c80c9b85811accd68d1b2343646d523257843ed1.tar.gz
Move CFLAGS setting further down, to make AC_PROG_CC add -g to it.
-rw-r--r--configure.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index ad23d965d9..04a04056cb 100644
--- a/configure.in
+++ b/configure.in
@@ -55,11 +55,6 @@ AC_SUBST(MINOR_VERSION, `echo $PACKAGE_VERSION | sed 's/.*\.\(.*\)\..*/\1/g'`)
AC_SUBST(PATCH_VERSION, `echo $PACKAGE_VERSION | sed 's/.*\..*\.\(.*\)/\1/g'`)
AC_SUBST(NUMBER_VERSION, `printf "0x%02x%02x%02x" $MAJOR_VERSION $MINOR_VERSION $PATCH_VERSION`)
-dnl In order to use the reentrant libc functions.
-dnl I hope it is portable enough.
-CFLAGS="${CFLAGS} -D_REENTRANT -D_THREAD_SAFE"
-AM_CFLAGS="${CFLAGS}"
-
opt_dmalloc_mode=no
AC_MSG_CHECKING([whether in dmalloc mode])
AC_ARG_ENABLE(dmalloc-mode,
@@ -119,6 +114,11 @@ lgl_EARLY
AC_C_CONST
AC_C_INLINE
+dnl In order to use the reentrant libc functions.
+dnl I hope it is portable enough.
+CFLAGS="${CFLAGS} -D_REENTRANT -D_THREAD_SAFE"
+AM_CFLAGS="${CFLAGS}"
+
AC_ARG_ENABLE(cxx,
AS_HELP_STRING([--disable-cxx],
[unconditionally disable the C++ library]),