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:
Aleksander Morgado
2012-03-13 16:42:49 +01:00
parent 703ab2590b
commit c52762ea67
6 changed files with 3 additions and 13 deletions

View File

@@ -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)

View File

@@ -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>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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>