提交 94b54047 编写于 作者: S Stefano Lattarini 提交者: Junio C Hamano

configure: fix option help message for --disable-pthreads

The configure option to disable threading is '--disable-pthreads',
not '--without-pthreads'.
Signed-off-by: NStefano Lattarini <stefano.lattarini@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 6653aa9e
...@@ -193,7 +193,7 @@ AC_ARG_ENABLE([pthreads], ...@@ -193,7 +193,7 @@ AC_ARG_ENABLE([pthreads],
[FLAGS is the value to pass to the compiler to enable POSIX Threads.] [FLAGS is the value to pass to the compiler to enable POSIX Threads.]
[The default if FLAGS is not specified is to try first -pthread] [The default if FLAGS is not specified is to try first -pthread]
[and then -lpthread.] [and then -lpthread.]
[--without-pthreads will disable threading.])], [--disable-pthreads will disable threading.])],
[ [
if test "x$enableval" = "xyes"; then if test "x$enableval" = "xyes"; then
AC_MSG_NOTICE([Will try -pthread then -lpthread to enable POSIX Threads]) AC_MSG_NOTICE([Will try -pthread then -lpthread to enable POSIX Threads])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册