]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - configure.ac
merge branch origin/master
[Rakka.git] / configure.ac
index 1a6e943a92e7158d8fde0917f1c3fa2849d7581c..4f72c76916b87cbd85565e28a2194f0513eab946 100644 (file)
@@ -1,19 +1,26 @@
-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])
 
+
 # $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
+if test "x$exec_prefix" = "xNONE"; then
+   exec_prefix="$prefix"
+fi
 
 RAKKA_LOCALSTATEDIR=`eval echo "$localstatedir"`/rakka
 AC_SUBST([RAKKA_LOCALSTATEDIR])
 
-AC_CONFIG_FILES([
-        Rakka.buildinfo
-])
+RAKKA_BINDIR=`eval echo "$bindir"`
+AC_SUBST([RAKKA_BINDIR])
+
+
+AC_CONFIG_FILES([Rakka.buildinfo])
+AC_CONFIG_FILES([rc.d/NetBSD/rakka], [chmod +x rc.d/NetBSD/rakka])
 AC_OUTPUT