diff --git a/config.d/svga.m4 b/config.d/svga.m4 index d5ec23059..7fc66aa90 100644 --- a/config.d/svga.m4 +++ b/config.d/svga.m4 @@ -2,7 +2,7 @@ dnl Checks for SVGALib support AC_ARG_WITH(svga, [ --with-svga=DIR use SVGALib found in DIR], HAVE_SVGA=$withval, HAVE_SVGA=auto) -if test "x$HAVE_SVGA" != xno; then +if test "x$HAVE_SVGA" != xno -a "x$HAVE_SVGA" != xauto; then if test "x$HAVE_SVGA" != xauto; then SVGA_CFLAGS="$SVGA_CFLAGS -I$withval/include" SVGA_LIBS="$SVGA_LIBS -L$withval/lib"