diff --git a/configure b/configure
index 47facb96e3cab5ed873b2f04a2a7c94360b96a34..85805e9f571d38cfe877a203c5a849d010865b4a 100755
--- a/configure
+++ b/configure
@@ -717,12 +717,7 @@ XML2_CONFIG
 with_ossp_uuid
 with_selinux
 with_openssl
-with_bonjour
-with_ldap
-with_pam
 krb_srvtab
-with_krb5
-with_gssapi
 with_python
 with_perl
 with_tcl
@@ -747,7 +742,6 @@ enable_coverage
 GENHTML
 LCOV
 GCOV
-enable_profiling
 enable_debug
 enable_rpath
 enable_shared
@@ -2621,7 +2615,6 @@ fi
 
 
 
-
 #
 # --enable-coverage enables generation of code coverage metrics with gcov
 #
@@ -5380,7 +5373,6 @@ fi
 { $as_echo "$as_me:$LINENO: result: $with_gssapi" >&5
 $as_echo "$with_gssapi" >&6; }
 
-
 #
 # Kerberos 5
 #
@@ -5426,7 +5418,6 @@ $as_echo "$with_krb5" >&6; }
 
 
 
-
 #
 # Kerberos configuration parameters
 #
@@ -5503,7 +5494,6 @@ fi
 $as_echo "$with_pam" >&6; }
 
 
-
 #
 # LDAP
 #
@@ -5543,7 +5533,6 @@ fi
 $as_echo "$with_ldap" >&6; }
 
 
-
 #
 # Bonjour
 #
@@ -5583,7 +5572,6 @@ fi
 $as_echo "$with_bonjour" >&6; }
 
 
-
 #
 # OpenSSL
 #
diff --git a/configure.in b/configure.in
index 577fcc2674e8cf5176d18db83e04087c93e85f70..926a399f09e8636707ef5b7ad46f576adfd4cf62 100644
--- a/configure.in
+++ b/configure.in
@@ -195,7 +195,6 @@ AC_SUBST(enable_debug)
 #
 PGAC_ARG_BOOL(enable, profiling, no,
               [build with profiling enabled ])
-AC_SUBST(enable_profiling)
 
 #
 # --enable-coverage enables generation of code coverage metrics with gcov
@@ -605,7 +604,6 @@ PGAC_ARG_BOOL(with, gssapi, no, [build with GSSAPI support],
   krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
 ])
 AC_MSG_RESULT([$with_gssapi])
-AC_SUBST(with_gssapi)
 
 #
 # Kerberos 5
@@ -617,7 +615,6 @@ PGAC_ARG_BOOL(with, krb5, no, [build with Kerberos 5 support],
   krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
 ])
 AC_MSG_RESULT([$with_krb5])
-AC_SUBST(with_krb5)
 
 
 AC_SUBST(krb_srvtab)
@@ -642,7 +639,6 @@ PGAC_ARG_BOOL(with, pam, no,
               [build with PAM support],
               [AC_DEFINE([USE_PAM], 1, [Define to 1 to build with PAM support. (--with-pam)])])
 AC_MSG_RESULT([$with_pam])
-AC_SUBST(with_pam)
 
 
 #
@@ -653,7 +649,6 @@ PGAC_ARG_BOOL(with, ldap, no,
               [build with LDAP support],
               [AC_DEFINE([USE_LDAP], 1, [Define to 1 to build with LDAP support. (--with-ldap)])])
 AC_MSG_RESULT([$with_ldap])
-AC_SUBST(with_ldap)
 
 
 #
@@ -664,7 +659,6 @@ PGAC_ARG_BOOL(with, bonjour, no,
               [build with Bonjour support],
               [AC_DEFINE([USE_BONJOUR], 1, [Define to 1 to build with Bonjour support. (--with-bonjour)])])
 AC_MSG_RESULT([$with_bonjour])
-AC_SUBST(with_bonjour)
 
 
 #