summaryrefslogtreecommitdiff
path: root/m4/make.m4
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2003-05-07 20:59:08 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2003-05-07 20:59:08 +0000
commitee029043e5da73cc5b68bee3c76d217f9b0c1722 (patch)
tree816efffc81d2d92232bc911cdfccc4db3cd7bb12 /m4/make.m4
parentbb1e661b4b5b3d77b4b790f77cf855570e33e8d7 (diff)
downloadautomake-ee029043e5da73cc5b68bee3c76d217f9b0c1722.tar.gz
* m4/make.m4: Rename the doit target as am__doit,
and make it phony. Reported by Philip S Tellis.
Diffstat (limited to 'm4/make.m4')
-rw-r--r--m4/make.m411
1 files changed, 6 insertions, 5 deletions
diff --git a/m4/make.m4 b/m4/make.m4
index 6e359d894..a8a9fd80a 100644
--- a/m4/make.m4
+++ b/m4/make.m4
@@ -1,6 +1,6 @@
# Check to see how 'make' treats includes. -*- Autoconf -*-
-# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
# 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
@@ -25,8 +25,9 @@
AC_DEFUN([AM_MAKE_INCLUDE],
[am_make=${MAKE-make}
cat > confinc << 'END'
-doit:
+am__doit:
@echo done
+.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
@@ -54,8 +55,8 @@ if test "$am__include" = "#"; then
_am_result=BSD
fi
fi
-AC_SUBST(am__include)
-AC_SUBST(am__quote)
-AC_MSG_RESULT($_am_result)
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])