diff options
Diffstat (limited to 'aclocal')
-rw-r--r-- | aclocal/enable-drvmgr.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/aclocal/enable-drvmgr.m4 b/aclocal/enable-drvmgr.m4 new file mode 100644 index 0000000000..489f60e75f --- /dev/null +++ b/aclocal/enable-drvmgr.m4 @@ -0,0 +1,12 @@ +AC_DEFUN([RTEMS_ENABLE_DRVMGR], +[ +## AC_BEFORE([$0], [RTEMS_CHECK_DRVMGR_STARTUP])dnl + +AC_ARG_ENABLE(drvmgr, +[AS_HELP_STRING([--enable-drvmgr],[enable Driver Manager at Startup])], +[case "${enableval}" in + yes) RTEMS_DRVMGR_STARTUP=yes ;; + no) RTEMS_DRVMGR_STARTUP=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for enable-drvmgr option) ;; +esac],[RTEMS_DRVMGR_STARTUP=yes]) +]) |