aboutsummaryrefslogtreecommitdiffstats
path: root/m4/macros/package_name.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/macros/package_name.m4')
-rw-r--r--m4/macros/package_name.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/macros/package_name.m4 b/m4/macros/package_name.m4
new file mode 100644
index 000000000000..27f5711bf3ed
--- /dev/null
+++ b/m4/macros/package_name.m4
@@ -0,0 +1,8 @@
+dnl ######################################################################
+dnl Package name
+AC_DEFUN([AMU_PACKAGE_NAME],
+[AC_MSG_CHECKING(package name)
+AC_DEFINE_UNQUOTED(PACKAGE_NAME, "$1")
+AC_MSG_RESULT(\"$1\")
+])
+dnl ======================================================================