]> err.no Git - systemd/commitdiff
build: default to --prefix=/usr --exec-prefix=""
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 29 Dec 2008 05:20:17 +0000 (06:20 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 29 Dec 2008 05:20:17 +0000 (06:20 +0100)
configure.ac

index e9519a78f0f3c4b773a947b0a04f777fd0b4b886..377a27e59ed46408e4be8d49029fcf555ecf16cb 100644 (file)
@@ -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