summaryrefslogtreecommitdiff
path: root/configure.ac
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
commit6f2c793046d2a98b142d1e39bfae81b6d8e3fca7 (patch)
treefb6a1ad88891ebf2cf8447660487fac890bf023d /configure.ac
parentb89da66b5bc922148cb4ec2b30cc751c827c9f64 (diff)
add fPIC, necessary for python build
Diffstat (limited to 'configure.ac')
-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)