]> gitweb @ CieloNegro.org - blackboard-dns.git/blobdiff - configure.ac
buildinfo thingy
[blackboard-dns.git] / configure.ac
diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..408ad3c
--- /dev/null
@@ -0,0 +1,17 @@
+AC_INIT([blackboard-dns], [], [pho at cielonegro dot org])
+AC_CONFIG_SRCDIR([blackboard-dns.cabal])
+
+# $localstatedir has a reference to ${prefix} but the ${prefix} is
+# "NONE" at this time. AC_OUTPUT changes the value of ${prefix} from
+# "NONE" to $ac_default_prefix but it's too late!
+if test "x$prefix" = "xNONE"; then
+   prefix=$ac_default_prefix
+fi
+
+DDNS_LOCALSTATEDIR=`eval echo "$localstatedir"`/blackboard-dns
+AC_SUBST([DDNS_LOCALSTATEDIR])
+
+AC_CONFIG_FILES([
+        blackboard-dns.buildinfo
+])
+AC_OUTPUT