build: require gudev >= 147
Since udev 147 the gudev API is no longer marked as experimental, and therefore `G_UDEV_API_IS_SUBJECT_TO_CHANGE' is no longer needed.
This commit is contained in:
@@ -86,7 +86,7 @@ PKG_CHECK_MODULES(MMCLI,
|
|||||||
AC_SUBST(MMCLI_CFLAGS)
|
AC_SUBST(MMCLI_CFLAGS)
|
||||||
AC_SUBST(LIBMM_LIBS)
|
AC_SUBST(LIBMM_LIBS)
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GUDEV, gudev-1.0)
|
PKG_CHECK_MODULES(GUDEV, gudev-1.0 >= 147)
|
||||||
AC_SUBST(GUDEV_CFLAGS)
|
AC_SUBST(GUDEV_CFLAGS)
|
||||||
AC_SUBST(GUDEV_LIBS)
|
AC_SUBST(GUDEV_LIBS)
|
||||||
|
|
||||||
|
@@ -20,8 +20,6 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <gmodule.h>
|
#include <gmodule.h>
|
||||||
|
|
||||||
#define G_UDEV_API_IS_SUBJECT_TO_CHANGE
|
|
||||||
#include <gudev/gudev.h>
|
#include <gudev/gudev.h>
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
|
@@ -18,18 +18,15 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <gudev/gudev.h>
|
||||||
|
|
||||||
#include <ModemManager.h>
|
#include <ModemManager.h>
|
||||||
#include <mm-errors-types.h>
|
#include <mm-errors-types.h>
|
||||||
|
|
||||||
#define G_UDEV_API_IS_SUBJECT_TO_CHANGE
|
|
||||||
#include <gudev/gudev.h>
|
|
||||||
|
|
||||||
#include "mm-plugin-base.h"
|
#include "mm-plugin-base.h"
|
||||||
#include "mm-port-probe-cache.h"
|
#include "mm-port-probe-cache.h"
|
||||||
#include "mm-at-serial-port.h"
|
#include "mm-at-serial-port.h"
|
||||||
|
@@ -18,8 +18,6 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
#define G_UDEV_API_IS_SUBJECT_TO_CHANGE
|
|
||||||
#include <gudev/gudev.h>
|
#include <gudev/gudev.h>
|
||||||
|
|
||||||
#include "mm-plugin.h"
|
#include "mm-plugin.h"
|
||||||
|
@@ -19,8 +19,6 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
#define G_UDEV_API_IS_SUBJECT_TO_CHANGE
|
|
||||||
#include <gudev/gudev.h>
|
#include <gudev/gudev.h>
|
||||||
|
|
||||||
#include "mm-port-probe-at.h"
|
#include "mm-port-probe-at.h"
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#define G_UDEV_API_IS_SUBJECT_TO_CHANGE
|
|
||||||
#include <gudev/gudev.h>
|
#include <gudev/gudev.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Reference in New Issue
Block a user