X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Rakka.git;a=blobdiff_plain;f=configure.ac;h=4f72c76916b87cbd85565e28a2194f0513eab946;hp=1a6e943a92e7158d8fde0917f1c3fa2849d7581c;hb=HEAD;hpb=03d4363a24998cd670061fde1ea4b8db8cbc5b32 diff --git a/configure.ac b/configure.ac index 1a6e943..4f72c76 100644 --- a/configure.ac +++ b/configure.ac @@ -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