File pidentd-3.1a25-autoconf.diff of Package pidentd
--- Makefile.in
+++ Makefile.in
@@ -31,8 +31,8 @@
install: all
@cd src ; $(MAKE) install
- -mkdir -p $(mandir)/man8
- $(INSTALL) -m 644 $(srcdir)/doc/identd.8 $(mandir)/man8
+ -mkdir -p $(DESTDIR)$(mandir)/man8
+ $(INSTALL) -m 644 $(srcdir)/doc/identd.8 $(DESTDIR)$(mandir)/man8
clean mostlyclean distclean maintainer-clean dist sign upload version:
--- configure.in
+++ configure.in
@@ -1,7 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_PREFIX_DEFAULT(/usr/local)
-
dnl Try to locate a usable type definition
AC_DEFUN(AC_CHECK_TYPE2, [
AC_CHECK_TYPE($2, $4)
--- plib/configure.in
+++ plib/configure.in
@@ -1,7 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_PREFIX_DEFAULT(/usr/local)
-
dnl Try to locate a usable type definition
AC_DEFUN(AC_CHECK_TYPE2, [
AC_CHECK_TYPE($2, $4)
@@ -120,7 +118,7 @@
AC_PROG_INSTALL
AC_PROG_MAKE_SET
-AC_PROG_RANLIB
+AC_PROG_LIBTOOL
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h sys/filio.h sys/sendfile.h)
--- src/Makefile.in
+++ src/Makefile.in
@@ -73,7 +73,7 @@
install: $(PROGRAMS)
-mkdir -p $(sbindir)
for P in $(PROGRAMS) ; do \
- $(INSTALL) -m 755 $${P} $(sbindir); \
+ $(INSTALL) -m 755 $${P} $(DESTDIR)$(sbindir); \
done
# -mkdir -p $(etcdir)
# $(INSTALL) -m 644 identd.conf $(etcdir)