From c64af1fa5811e08f881e4d377f73ba32b02fa125 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 1 Apr 2009 15:36:44 +0200 Subject: [PATCH] rename --with-pthreads to --with-threads --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 10e33eab..411d09de 100644 --- a/configure.in +++ b/configure.in @@ -14,7 +14,7 @@ AC_ARG_ENABLE(unicode, AS_HELP_STRING([--enable-unicode], [Enable utf8 support @ AC_ARG_WITH(curl, AS_HELP_STRING([--with-curl], [Enable fetching lyrics from the Internet @<:@default=auto@:>@]), [curl=$withval], [curl=auto]) AC_ARG_WITH(iconv, AS_HELP_STRING([--with-iconv], [Enable iconv support (Note: if you use utf-8 system wide, you can disable this) @<:@default=auto@:>@]), [iconv=$withval], [iconv=auto]) AC_ARG_WITH(pdcurses, AS_HELP_STRING([--with-pdcurses[=LIBNAME]], [Link against pdcurses instead of ncurses @<:@default=XCurses@:>@]), [pdcurses=$withval], [pdcurses=no]) -AC_ARG_WITH(pthreads, AS_HELP_STRING([--with-pthreads], [Enable threading support using posix threads @<:@default=auto@:>@]), [pthreads=$withval], [pthreads=auto]) +AC_ARG_WITH(threads, AS_HELP_STRING([--with-threads], [Enable threading support using posix threads @<:@default=auto@:>@]), [threads=$withval], [threads=auto]) AC_ARG_WITH(taglib, AS_HELP_STRING([--with-taglib], [Enable tag editor @<:@default=auto@:>@]), [taglib=$withval], [taglib=auto]) if test "$clock" = "yes"; then @@ -87,9 +87,9 @@ dnl ================================= dnl = checking for curl and pthread = dnl ================================= if test "$curl" != "no" ; then - if test "$pthreads" != "no" ; then + if test "$threads" != "no" ; then AC_CHECK_HEADERS([pthread.h], AC_CHECK_LIB(pthread, pthread_create, LDFLAGS="$LDFLAGS -lpthread", - if test "$pthreads" = "yes" ; then + if test "$threads" = "yes" ; then AC_MSG_ERROR([pthread.h found but there is no pthread library to make use of]) fi ), )