summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index dce88028d4e..089eea989f8 100755
--- a/configure
+++ b/configure
@@ -13697,9 +13697,8 @@ _ACEOF
fi
done
-CFLAGS="$_CFLAGS"
-LIBS="$_LIBS"
+# Do test here with thread flags
echo "$as_me:$LINENO: checking whether getpwuid_r takes a fifth argument" >&5
echo $ECHO_N "checking whether getpwuid_r takes a fifth argument... $ECHO_C" >&6
if test "${pgac_func_getpwuid_r_5arg+set}" = set; then
@@ -13813,6 +13812,9 @@ _ACEOF
fi
+CFLAGS="$_CFLAGS"
+LIBS="$_LIBS"
+
else
# do not use values from template file
PTHREAD_CFLAGS=