Skip to content

Commit 6ead519

Browse files
committed
Merge pull request swiftlang#63 from dgrove-oss/bugfix-libpwq-configure
Fix typo in configure.ac impacting libpwq configuration
2 parents 054d938 + ee1020f commit 6ead519

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@ AS_IF([test -f $srcdir/libpwq/configure.ac],
187187
[AC_DEFINE(BUILD_OWN_PTHREAD_WORKQUEUES, 1, [Define if building pthread work queues from source])
188188
ac_configure_args="--disable-libpwq-install $ac_configure_args"
189189
AC_CONFIG_SUBDIRS([libpwq])
190-
build_own_pthread_workqueue=true,
190+
build_own_pthread_workqueues=true,
191191
AC_DEFINE(HAVE_PTHREAD_WORKQUEUES, 1, [Define if pthread work queues are present])
192192
have_pthread_workqueues=true],
193-
[build_own_pthread_workqueue=false
193+
[build_own_pthread_workqueues=false
194194
AC_CHECK_HEADERS([pthread/workqueue_private.h pthread_workqueue.h],
195195
[AC_DEFINE(HAVE_PTHREAD_WORKQUEUES, 1, [Define if pthread work queues are present])
196196
have_pthread_workqueues=true],

src/Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ if BUILD_OWN_PTHREAD_WORKQUEUES
6868
PTHREAD_WORKQUEUE_LIBS=$(top_builddir)/libpwq/libpthread_workqueue.la
6969
PTHREAD_WORKQUEUE_CFLAGS=-I$(top_srcdir)/libpwq/include
7070
else
71-
if HAVE_PTHREAD_WORKQUEUES
72-
PTHREAD_WORKQUEUE_LIBS=-lpthread_workqueue
73-
endif
71+
if HAVE_PTHREAD_WORKQUEUES
72+
PTHREAD_WORKQUEUE_LIBS=-lpthread_workqueue
73+
endif
7474
endif
7575

7676
libdispatch_la_LDFLAGS=-avoid-version

tests/Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ AM_CXXFLAGS=$(DISPATCH_TESTS_CFLAGS) $(CXXBLOCKS_FLAGS) $(BSD_OVERLAY_CFLAGS)
116116
AM_OBJCXXFLAGS=$(DISPATCH_TESTS_CFLAGS) $(CXXBLOCKS_FLAGS)
117117

118118
if !BUILD_OWN_PTHREAD_WORKQUEUES
119-
if HAVE_PTHREAD_WORKQUEUES
120-
PTHREAD_WORKQUEUE_LIBS=-lpthread_workqueue
121-
endif
119+
if HAVE_PTHREAD_WORKQUEUES
120+
PTHREAD_WORKQUEUE_LIBS=-lpthread_workqueue
121+
endif
122122
endif
123123

124124
LDADD=libbsdtests.la $(top_builddir)/src/libdispatch.la $(KQUEUE_LIBS) $(PTHREAD_WORKQUEUE_LIBS) $(BSD_OVERLAY_LIBS)

0 commit comments

Comments
 (0)