]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - configure.ac
rc file for NetBSD
[Rakka.git] / configure.ac
index 39ea4188390a82a188250528f6462b45e0ded325..50604f870d7c3bf37bf4b9ea6f46a1f44d552a72 100644 (file)
@@ -1,4 +1,4 @@
-AC_INIT([Rakka], [], [phonohawk at ps dot sakura dot ne dot jp])
+AC_INIT([Rakka], [], [pho at cielonegro dot org])
 
 AC_CONFIG_SRCDIR([Rakka.cabal])
 
@@ -9,27 +9,20 @@ AC_CONFIG_SRCDIR([Rakka.cabal])
 if test "x$prefix" = "xNONE"; then
    prefix=$ac_default_prefix
 fi
+if test "x$exec_prefix" = "xNONE"; then
+   exec_prefix="$prefix"
+fi
 
 RAKKA_LOCALSTATEDIR=`eval echo "$localstatedir"`/rakka
 AC_SUBST([RAKKA_LOCALSTATEDIR])
 
-
-# Since the Cabal executes ./configure with no arguments, the only way
-# we can receive options from user is to see environment variables.
-AC_ARG_VAR([BUILD_TEST_SUITE], [build and install the test suite. (yes / no) (default: no)])
-if test "$BUILD_TEST_SUITE" = ""; then
-  BUILD_TEST_SUITE=False
-elif test "$BUILD_TEST_SUITE" = "yes"; then
-  BUILD_TEST_SUITE=True
-elif test "$BUILD_TEST_SUITE" = "no"; then
-  BUILD_TEST_SUITE=False
-else
-  AC_MSG_ERROR([BUILD_TEST_SUITE must be either yes or no.])
-fi
+RAKKA_BINDIR=`eval echo "$bindir"`
+AC_SUBST([RAKKA_BINDIR])
 
 
 AC_CONFIG_FILES([
         Rakka.buildinfo
+        rc.d/NetBSD/rakka
 ])
 AC_OUTPUT