From: Kay Sievers Date: Mon, 29 Dec 2008 05:20:17 +0000 (+0100) Subject: build: default to --prefix=/usr --exec-prefix="" X-Git-Tag: 174~1234 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=109d114578a785c33fae01af2bea4ea88dda3def;p=systemd build: default to --prefix=/usr --exec-prefix="" --- diff --git a/configure.ac b/configure.ac index e9519a78..377a27e5 100644 --- a/configure.ac +++ b/configure.ac @@ -9,6 +9,10 @@ AC_DISABLE_STATIC AC_SYS_LARGEFILE AC_PROG_LIBTOOL +dnl /* prefix is /usr, exec_prefix in /, if overridden exec_prefix follows prefix */ +AC_PREFIX_DEFAULT([/usr]) +test "$prefix" = NONE && test "$exec_prefix" = NONE && exec_prefix= + dnl /* libudev version */ LIBUDEV_LT_CURRENT=0 LIBUDEV_LT_REVISION=6