# [PATCH] configure: fix some output message

2 messages from 2012-10-24 to 2012-10-25. Participants: Stefano Lattarini, Jeff King.
Thread: https://gitlist.dev/t/31932

## Stefano Lattarini, 2012-10-24 15:34

Subject: [PATCH] configure: fix some output message
Message-ID: <b67d9e47dc92c2c316495ac4bd8e7ba93d339781.1351091006.git.stefano.lattarini@gmail.com>
URL: https://gitlist.dev/e/b67d9e47dc92c2c316495ac4bd8e7ba93d339781.1351091006.git.stefano.lattarini%40gmail.com

```
Before this change, output from ./configure could contain
botched wording like this:

    checking Checking for POSIX Threads with '-pthread'... yes

instead of the intended:

    checking for POSIX Threads with '-pthread'... yes

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c85888c..ad215cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1024,7 +1024,7 @@ elif test -z "$PTHREAD_CFLAGS"; then
   for opt in -mt -pthread -lpthread; do
      old_CFLAGS="$CFLAGS"
      CFLAGS="$opt $CFLAGS"
-     AC_MSG_CHECKING([Checking for POSIX Threads with '$opt'])
+     AC_MSG_CHECKING([for POSIX Threads with '$opt'])
      AC_LINK_IFELSE([PTHREADTEST_SRC],
 	[AC_MSG_RESULT([yes])
 		NO_PTHREADS=
@@ -1044,7 +1044,7 @@ elif test -z "$PTHREAD_CFLAGS"; then
 else
   old_CFLAGS="$CFLAGS"
   CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
-  AC_MSG_CHECKING([Checking for POSIX Threads with '$PTHREAD_CFLAGS'])
+  AC_MSG_CHECKING([for POSIX Threads with '$PTHREAD_CFLAGS'])
   AC_LINK_IFELSE([PTHREADTEST_SRC],
 	[AC_MSG_RESULT([yes])
 		NO_PTHREADS=
-- 
1.8.0.rc2.11.gd25c58c

```

## Jeff King, 2012-10-25 09:11

Subject: Re: [PATCH] configure: fix some output message
Message-ID: <20121025091145.GF8390@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20121025091145.GF8390%40sigill.intra.peff.net
In-Reply-To: <b67d9e47dc92c2c316495ac4bd8e7ba93d339781.1351091006.git.stefano.lattarini@gmail.com>

```
On Wed, Oct 24, 2012 at 05:34:27PM +0200, Stefano Lattarini wrote:

> Before this change, output from ./configure could contain
> botched wording like this:
> 
>     checking Checking for POSIX Threads with '-pthread'... yes
> 
> instead of the intended:
> 
>     checking for POSIX Threads with '-pthread'... yes
> 
> Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>

Thanks, looks obviously correct.

-Peff

```
