@@ -714,6 +714,10 @@ if test "${x_libraries}" = "NONE"; then
...
@@ -714,6 +714,10 @@ if test "${x_libraries}" = "NONE"; then
x_libraries="/usr/X11R6/lib"
x_libraries="/usr/X11R6/lib"
fi
fi
dnl it seems that autoconf do the pkg-config detection only for the first PKG_CHECK_MODULES in the configure.ac ( which is logical) but in our case it is nested in a if so it was not working if you're not on linux or have disable hal.
PKG_PROG_PKG_CONFIG()
dnl Check for hal
dnl Check for hal
AC_ARG_ENABLE(hal,
AC_ARG_ENABLE(hal,
[ --enable-hal Linux HAL services discovery (default enabled)])
[ --enable-hal Linux HAL services discovery (default enabled)])
...
@@ -2168,7 +2172,7 @@ dnl Look for a ffmpeg-config (we are on debian )
...
@@ -2168,7 +2172,7 @@ dnl Look for a ffmpeg-config (we are on debian )