Skip to content

Commit 49aeead

Browse files
slattarinipeff
authored andcommitted
configure: fix some output message
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 <[email protected]> Signed-off-by: Jeff King <[email protected]>
1 parent 7e20105 commit 49aeead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ elif test -z "$PTHREAD_CFLAGS"; then
10151015
for opt in -mt -pthread -lpthread; do
10161016
old_CFLAGS="$CFLAGS"
10171017
CFLAGS="$opt $CFLAGS"
1018-
AC_MSG_CHECKING([Checking for POSIX Threads with '$opt'])
1018+
AC_MSG_CHECKING([for POSIX Threads with '$opt'])
10191019
AC_LINK_IFELSE([PTHREADTEST_SRC],
10201020
[AC_MSG_RESULT([yes])
10211021
NO_PTHREADS=
@@ -1035,7 +1035,7 @@ elif test -z "$PTHREAD_CFLAGS"; then
10351035
else
10361036
old_CFLAGS="$CFLAGS"
10371037
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
1038-
AC_MSG_CHECKING([Checking for POSIX Threads with '$PTHREAD_CFLAGS'])
1038+
AC_MSG_CHECKING([for POSIX Threads with '$PTHREAD_CFLAGS'])
10391039
AC_LINK_IFELSE([PTHREADTEST_SRC],
10401040
[AC_MSG_RESULT([yes])
10411041
NO_PTHREADS=

0 commit comments

Comments
 (0)