Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -13141,7 +13141,7 @@ system)
 	CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS"
     fi
 
-    if test "$with_gmp_exec_prefix" != "yes" ; then
+    if test "yes$with_gmp_exec_prefix" != "yes" ; then
 	LDFLAGS="-L$with_gmp_exec_prefix/lib $LDFLAGS"
     fi
     ;;
@@ -15884,8 +15884,8 @@ Name: @PACKAGE_NAME@
 Description: @PACKAGE_DESCRIPTION@
 Version: @PACKAGE_VERSION@
 Requires: @PACKAGE_REQUIRES@
-Libs: -L\${libdir} @LDFLAGS@ @LIBS@
-Cflags: -I\${includedir} @CPPFLAGS@
+Libs: -L\${libdir} @LIBS@
+Cflags: -I\${includedir}
 AXEOF
 fi # DONE generate $pkgconfig_generate.in
 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
