diff options
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 333cb84..d897753 100644 --- a/configure.ac +++ b/configure.ac @@ -39,6 +39,11 @@ AC_CHECK_HEADER([linux/version.h],, [AC_MSG_ERROR([*** Sorry, you have to instal AC_SUBST(PACKAGE_URL, [http://0pointer.de/lennart/ifmetric/]) +if test -d /usr/local/stow ; then + AC_MSG_NOTICE([*** Found /usr/local/stow: installing to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***]) + AC_PREFIX_DEFAULT([/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}]) +fi + # If using GCC specifiy some additional parameters if test "x$GCC" = "xyes" ; then CFLAGS="$CFLAGS -pipe -Wall" |