X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=acinclude.m4;h=81e9948807f765afce9e2e1870e59eb880b67a2d;hb=b5e80aecc4b10f73196f272598bac0644f196471;hp=abbc57e61c83e0bce84b77a7fcd3345edd30d7df;hpb=e0510a6c9b4b82b90ccf564368c1bbdcfdeb7410;p=openvswitch diff --git a/acinclude.m4 b/acinclude.m4 index abbc57e6..81e99488 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -24,6 +24,10 @@ AC_DEFUN([OVS_CHECK_LINUX26], [ [KBUILD26="$withval"], [KBUILD26=])dnl if test -n "$KBUILD26"; then KBUILD26=`eval echo "$KBUILD26"` + case $KBUILD26 in + /*) ;; + *) KBUILD26=`pwd`/$KBUILD26 ;; + esac # The build directory is what the user provided. # Make sure that it exists.