aboutsummaryrefslogtreecommitdiffstats
path: root/m4/macros/localconfig.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/macros/localconfig.m4')
-rw-r--r--m4/macros/localconfig.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/m4/macros/localconfig.m4 b/m4/macros/localconfig.m4
new file mode 100644
index 000000000000..8efc6c1ec54d
--- /dev/null
+++ b/m4/macros/localconfig.m4
@@ -0,0 +1,13 @@
+dnl ######################################################################
+dnl check if a local configuration file exists
+AC_DEFUN([AMU_LOCALCONFIG],
+[AC_MSG_CHECKING(a local configuration file)
+if test -f localconfig.h
+then
+ AC_DEFINE(HAVE_LOCALCONFIG_H)
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_RESULT(no)
+fi
+])
+dnl ======================================================================