From 7b85527eaee2cdcfc33d9f8c6c8e4a4908f7f58d Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 12 May 2012 23:29:07 +0300 Subject: [PATCH] Remove unused AC_SUBST variables These were apparently never used. The AC_SUBST was probably just added in a copy-and-paste manner. (The shell variables continue to be used inside configure. The change is just that we don't need them outside of configure.) --- configure | 12 ------------ configure.in | 6 ------ 2 files changed, 18 deletions(-) diff --git a/configure b/configure index 47facb96e3..85805e9f57 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 577fcc2674..926a399f09 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) #