From 109d114578a785c33fae01af2bea4ea88dda3def Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 29 Dec 2008 06:20:17 +0100 Subject: [PATCH] build: default to --prefix=/usr --exec-prefix="" --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index e9519a78f..377a27e59 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 -- 2.30.2