summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-11-02 05:44:45 +0000
committerBruce Momjian <bruce@momjian.us>2004-11-02 05:44:45 +0000
commitfa82cddfd29801344bfe205eb73d38df0a1acf22 (patch)
tree9bca8674b09c4b06c321cc3c40d52e4b82ddb1c8 /configure
parent0c3663b47dd358c7332d043a2d2c42227764afb6 (diff)
downloadpostgresql-fa82cddfd29801344bfe205eb73d38df0a1acf22.tar.gz
Move pthread.h test up to use PTHREAD_CFLAGS.
Kris Jurka
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 6 insertions, 5 deletions
diff --git a/configure b/configure
index df55dd27c3..7e0a563444 100755
--- a/configure
+++ b/configure
@@ -13848,6 +13848,12 @@ For details, compile and run src/bin/pg_thread_test.
{ (exit 1); exit 1; }; }
fi
+# Check for *_r functions
+_CFLAGS="$CFLAGS"
+_LIBS="$LIBS"
+CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+LIBS="$LIBS $PTHREAD_LIBS"
+
if test "${ac_cv_header_pthread_h+set}" = set; then
echo "$as_me:$LINENO: checking for pthread.h" >&5
echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
@@ -13959,11 +13965,6 @@ fi
-# Check for *_r functions
-_CFLAGS="$CFLAGS"
-_LIBS="$LIBS"
-CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-LIBS="$LIBS $PTHREAD_LIBS"