Revision: 79 http://trac.macosforge.org/projects/libdispatch/changeset/79 Author: robert@fledge.watson.org Date: 2009-11-01 04:09:25 -0800 (Sun, 01 Nov 2009) Log Message: ----------- Special linking behavior in Makefile.am is not required when using AC_SEARCH_LIBS, auto* will add it to linker commands automatically. Modified Paths: -------------- trunk/configure.ac trunk/src/Makefile.am Modified: trunk/configure.ac =================================================================== --- trunk/configure.ac 2009-10-31 22:17:13 UTC (rev 78) +++ trunk/configure.ac 2009-11-01 12:09:25 UTC (rev 79) @@ -122,11 +122,7 @@ # Find libraries we will need # AC_SEARCH_LIBS(clock_gettime, rt) -AC_SEARCH_LIBS(pthread_create, pthread, - [use_libpthread=true], - [use_libpthread=false] -) -AM_CONDITIONAL(USE_LIBPTHREAD, $use_libpthread) +AC_SEARCH_LIBS(pthread_create, pthread) # # Checks for header files. Modified: trunk/src/Makefile.am =================================================================== --- trunk/src/Makefile.am 2009-10-31 22:17:13 UTC (rev 78) +++ trunk/src/Makefile.am 2009-11-01 12:09:25 UTC (rev 79) @@ -34,10 +34,6 @@ libdispatch_la_LIBADD=libshims.la libdispatch_la_DEPENDENCIES=libshims.la -if USE_LIBPTHREAD -libdispatch_la_LIBADD+=-lpthread -endif - if USE_MIG libdispatch_la_SOURCES+= \ protocolServer.c
participants (1)
-
source_changes@macosforge.org