summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-12-29 06:20:17 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-12-29 06:20:17 +0100
commit109d114578a785c33fae01af2bea4ea88dda3def (patch)
tree90f4354e18fc7a78b4bd7cadd61a361d201a216e /configure.ac
parent64be143742a487e826068e906d1bfb180acdb0ae (diff)
build: default to --prefix=/usr --exec-prefix=""
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
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