diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-29 06:17:20 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-29 06:17:20 +0100 |
commit | d243992a01ee00fa31028fdd55257b4f822d2493 (patch) | |
tree | 72824c07033d3afbd591db247d42bbec9603e4c7 /configure.ac | |
parent | 023a5d359ad189b35b34a5f628bf838a9616d679 (diff) |
build: default to --prefix=/usr --exec-prefix=""
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d7f397e..cd0e2b7 100644 --- a/configure.ac +++ b/configure.ac @@ -12,6 +12,10 @@ AM_PROG_CC_C_O AC_PROG_INSTALL 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 ensure that when the Automake generated makefile calls aclocal, dnl it honours the $ACLOCAL_FLAGS environment variable ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}" @@ -77,6 +81,8 @@ echo " udev-extras $VERSION ==================== + prefix: ${prefix} + exec_prefix: ${exec_prefix} udev_prefix: ${udev_prefix} datarootdir: ${datarootdir} mandir: ${mandir} |