summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 5c88496509..aab31d06a7 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -657,10 +657,10 @@ case "$host_os" in
;;
esac
-# try to work out how to produce pic code with this compiler
-AC_PROG_CC_FLAG(fpic)
-if test $ac_cv_prog_cc_fpic = yes; then
- PICFLAG="-fpic";
+# try to work out how to produce PIC code with this compiler
+AC_PROG_CC_FLAG(fPIC)
+if test $ac_cv_prog_cc_fPIC = yes; then
+ PICFLAG="-fPIC";
fi
if test x$PICFLAG = x; then
AC_PROG_CC_FLAG(KPIC)