[phodav] build-sys: don't use non-prefix path



commit 2f53900e88eab21b5bd023145e0a6cce3b9cfe0c
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Tue Mar 25 17:30:57 2014 +0100

    build-sys: don't use non-prefix path

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b5dab16..438ecb8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,13 +103,13 @@ fi
 
 AC_ARG_WITH([systemdsystemunitdir],
             AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
-            [], [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
+            [], [with_systemdsystemunitdir=$prefix/lib/systemd/system])
 AC_SUBST([SYSTEMDSYSTEMUNITDIR], [$with_systemdsystemunitdir])
 AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])
 
 AC_ARG_WITH([udevdir],
             AS_HELP_STRING([--with-udevdir=DIR], [Directory for udev files]),
-            [], [with_udevdir=$($PKG_CONFIG --variable=udevdir udev)])
+            [], [with_udevdir=$prefix/lib/udev])
 AC_SUBST([UDEVDIR], [$with_udevdir])
 AM_CONDITIONAL(HAVE_UDEV, [test -n "$with_udevdir"])
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]