From 9e436a8b9c6f60340b75382741c13b2c51d16ec0 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 20 Mar 2005 20:55:27 +0000 Subject: [PATCH] include the thread defs after they have been found not before git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@322 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/program/configure.ac b/program/configure.ac index 39a70632..06d7ba79 100644 --- a/program/configure.ac +++ b/program/configure.ac @@ -250,12 +250,6 @@ AC_SUBST(MULTITHREAD_LDFLAGS) AC_ARG_ENABLE(pthread,[ --disable-pthread disable multithread support], [],[enable_pthread=yes]) -dnl since we use lots of *_r functions all over the code we better -dnl make sure they are known - -if test "x$x_rflag" != "xno"; then - CPPFLAGS="$CPPFLAGS $x_rflag" -fi if test $enable_pthread != no; then ACX_PTHREAD([ @@ -265,6 +259,12 @@ if test $enable_pthread != no; then []) fi +dnl since we use lots of *_r functions all over the code we better +dnl make sure they are known + +if test "x$x_rflag" != "xno"; then + CPPFLAGS="$CPPFLAGS $x_rflag" +fi AM_CONDITIONAL(BUILD_MULTITHREAD,[test $enable_pthread != no]) -- 2.30.2