#
# It is part of adns, which is
# Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
-# Copyright (C) 1999 Tony Finch <dot@dotat.at>
+# Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
lib_dir= $(exec_prefix)/lib
include_dir= $(prefix)/include
-INSTALL= @INSTALL@
+AC_INSTALL= @INSTALL@
+ifeq ($(AC_INSTALL),./install-sh -c)
+INSTALL= $(srcdir)/../$(AC_INSTALL)
+else
+INSTALL= $(AC_INSTALL)
+endif
+
INSTALL_PROGRAM= $(INSTALL) -m 755 $(INSTALL_PROGRAM_FLAGS)
INSTALL_DATA= $(INSTALL) -m 644