]> arthur.barton.de Git - netatalk.git/commitdiff
fix --enable-fhs
authorHAT <hat@fa2.so-net.ne.jp>
Mon, 11 Jun 2012 14:59:24 +0000 (23:59 +0900)
committerHAT <hat@fa2.so-net.ne.jp>
Mon, 11 Jun 2012 14:59:24 +0000 (23:59 +0900)
macros/netatalk.m4

index ed57db0ccb07f7e1c7be7d9bcc4e354b1b79e398..71c72447c5bbb0321252c2770a201eaee51824ac 100644 (file)
@@ -36,12 +36,16 @@ AC_MSG_CHECKING([whether to use Filesystem Hierarchy Standard (FHS) compatibilit
 AC_ARG_ENABLE(fhs,
        [  --enable-fhs            use Filesystem Hierarchy Standard (FHS) compatibility],[
        if test "$enableval" = "yes"; then
-               uams_path="${libdir}/netatalk"
+               bindir="/bin"
+               sbindir="/sbin"
                sysconfdir="/etc"
-               PKGCONFDIR=${sysconfdir}/netatalk
-               SERVERTEXT="${PKGCONFDIR}/msg"
-               use_pam_so=yes
+               libdir="/lib"
+               localstatedir="/var"
                mandir="/usr/share/man"
+               uams_path="${libdir}/netatalk"
+               PKGCONFDIR="${sysconfdir}"
+               SERVERTEXT="${localstatedir}/netatalk/msg"
+               use_pam_so=yes
                AC_DEFINE(FHS_COMPATIBILITY, 1, [Define if you want compatibily with the FHS])
                AC_MSG_RESULT([yes])
        else