Fix pthread check quoting
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 20 Nov 2012 00:49:49 +0000 (00:49 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 20 Nov 2012 00:49:49 +0000 (00:49 +0000)
configure
configure.in

index 9097bd1..2061e2b 100755 (executable)
--- a/configure
+++ b/configure
@@ -15987,7 +15987,7 @@ if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
    CFLAGS="$CFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
                   LIBS="-lpthread $LIBS"
 else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
 $as_echo_n "checking for pthread_create in -lc_r... " >&6; }
 if ${ac_cv_lib_c_r_pthread_create+:} false; then :
   $as_echo_n "(cached) " >&6
index 92fc9d3..43203d2 100644 (file)
@@ -546,10 +546,10 @@ dnl #
   AC_CHECK_LIB(pthread, pthread_create,
                [ CFLAGS="$CFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
                   LIBS="-lpthread $LIBS" ],
-               AC_CHECK_LIB(c_r, pthread_create,
+               AC_CHECK_LIB(c_r, pthread_create,
                            [ CFLAGS="$CFLAGS -pthread -D_THREAD_SAFE" ],
                            [ WITH_THREADS="no" ]
-                           )
+                           ) ]
                )
 fi