Skip to content

Commit 7b85527

Browse files
committed
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.)
1 parent 31ad655 commit 7b85527

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

configure

-12
Original file line numberDiff line numberDiff line change
@@ -717,12 +717,7 @@ XML2_CONFIG
717717
with_ossp_uuid
718718
with_selinux
719719
with_openssl
720-
with_bonjour
721-
with_ldap
722-
with_pam
723720
krb_srvtab
724-
with_krb5
725-
with_gssapi
726721
with_python
727722
with_perl
728723
with_tcl
@@ -747,7 +742,6 @@ enable_coverage
747742
GENHTML
748743
LCOV
749744
GCOV
750-
enable_profiling
751745
enable_debug
752746
enable_rpath
753747
enable_shared
@@ -2621,7 +2615,6 @@ fi
26212615

26222616

26232617

2624-
26252618
#
26262619
# --enable-coverage enables generation of code coverage metrics with gcov
26272620
#
@@ -5380,7 +5373,6 @@ fi
53805373
{ $as_echo "$as_me:$LINENO: result: $with_gssapi" >&5
53815374
$as_echo "$with_gssapi" >&6; }
53825375

5383-
53845376
#
53855377
# Kerberos 5
53865378
#
@@ -5426,7 +5418,6 @@ $as_echo "$with_krb5" >&6; }
54265418

54275419

54285420

5429-
54305421
#
54315422
# Kerberos configuration parameters
54325423
#
@@ -5503,7 +5494,6 @@ fi
55035494
$as_echo "$with_pam" >&6; }
55045495

55055496

5506-
55075497
#
55085498
# LDAP
55095499
#
@@ -5543,7 +5533,6 @@ fi
55435533
$as_echo "$with_ldap" >&6; }
55445534

55455535

5546-
55475536
#
55485537
# Bonjour
55495538
#
@@ -5583,7 +5572,6 @@ fi
55835572
$as_echo "$with_bonjour" >&6; }
55845573

55855574

5586-
55875575
#
55885576
# OpenSSL
55895577
#

configure.in

-6
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ AC_SUBST(enable_debug)
195195
#
196196
PGAC_ARG_BOOL(enable, profiling, no,
197197
[build with profiling enabled ])
198-
AC_SUBST(enable_profiling)
199198

200199
#
201200
# --enable-coverage enables generation of code coverage metrics with gcov
@@ -605,7 +604,6 @@ PGAC_ARG_BOOL(with, gssapi, no, [build with GSSAPI support],
605604
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
606605
])
607606
AC_MSG_RESULT([$with_gssapi])
608-
AC_SUBST(with_gssapi)
609607

610608
#
611609
# Kerberos 5
@@ -617,7 +615,6 @@ PGAC_ARG_BOOL(with, krb5, no, [build with Kerberos 5 support],
617615
krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
618616
])
619617
AC_MSG_RESULT([$with_krb5])
620-
AC_SUBST(with_krb5)
621618

622619

623620
AC_SUBST(krb_srvtab)
@@ -642,7 +639,6 @@ PGAC_ARG_BOOL(with, pam, no,
642639
[build with PAM support],
643640
[AC_DEFINE([USE_PAM], 1, [Define to 1 to build with PAM support. (--with-pam)])])
644641
AC_MSG_RESULT([$with_pam])
645-
AC_SUBST(with_pam)
646642

647643

648644
#
@@ -653,7 +649,6 @@ PGAC_ARG_BOOL(with, ldap, no,
653649
[build with LDAP support],
654650
[AC_DEFINE([USE_LDAP], 1, [Define to 1 to build with LDAP support. (--with-ldap)])])
655651
AC_MSG_RESULT([$with_ldap])
656-
AC_SUBST(with_ldap)
657652

658653

659654
#
@@ -664,7 +659,6 @@ PGAC_ARG_BOOL(with, bonjour, no,
664659
[build with Bonjour support],
665660
[AC_DEFINE([USE_BONJOUR], 1, [Define to 1 to build with Bonjour support. (--with-bonjour)])])
666661
AC_MSG_RESULT([$with_bonjour])
667-
AC_SUBST(with_bonjour)
668662

669663

670664
#

0 commit comments

Comments
 (0)