diff --git a/autoconf_share/lofar_internal.m4 b/autoconf_share/lofar_internal.m4
new file mode 100644
index 0000000000000000000000000000000000000000..e284b4b6a1598af9762fe699f1133af8c6531b9f
--- /dev/null
+++ b/autoconf_share/lofar_internal.m4
@@ -0,0 +1,38 @@
+#  lofar_internal.m4
+#
+#  Copyright (C) 2004
+#  ASTRON (Netherlands Foundation for Research in Astronomy)
+#  P.O.Box 2, 7990 AA Dwingeloo, The Netherlands, seg@astron.nl
+#
+#  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
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+#  $Id$
+
+
+# lofar_INTERNAL
+#
+# Macro to check for an INTERNAL installed package
+# It does the same as LOFAR_EXTERNAL, but gives a means to distinguish
+# internal and external packages.
+#
+# lofar_INTERNAL(package, [option], headerfile, [libraries], [searchpath].
+#            [extra_cppflags],[extra_cxxflags],[extra_ldflags],[extra_libs])
+#
+#
+AC_DEFUN([lofar_INTERNAL],dnl
+[dnl
+AC_PREREQ(2.13)dnl
+lofar_EXTERNAL($1,$2,$3,$4,$5,$6,$7,$8,$9)
+])