diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-12-21 08:54:32 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-12-21 08:54:32 +0000 |
commit | 14e2f9fa34011804421997c7a47d16d7f1e504ca (patch) | |
tree | 3f1b699200434a241c12aae7e2c1345f5b6fa705 /configure.ac | |
parent | 300a89ceb0c110b73985496890aae21233194cc6 (diff) | |
download | cpio-14e2f9fa34011804421997c7a47d16d7f1e504ca.tar.gz cpio-14e2f9fa34011804421997c7a47d16d7f1e504ca.tar.bz2 |
New option --enable-mt
Check for locale.h
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4ac68d1..d5286a2 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,14 @@ cpio_GNULIB AC_SUBST(CPIO_MT_PROG) PU_RMT -AC_CHECK_HEADERS(unistd.h stdlib.h string.h fcntl.h sys/io/trioctl.h utmp.h getopt.h locale.h libintl.h sys/wait.h utime.h) +AC_ARG_ENABLE(mt, + AC_HELP_STRING([--enable-mt], [Enable building of mt program]), + [case $enableval in + yes) CPIO_MT_PROG='mt$(EXEEXT)';; + no) ;; + esac]) + +AC_CHECK_HEADERS(unistd.h stdlib.h string.h fcntl.h sys/io/trioctl.h utmp.h getopt.h locale.h libintl.h sys/wait.h utime.h locale.h) AC_REPLACE_FUNCS(bcopy mkdir strdup strerror) AC_MSG_CHECKING(for sys_errlist and sys_nerr) |