diff options
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | misc-utils/Makemodule.am | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 35f80b80a..d5b33a601 100644 --- a/configure.ac +++ b/configure.ac @@ -1136,6 +1136,9 @@ AM_CONDITIONAL([BUILD_NAMEI], [test "x$build_namei" = xyes]) UL_BUILD_INIT([whereis], [yes]) AM_CONDITIONAL([BUILD_WHEREIS], [test "x$build_whereis" = xyes]) +UL_BUILD_INIT([getopt], [yes]) +AM_CONDITIONAL([BUILD_GETOPT], [test "x$build_getopt" = xyes]) + UL_BUILD_INIT([blockdev], [check]) UL_REQUIRES_LINUX([blockdev]) diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am index 9e643bfa1..94e0958f8 100644 --- a/misc-utils/Makemodule.am +++ b/misc-utils/Makemodule.am @@ -162,6 +162,7 @@ dist_man_MANS += misc-utils/rename.1 rename_SOURCES = misc-utils/rename.c endif +if BUILD_GETOPT usrbin_exec_PROGRAMS += getopt dist_man_MANS += misc-utils/getopt.1 getopt_SOURCES = misc-utils/getopt.c @@ -169,3 +170,4 @@ getoptexampledir = $(docdir)/getopt/ dist_getoptexample_SCRIPTS = \ misc-utils/getopt-parse.bash \ misc-utils/getopt-parse.tcsh +endif |