diff options
author | Karel Zak | 2014-05-21 13:26:56 +0200 |
---|---|---|
committer | Karel Zak | 2014-05-21 13:26:56 +0200 |
commit | 3adaaa154e5d57c1862a1adb74855d5da2413c1b (patch) | |
tree | d5022d148aeabbe82e271acf1f32fbf0f58b6731 | |
parent | build-sys: add BUILD_{BLKID,FINDFS,WIPEFS,FINDMNT} (diff) | |
download | kernel-qcow2-util-linux-3adaaa154e5d57c1862a1adb74855d5da2413c1b.tar.gz kernel-qcow2-util-linux-3adaaa154e5d57c1862a1adb74855d5da2413c1b.tar.xz kernel-qcow2-util-linux-3adaaa154e5d57c1862a1adb74855d5da2413c1b.zip |
build-sys: add BUILD_GETOPT
Signed-off-by: Karel Zak <kzak@redhat.com>
-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 |