diff --git a/configure b/configure
index 6ac580789259fedeffe9b36a6e5944fb8e99b693..3fe8d43fced110e252c072166aac25b2b01b950f 100755
--- a/configure
+++ b/configure
@@ -494,7 +494,7 @@ for opt do
   ;;
   --enable-pp) pp="yes"
   ;;
-  --enable-shared-pp) shared_pp="yes"
+  --enable-shared-pp) pp="yes"; shared_pp="yes"
   ;;
   --enable-libgsm) libgsm="yes"
     extralibs="$extralibs -lgsm"