diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2008-06-17 14:59:49 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2008-06-17 14:59:49 +0000 |
commit | f53ad40ff58534291c8a684086a31b34f4255f6a (patch) | |
tree | bbcaef978495fa0b90fd0e16bba7cbfa80833b7f /configure.in | |
parent | e5e54ab6b348db30baa69fac25a6ea765e6de77f (diff) | |
download | neon-f53ad40ff58534291c8a684086a31b34f4255f6a.tar.gz |
* configure.in: Build PIC objects in default configuration, unless
non-PIC explicitly requested.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1451 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 60a00cf..3664d55 100644 --- a/configure.in +++ b/configure.in @@ -151,6 +151,10 @@ fi # to not export these from the built library if possible. NEON_LINK_FLAGS="$NEON_LINK_FLAGS -export-symbols-regex '^ne_[[^_]]'" +if test x${enable_shared}${pic_mode}z = xnodefaultz; then + CFLAGS="$CFLAGS -prefer-pic" +fi + # Bundled language catalogs ALL_LINGUAS="cs de fr ja nn pl ru tr zh_CN" AC_SUBST(ALL_LINGUAS) |