aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-06-22 15:09:35 -0700
committerBen Pfaff <blp@nicira.com>2011-06-22 15:09:59 -0700
commit0a89c170f40b908ea6fb30469c8d0c009dd41c2b (patch)
tree207b483b322170b1cc78ce3e6ab3fe38e87ba558 /acinclude.m4
parent71fe9970f7bc88a20b307e55f924c21029af98f2 (diff)
configure: Fix --with-linux when environment contains KSRC.
When "configure"'s environment contains KSRC, "configure" would use it in preference to the value specified on --with-linux. This caused a problem for module-assistant builds in particular.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 59c0c745..e89e0e9f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -57,6 +57,8 @@ AC_DEFUN([OVS_CHECK_LINUX], [
elif test X"$with_l26_source" != X; then
KSRC=$with_l26_source
AC_MSG_WARN([--with-l26-source is deprecated, please use --with-linux-source instead])
+ else
+ KSRC=
fi
elif test X"$with_linux_source" != X || test X"$with_l26_source" != X; then
AC_MSG_ERROR([Linux source directory may not be specified without Linux build directory])