Signed-off-by: Xavier Boudet <x-boudet@ti.com>
Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
common.c
libgbm_la_LIBADD = \
- @UDEV_LIBS@
+ @LIBUDEV_LIBS@
libgbm_la_CFLAGS = \
- @UDEV_CFLAGS@ \
+ @LIBUDEV_CFLAGS@ \
-D_OS_UNIX=1 \
-DMODULEDIR='"$(exec_prefix)/lib/gbm"'
AC_PROG_LIBTOOL
# Obtain compiler/linker options for dependencies
-PKG_CHECK_MODULES(UDEV, udev)
-PKG_CHECK_MODULES(DRM, libdrm)
+PKG_CHECK_MODULES([LIBUDEV], [libudev])
+PKG_CHECK_MODULES([DRM], [libdrm])
AC_CONFIG_FILES([Makefile gbm.pc])
AC_OUTPUT