-# $Id: Makefile.in,v 1.15 1998/02/11 12:13:39 tom Exp $
+# $Id: Makefile.in,v 1.18 1998/08/22 23:45:00 tom Exp $
##############################################################################
# Copyright (c) 1998 Free Software Foundation, Inc. #
# #
libdir = @libdir@
mandir = @mandir@
-DIRS_TO_MAKE = @DIRS_TO_MAKE@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
+DIRS_TO_MAKE = @DIRS_TO_MAKE@
all :: $(DIRS_TO_MAKE)
@ echo ' man directory: '$(mandir)
@ echo ' terminfo directory: '$(datadir)/terminfo
@ echo ''
- @ if test "$(includedir)" != "$(prefix)/include" ; then \
- echo '** Include-directory is not in a standard location'; fi
+ @ test "$(includedir)" = "$(prefix)/include" || \
+ echo '** Include-directory is not in a standard location'
+ @ test ! -f $(includedir)/termcap.h || \
+ fgrep NCURSES_VERSION $(includedir)/termcap.h >/dev/null || \
+ echo '** Will overwrite non-ncurses termcap.h'
+ @ test ! -f $(includedir)/curses.h || \
+ fgrep NCURSES_VERSION $(includedir)/curses.h >/dev/null || \
+ echo '** Will overwrite non-ncurses curses.h'
# Put the common rules here so that we can easily construct the list of
# directories to visit.