blob: ede6ec9fc04b24457e699a65b2f94623dc390656 [file] [log] [blame]
Aleksander Morgado55206162012-07-03 15:44:49 +02001dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ([2.68])
3
Aleksander Morgado306a3c92013-06-13 11:53:43 +02004dnl The QMI version number
5m4_define([qmi_major_version], [1])
Aleksander Morgadoea9b4272021-02-22 11:40:47 +01006m4_define([qmi_minor_version], [29])
Aleksander Morgado52994bd2021-03-02 12:42:30 +01007m4_define([qmi_micro_version], [2])
Aleksander Morgado306a3c92013-06-13 11:53:43 +02008m4_define([qmi_version],
9 [qmi_major_version.qmi_minor_version.qmi_micro_version])
10
Aleksander Morgado493924b2013-06-13 12:11:36 +020011dnl libtool versioning for libqmi-glib (-version-info c:r:a)
12dnl If the interface is unchanged, but the implementation has changed or
13dnl been fixed, then increment r.
14dnl Otherwise, increment c and zero r.
15dnl If the interface has grown (that is, the new library is compatible
16dnl with old code), increment a.
17dnl If the interface has changed in an incompatible way (that is,
18dnl functions have changed or been removed), then zero a.
Aleksander Morgado61c814c2020-06-20 11:31:27 +020019m4_define([qmi_glib_lt_current], [12])
Aleksander Morgado493924b2013-06-13 12:11:36 +020020m4_define([qmi_glib_lt_revision], [0])
Aleksander Morgado61c814c2020-06-20 11:31:27 +020021m4_define([qmi_glib_lt_age], [7])
Aleksander Morgado493924b2013-06-13 12:11:36 +020022
Aleksander Morgado306a3c92013-06-13 11:53:43 +020023AC_INIT([libqmi], [qmi_version], [libqmi-devel@lists.freedesktop.org])
Aleksander Morgado55206162012-07-03 15:44:49 +020024AC_CONFIG_SRCDIR([config.h.in])
25AC_CONFIG_HEADERS([config.h])
26AC_CONFIG_MACRO_DIR([m4])
27
28AM_INIT_AUTOMAKE([1.11 no-define no-dist-gzip dist-xz tar-ustar -Wno-portability])
29AM_MAINTAINER_MODE([enable])
30
31dnl Support silent build rules. Disable
32dnl by either passing --disable-silent-rules to configure or passing V=1
33dnl to make
34AM_SILENT_RULES([yes])
35
36dnl Required programs
37AC_PROG_CC
38AM_PROG_CC_C_O
39AC_PROG_INSTALL
40
41dnl Initialize libtool
42LT_PREREQ([2.2])
43LT_INIT
44
Aleksander Morgado9f31a452019-11-21 09:59:12 +010045dnl-----------------------------------------------------------------------------
46dnl Compiler warnings
47dnl
48
49dnl Make sure autoconf-archive is available
50m4_pattern_forbid([^AX_(COMPILER_FLAGS|COMPILER_FLAGS_(CFLAGS|GIR|LDFLAGS))\b],
51 [Unexpanded AX_ macro found. Please install GNU autoconf-archive])
52
53dnl Detect git or release builds
54AX_IS_RELEASE([git-directory])
55
56dnl Function type cast disabled: used throughout the code especially to
57dnl cast GAsyncReadyCallbacks with the real object type instead of GObject
58DISABLED_WARNINGS="${DISABLED_WARNINGS} -Wno-cast-function-type"
59
60dnl All message protocol structs are packed, never complain about it
61DISABLED_WARNINGS="${DISABLED_WARNINGS} -Wno-packed"
62
63dnl Setup compiler checks
64AX_COMPILER_FLAGS()
65AX_COMPILER_FLAGS_CFLAGS(,,,[${DISABLED_WARNINGS}])
66
67dnl Specify gnu89 mode
68if test "$GCC" = "yes"; then
69 CFLAGS="$CFLAGS -std=gnu89"
70fi
Aleksander Morgado388abc82012-05-18 18:59:25 +020071
Aleksander Morgado306a3c92013-06-13 11:53:43 +020072dnl Version stuff
73QMI_MAJOR_VERSION=qmi_major_version
74QMI_MINOR_VERSION=qmi_minor_version
75QMI_MICRO_VERSION=qmi_micro_version
76QMI_VERSION=qmi_version
77AC_SUBST(QMI_MAJOR_VERSION)
78AC_SUBST(QMI_MINOR_VERSION)
79AC_SUBST(QMI_MICRO_VERSION)
80AC_SUBST(QMI_VERSION)
81
Aleksander Morgado493924b2013-06-13 12:11:36 +020082dnl libtool version stuff
83QMI_GLIB_LT_CURRENT=qmi_glib_lt_current
84QMI_GLIB_LT_REVISION=qmi_glib_lt_revision
85QMI_GLIB_LT_AGE=qmi_glib_lt_age
86AC_SUBST(QMI_GLIB_LT_CURRENT)
87AC_SUBST(QMI_GLIB_LT_REVISION)
88AC_SUBST(QMI_GLIB_LT_AGE)
89
Aleksander Morgado11777532016-11-25 19:03:02 +010090dnl Required dependency versions
Aleksander Morgado6afb8022020-01-15 11:11:14 +010091GLIB_VERSION=2.48
Aleksander Morgado19daa722017-02-13 18:43:13 +010092GUDEV_VERSION=147
Aleksander Morgado11777532016-11-25 19:03:02 +010093
Aleksander Morgado6afb8022020-01-15 11:11:14 +010094GLIB_BUILD_SYMBOLS="-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_48 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_48 -DGLIB_DISABLE_DEPRECATION_WARNINGS"
Aleksander Morgado9ae5d722019-07-02 13:56:00 +020095
Aleksander Morgado11777532016-11-25 19:03:02 +010096dnl GLib, GIO...
Aleksander Morgado7caf4142013-07-10 22:41:47 +020097PKG_CHECK_MODULES(GLIB,
Aleksander Morgado19daa722017-02-13 18:43:13 +010098 glib-2.0 >= $GLIB_VERSION
Aleksander Morgado55206162012-07-03 15:44:49 +020099 gobject-2.0
Aleksander Morgadod6746172013-08-06 12:25:40 +0200100 gio-2.0
101 gio-unix-2.0)
Aleksander Morgado9ae5d722019-07-02 13:56:00 +0200102GLIB_CFLAGS="$GLIB_CFLAGS $GLIB_BUILD_SYMBOLS"
Aleksander Morgado7caf4142013-07-10 22:41:47 +0200103AC_SUBST(GLIB_CFLAGS)
104AC_SUBST(GLIB_LIBS)
Aleksander Morgado06bccb32012-04-19 18:35:56 +0200105
Lubomir Rintel9c1fef12018-04-23 15:41:12 +0200106AM_PATH_PYTHON([], [], [PYTHON=python])
107
vpodshiv2aa0bad2020-05-11 22:56:11 +0200108dnl GObject Introspection
109GOBJECT_INTROSPECTION_CHECK([0.9.6])
110
Aleksander Morgadod41d1172021-02-13 10:41:12 +0100111dnl rmnet support in the kernel
112AC_EGREP_HEADER([ifla_rmnet_flags],
113 [linux/if_link.h],
114 [enable_rmnet_support=yes],
115 [enable_rmnet_support=no])
116if test "x$enable_rmnet_support" = "xyes"; then
117 AC_DEFINE(RMNET_SUPPORT_ENABLED, 1, [Define if rmnet support is built])
118fi
119AM_CONDITIONAL([RMNET_SUPPORT_ENABLED], test "x$enable_rmnet_support" = "xyes")
120
Aleksander Morgadobb5c88b2020-04-15 15:54:16 +0200121dnl message collection (existing file in data/qmi-collection-${COLLECTION}.json)
122dnl custom collections may be added as files in data/
123AC_ARG_ENABLE(collection,
124 AS_HELP_STRING([--enable-collection=[minimal|basic|full]],
125 [message collection to build [default=full]]),
126 [enable_collection=$enableval],
127 [enable_collection=full])
128QMI_COLLECTION_NAME="$enable_collection"
129AC_SUBST(QMI_COLLECTION_NAME)
130AM_CONDITIONAL([QMI_COLLECTION_USED], test "$enable_collection" != "full")
131
Aleksander Morgado11777532016-11-25 19:03:02 +0100132dnl qmi-firmware-update is optional, enabled by default
133AC_ARG_ENABLE([firmware-update],
134 AS_HELP_STRING([--enable-firmware-update],
135 [enable compilation of `qmi-firmware-update' [default=yes]]),
136 [build_firmware_update=$enableval],
137 [build_firmware_update=yes])
Aleksander Morgadobb5c88b2020-04-15 15:54:16 +0200138
139if test "x$build_firmware_update" = "xyes"; then
140 if test "$QMI_COLLECTION_NAME" = "minimal"; then
141 AC_MSG_WARN([Cannot build qmi-firmware-update when 'minimal' collection enabled, use at least the 'basic' collection instead.])
142 build_firmware_update=no
143 fi
144fi
Aleksander Morgado11777532016-11-25 19:03:02 +0100145AM_CONDITIONAL([BUILD_FIRMWARE_UPDATE], [test "x$build_firmware_update" = "xyes"])
146
Aleksander Morgadof4cc4932017-02-15 15:17:00 +0100147dnl udev support is optional, enabled by default
148AC_ARG_WITH(udev, AS_HELP_STRING([--without-udev], [Build without udev support]), [], [with_udev=yes])
149case $with_udev in
150 yes)
151 if test "x$build_firmware_update" = "xyes"; then
152 PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= $GUDEV_VERSION], [have_gudev=yes],[have_gudev=no])
153 if test "x$have_gudev" = "xno"; then
154 AC_MSG_ERROR([Couldn't find gudev >= $GUDEV_VERSION. Install it, or otherwise configure using --without-udev to disable udev support.])
155 else
156 AC_DEFINE(WITH_UDEV, 1, [Define if you want udev support])
157 AC_SUBST(GUDEV_CFLAGS)
158 AC_SUBST(GUDEV_LIBS)
159 fi
160 else
161 with_udev="n/a"
162 fi
163 ;;
164 *)
165 with_udev=no
166 ;;
167esac
168
169dnl runtime MM check is optional, enabled by default
Aleksander Morgadofd9eb6e2017-02-23 10:42:55 +0100170AC_ARG_ENABLE(mm-runtime-check, AS_HELP_STRING([--disable-mm-runtime-check], [Build without ModemManager runtime check]), [], [enable_mm_runtime_check=yes])
171case $enable_mm_runtime_check in
Aleksander Morgadof4cc4932017-02-15 15:17:00 +0100172 yes)
173 if test "x$build_firmware_update" = "xyes"; then
Aleksander Morgadofd9eb6e2017-02-23 10:42:55 +0100174 AC_DEFINE(MM_RUNTIME_CHECK_ENABLED, 1, [Define if you want ModemManager runtime check])
Aleksander Morgadof4cc4932017-02-15 15:17:00 +0100175 else
Aleksander Morgadofd9eb6e2017-02-23 10:42:55 +0100176 enable_mm_runtime_check="n/a"
Aleksander Morgadof4cc4932017-02-15 15:17:00 +0100177 fi
178 ;;
179 *)
Aleksander Morgadofd9eb6e2017-02-23 10:42:55 +0100180 enable_mm_runtime_check=no
Aleksander Morgadof4cc4932017-02-15 15:17:00 +0100181 ;;
182esac
183
Aleksander Morgadobf4a4272012-08-02 09:48:18 +0200184dnl Documentation
Aleksander Morgadobf4a4272012-08-02 09:48:18 +0200185GTK_DOC_CHECK(1.0)
Aleksander Morgadobb5c88b2020-04-15 15:54:16 +0200186if test "x$enable_gtk_doc" = "xyes"; then
Aleksander Morgadoac92c322020-04-19 14:22:47 +0200187 if test "x$QMI_COLLECTION_NAME" != "xfull"; then
Aleksander Morgadobb5c88b2020-04-15 15:54:16 +0200188 AC_MSG_WARN([Cannot build gtk-doc when using an explicit message collection.])
189 enable_gtk_doc=no
190 fi
191fi
192AM_CONDITIONAL([ENABLE_GTK_DOC], [test "x$enable_gtk_doc" = "xyes"])
Aleksander Morgadobf4a4272012-08-02 09:48:18 +0200193
Aleksander Morgado5f49dfb2014-11-09 19:40:25 +0100194# QMI username
Roshan Pius8ddd37c2015-01-07 09:38:11 -0800195QMI_USERNAME="root"
Aleksander Morgado5f49dfb2014-11-09 19:40:25 +0100196AC_ARG_ENABLE(qmi-username,
Roshan Piusbec32bd2014-12-19 10:22:18 -0800197 AS_HELP_STRING([--enable-qmi-username=<username>], [user allowed to access QMI devices]))
198if test -n "$enable_qmi_username" ; then
Roshan Pius8ddd37c2015-01-07 09:38:11 -0800199 QMI_USERNAME_ENABLED=yes
200 AC_DEFINE(QMI_USERNAME_ENABLED, 1, [Define if we enable QMI username])
Roshan Piusbec32bd2014-12-19 10:22:18 -0800201 QMI_USERNAME="$enable_qmi_username"
Roshan Pius8ddd37c2015-01-07 09:38:11 -0800202 AC_SUBST(QMI_USERNAME)
203 AC_DEFINE_UNQUOTED(QMI_USERNAME, "$QMI_USERNAME", [Define the QMI username])
Roshan Piusbec32bd2014-12-19 10:22:18 -0800204else
Roshan Pius8ddd37c2015-01-07 09:38:11 -0800205 QMI_USERNAME_ENABLED=no
Roshan Piusbec32bd2014-12-19 10:22:18 -0800206fi
Roshan Pius8ddd37c2015-01-07 09:38:11 -0800207
208AM_CONDITIONAL([QMI_USERNAME_ENABLED], [test "x$QMI_USERNAME_ENABLED" = "xyes"])
Roshan Piusbec32bd2014-12-19 10:22:18 -0800209
Bjørn Morkfb4b2c52016-04-04 14:44:01 +0200210# MBIM QMUX service support
Aleksander Morgadoa89906c2019-01-08 14:10:53 +0100211MBIM_GLIB_VERSION=1.18.0
Aleksander Morgadof1f398c2016-06-06 15:38:48 +0200212PKG_CHECK_MODULES([MBIM], [mbim-glib >= ${MBIM_GLIB_VERSION}], [have_mbim=yes], [have_mbim=no])
Bjørn Morkfb4b2c52016-04-04 14:44:01 +0200213AC_ARG_ENABLE(mbim-qmux,
Aleksander Morgadof1f398c2016-06-06 15:38:48 +0200214 AS_HELP_STRING([--enable-mbim-qmux], [Enable support for QMI over MBIM QMUX service [default=auto]]),
215 [enable_mbim_qmux=$enableval],
216 [enable_mbim_qmux=auto])
217
218if test "x$enable_mbim_qmux" = "xauto"; then
219 enable_mbim_qmux=$have_mbim
220fi
221
222if test "x$enable_mbim_qmux" = "xyes"; then
Lubomir Rintel2f18f242016-07-08 16:57:25 +0200223 if test "x$have_mbim" = "xno"; then
Aleksander Morgadof1f398c2016-06-06 15:38:48 +0200224 AC_MSG_ERROR([Couldn't find `libmbim-glib` >= ${MBIM_GLIB_VERSION}. Install it, or otherwise configure using --disable-mbim-qmux to disable the QMI over MBIM QMUX service.])
225 fi
226 AC_DEFINE(MBIM_QMUX_ENABLED, 1, [Define if MBIM QMUX support enabled])
Bjørn Morkfb4b2c52016-04-04 14:44:01 +0200227 AC_SUBST(MBIM_CFLAGS)
228 AC_SUBST(MBIM_LIBS)
Aleksander Morgadobea38d42016-06-06 15:50:18 +0200229 QMI_MBIM_QMUX_SUPPORTED=1
230else
231 QMI_MBIM_QMUX_SUPPORTED=0
Bjørn Morkfb4b2c52016-04-04 14:44:01 +0200232fi
Aleksander Morgadobea38d42016-06-06 15:50:18 +0200233AC_SUBST(QMI_MBIM_QMUX_SUPPORTED)
Eric Carusodb6df8e2019-04-04 14:55:41 -0700234AM_CONDITIONAL([QMI_MBIM_QMUX_SUPPORTED], [test "x$QMI_MBIM_QMUX_SUPPORTED" = "x1"])
Bjørn Morkfb4b2c52016-04-04 14:44:01 +0200235
Eric Caruso8fb4cdf2018-06-08 21:54:07 -0700236# QRTR support
Aleksander Morgadobc929072021-02-18 11:44:25 +0100237QRTR_GLIB_VERSION=1.0.0
Aleksander Morgado12f4e482021-01-29 12:00:14 +0100238PKG_CHECK_MODULES([QRTR], [qrtr-glib >= ${QRTR_GLIB_VERSION}], [have_qrtr=yes], [have_qrtr=no])
Eric Caruso8fb4cdf2018-06-08 21:54:07 -0700239AC_ARG_ENABLE(qrtr,
Aleksander Morgado12f4e482021-01-29 12:00:14 +0100240 AS_HELP_STRING([--enable-qrtr], [Enable support for QMI over QRTR [default=auto]]),
Eric Caruso8fb4cdf2018-06-08 21:54:07 -0700241 [enable_qrtr=$enableval],
Aleksander Morgado3b0e0052021-01-21 18:16:14 +0100242 [enable_qrtr=auto])
Eric Caruso8fb4cdf2018-06-08 21:54:07 -0700243
244if test "x$enable_qrtr" = "xauto"; then
245 enable_qrtr=$have_qrtr
246fi
247
248if test "x$enable_qrtr" = "xyes"; then
249 if test "x$have_qrtr" = "xno"; then
Aleksander Morgado12f4e482021-01-29 12:00:14 +0100250 AC_MSG_ERROR([Couldn't find `libqrtr-glib` >= ${QRTR_GLIB_VERSION}. Install it, or otherwise configure using --disable-qrtr to disable the QMI over QRTR support.])
Eric Caruso8fb4cdf2018-06-08 21:54:07 -0700251 fi
Aleksander Morgado12f4e482021-01-29 12:00:14 +0100252 AC_DEFINE(QRTR_ENABLED, 1, [Define if QRTR QMUX support enabled])
253 AC_SUBST(QRTR_CFLAGS)
254 AC_SUBST(QRTR_LIBS)
Eric Caruso8fb4cdf2018-06-08 21:54:07 -0700255 QMI_QRTR_SUPPORTED=1
Aleksander Morgadoe2947e52021-01-21 18:15:19 +0100256 QRTR_PKGCONFIG_NAME="qrtr-glib"
Eric Caruso8fb4cdf2018-06-08 21:54:07 -0700257else
258 QMI_QRTR_SUPPORTED=0
Aleksander Morgadoe2947e52021-01-21 18:15:19 +0100259 QRTR_PKGCONFIG_NAME=""
Eric Caruso8fb4cdf2018-06-08 21:54:07 -0700260fi
261AC_SUBST(QMI_QRTR_SUPPORTED)
Aleksander Morgadoe2947e52021-01-21 18:15:19 +0100262AC_SUBST(QRTR_PKGCONFIG_NAME)
Eric Caruso8fb4cdf2018-06-08 21:54:07 -0700263AM_CONDITIONAL([QMI_QRTR_SUPPORTED], [test "x$QMI_QRTR_SUPPORTED" = "x1"])
264
Roshan Piusbec32bd2014-12-19 10:22:18 -0800265# udev base directory
266AC_ARG_WITH(udev-base-dir, AS_HELP_STRING([--with-udev-base-dir=DIR], [where udev base directory is]))
267if test -n "$with_udev_base_dir" ; then
268 UDEV_BASE_DIR="$with_udev_base_dir"
269else
270 UDEV_BASE_DIR="/lib/udev"
271fi
272AC_SUBST(UDEV_BASE_DIR)
Roshan Piusc474d342014-11-07 11:29:05 -0800273
Aleksander Morgadof0699a32013-09-04 12:32:46 +0200274dnl Man page
275AC_PATH_PROG(HELP2MAN, help2man, false)
Colin Walters0369f172013-09-04 07:11:59 -0400276AM_CONDITIONAL(BUILDOPT_MAN, test x$HELP2MAN != xfalse)
Aleksander Morgadof0699a32013-09-04 12:32:46 +0200277
Aleksander Morgado55206162012-07-03 15:44:49 +0200278AC_CONFIG_FILES([Makefile
Aleksander Morgado9182c492012-05-09 20:51:16 +0200279 data/Makefile
Aleksander Morgado55e13552012-05-24 10:15:34 +0200280 data/pkg-config/Makefile
281 data/pkg-config/qmi-glib.pc
Aleksander Morgado6ab3b7c2012-04-17 13:25:27 +0200282 build-aux/Makefile
Aleksander Morgadoc04af512012-05-09 20:16:54 +0200283 build-aux/templates/Makefile
Aleksander Morgado4c17c332012-05-09 20:29:21 +0200284 build-aux/qmi-codegen/Makefile
Aleksander Morgadodd71f842013-07-10 22:04:48 +0200285 src/Makefile
286 src/libqmi-glib/Makefile
287 src/libqmi-glib/qmi-version.h
288 src/libqmi-glib/generated/Makefile
289 src/libqmi-glib/test/Makefile
290 src/qmicli/Makefile
291 src/qmicli/test/Makefile
Aleksander Morgado852783f2013-08-06 13:01:54 +0200292 src/qmi-proxy/Makefile
Aleksander Morgado42eca202016-11-25 14:09:29 +0100293 src/qmi-firmware-update/Makefile
Aleksander Morgadoca44b382016-12-08 11:37:12 +0100294 src/qmi-firmware-update/test/Makefile
Aleksander Morgadobf4a4272012-08-02 09:48:18 +0200295 utils/Makefile
Aleksander Morgado66838882020-05-28 11:41:06 +0200296 examples/Makefile
297 examples/simple-tester-python/Makefile
Aleksander Morgadob1d52262012-08-28 14:47:29 +0200298 docs/Makefile
299 docs/reference/Makefile
300 docs/reference/libqmi-glib/Makefile
Aleksander Morgadof0699a32013-09-04 12:32:46 +0200301 docs/reference/libqmi-glib/version.xml
302 docs/man/Makefile])
Roshan Pius8ddd37c2015-01-07 09:38:11 -0800303
304if test "x$QMI_USERNAME_ENABLED" = "xyes"; then
305 AC_CONFIG_FILES([src/qmi-proxy/76-qmi-proxy-device-ownership.rules])
306fi
307
Aleksander Morgado55206162012-07-03 15:44:49 +0200308AC_OUTPUT
309
310echo "
Aleksander Morgadof65a18b2019-11-21 09:47:11 +0100311 libqmi $VERSION
Aleksander Morgado55206162012-07-03 15:44:49 +0200312 ==============================================
313
Aleksander Morgadof65a18b2019-11-21 09:47:11 +0100314 Build:
vpodshiv2aa0bad2020-05-11 22:56:11 +0200315 compiler: ${CC}
316 cflags: ${CFLAGS}
317 ldflags: ${LDFLAGS}
318 warn cflags: ${WARN_CFLAGS}
319 warn ldflags: ${WARN_LDFLAGS}
320 Maintainer mode: ${USE_MAINTAINER_MODE}
321 Documentation: ${enable_gtk_doc}
322 gobject introspection: ${found_introspection}
Aleksander Morgadof65a18b2019-11-21 09:47:11 +0100323
324 System paths:
vpodshiv2aa0bad2020-05-11 22:56:11 +0200325 prefix: ${prefix}
326 udev base directory: ${UDEV_BASE_DIR}
Aleksander Morgadof65a18b2019-11-21 09:47:11 +0100327
328 Features:
Aleksander Morgado12f4e482021-01-29 12:00:14 +0100329 QMI over MBIM: ${enable_mbim_qmux}
330 QMI over QRTR: ${enable_qrtr}
vpodshiv2aa0bad2020-05-11 22:56:11 +0200331 QMI username: ${QMI_USERNAME_ENABLED} (${QMI_USERNAME})
Aleksander Morgadod41d1172021-02-13 10:41:12 +0100332 rmnet support: ${enable_rmnet_support}
Aleksander Morgado11777532016-11-25 19:03:02 +0100333
334 Built items:
vpodshiv2aa0bad2020-05-11 22:56:11 +0200335 libqmi-glib: yes (${QMI_COLLECTION_NAME})
336 qmicli: yes
337 qmi-firmware-update: ${build_firmware_update}
338 with udev: ${with_udev}
339 with MM runtime check: ${enable_mm_runtime_check}
Aleksander Morgado55206162012-07-03 15:44:49 +0200340"