* ./configure.ac.in: complain when ALSA headers are not found but
authorSam Hocevar <sam@videolan.org>
Fri, 31 Jan 2003 09:48:43 +0000 (09:48 +0000)
committerSam Hocevar <sam@videolan.org>
Fri, 31 Jan 2003 09:48:43 +0000 (09:48 +0000)
    --enable-alsa was specified.

configure.ac.in

index 287e18b..9a483bb 100644 (file)
@@ -2138,6 +2138,8 @@ AC_ARG_ENABLE(alsa,
      then
        PLUGINS="${PLUGINS} alsa"
        LDFLAGS_alsa="${LDFLAGS_alsa} -lasound -lm -ldl"
+     else
+       AC_MSG_ERROR([Could not find ALSA development headers])
      fi
    fi])