diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-29 06:20:17 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-29 06:20:17 +0100 |
commit | 109d114578a785c33fae01af2bea4ea88dda3def (patch) | |
tree | 90f4354e18fc7a78b4bd7cadd61a361d201a216e /configure.ac | |
parent | 64be143742a487e826068e906d1bfb180acdb0ae (diff) |
build: default to --prefix=/usr --exec-prefix=""
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e9519a78f0..377a27e59e 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 |