diff --git a/configure.ac b/configure.ac index b029a705..e3526578 100644 --- a/configure.ac +++ b/configure.ac @@ -71,6 +71,15 @@ EOF exit 1 fi +dnl Do not use --with-pic for shared libraries (consider to use PIE) +if test "$enable_static" = "yes" -a "$pic_mode" = "yes"; then +cat <