summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-06-18 21:03:33 -0400
committerChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-06-18 21:03:33 -0400
commitc4a8ec7677eaf72c71d8409475ed0f2ca9f9b14d (patch)
tree609f50d3c0f11b09d9975c1222fb5b999940fd5b
parent6d7219c6091e4dd1b6434bc6ec0645a3282d4883 (diff)
add fPIC, necessary for python build
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0635e8dc..19498794 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,6 +130,6 @@ then
AM_CONDITIONAL([GLC], true)
fi
-CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H"
+CPPFLAGS="-fPIC $CPPFLAGS -DHAVE_CONFIG_H"
AC_OUTPUT(Makefile rst_parser/Makefile utils/Makefile mteval/Makefile extools/Makefile decoder/Makefile phrasinator/Makefile training/Makefile training/liblbfgs/Makefile dpmert/Makefile pro-train/Makefile rampion/Makefile klm/util/Makefile klm/lm/Makefile mira/Makefile dtrain/Makefile gi/pyp-topics/src/Makefile gi/clda/src/Makefile gi/pf/Makefile gi/markov_al/Makefile)