Not quoted $build_mt in 'test $build_mt = yes' statement caused './configure: line 26866: test: =: unary operator expected' error.
* configure.ac (CPIO_MT_COND): If-fork based on "${enable_mt-no}". --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index c68bd44..d83a0a0 100644 --- a/configure.ac +++ b/configure.ac @@ -60,10 +60,9 @@ CPIO_SYSDEP CPIO_PACKED_STRUCTS AC_ARG_ENABLE(mt, - AC_HELP_STRING([--enable-mt], [Enable building of mt program]), - [build_mt=$enableval]) + AC_HELP_STRING([--enable-mt], [Enable building of mt program])) -AM_CONDITIONAL([CPIO_MT_COND], [test $build_mt = yes]) +AM_CONDITIONAL([CPIO_MT_COND], [test "${enable_mt-no}" = yes]) AC_CHECK_HEADERS([unistd.h stdlib.h string.h fcntl.h pwd.h grp.h sys/io/trioctl.h utmp.h getopt.h locale.h libintl.h sys/wait.h utime.h locale.h process.h sys/ioctl.h]) -- 2.1.0