--- Makefile.am.orig Mon Jan 8 18:00:14 2001 +++ Makefile.am Mon Jun 11 11:44:42 2001 @@ -4,24 +4,18 @@ pam_ldap_so_SOURCES = pam_ldap.c pam_ldap.h md5.c md5.h pam_ldap_so_LDFLAGS = @pam_ldap_so_LDFLAGS@ +CPPFLAGS = @CPPFLAGS@ -DLDAP_CONF_FILE=\"$(sysconfdir)/ldap.conf\" install-exec-local: pam_ldap.so @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(libdir)/security -if EXTENSION_SO - $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so -else - $(INSTALL_PROGRAM) -o root -g root pam_ldap.so $(DESTDIR)$(libdir)/security/pam_ldap.so.1 - -rm -f $(DESTDIR)$(libdir)/security/pam_ldap.so - -ln -s $(DESTDIR)$(libdir)/security/pam_ldap.so.1 $(DESTDIR)$(libdir)/security/pam_ldap.so -endif + $(INSTALL_PROGRAM) -o root -g wheel pam_ldap.so $(DESTDIR)$(libdir)/pam_ldap.so install-data-local: @$(NORMAL_INSTALL) - @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf; then \ + @if test ! -f $(DESTDIR)$(sysconfdir)/ldap.conf.dist; then \ $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \ - $(INSTALL_DATA) -o root -g root $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf; \ + $(INSTALL_DATA) -o root -g wheel $(srcdir)/ldap.conf $(DESTDIR)$(sysconfdir)/ldap.conf.dist; \ fi uninstall-local: