Avoid duplicate "/etc/krb5.conf" in profile path
authorTom Yu <tlyu@mit.edu>
Tue, 25 Feb 2014 22:35:35 +0000 (17:35 -0500)
committerTom Yu <tlyu@mit.edu>
Wed, 26 Feb 2014 17:44:43 +0000 (12:44 -0500)
commit8df1965d1ccdbcb8d74a3e68ad35d7579db9ac44
tree59b3c47000f2f998c52aea8c53c305d282ef4acb
parent1121a7fa68f44167471dc94cf5795a838587e84c
Avoid duplicate "/etc/krb5.conf" in profile path

If configure gets run with --sysconfdir=/etc, "/etc/krb5.conf" shows
up twice in the profile path, which causes its contents to be read
twice.  This can cause some confusing and possibly problematic
behavior.

Add some logic to configure.in to avoid adding the duplicate entry for
"/etc/krb5.conf".

Reported independently by Denis Vlasenko and Fredrik Tolf.

ticket: 3277
tags: pullup
target_version: 1.12.2
src/configure.in
src/include/Makefile.in
src/include/osconf.hin