summaryrefslogtreecommitdiff
path: root/dmake/acinclude.m4
diff options
context:
space:
mode:
authorMartin Hollmichel <mh@openoffice.org>2001-04-20 13:15:45 +0000
committerMartin Hollmichel <mh@openoffice.org>2001-04-20 13:15:45 +0000
commitb0b969c93e5c62812f48274ff62c8c593bee4ee8 (patch)
treed91acd0bfb296a49f4f0195834b4209195670c94 /dmake/acinclude.m4
parentd3e05102c06a8086f5113ba4367122e1092ac566 (diff)
preparation for autoconf and automake for dmake
Diffstat (limited to 'dmake/acinclude.m4')
-rwxr-xr-xdmake/acinclude.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/dmake/acinclude.m4 b/dmake/acinclude.m4
new file mode 100755
index 000000000000..fd362816728f
--- /dev/null
+++ b/dmake/acinclude.m4
@@ -0,0 +1,14 @@
+## -*- autoconf -*-
+
+dnl set the dmake root
+AC_DEFUN(AC_SET_DMAKEROOT,
+[
+if test "${prefix}" != NONE; then
+ DMAKEROOT=${prefix}/share/startup/startup.mk
+ export DMAKEROOT
+else
+ DMAKEROOT=startup.mk
+ export DMAKEROOT
+fi
+])
+