Skip to content

Commit 6ef05b2

Browse files
committed
Fix for libpwq test when running configure externally
Need to look in $srcdir for libpwq to support configure being run in another directory (ie, when run by build-script).
1 parent ab7e16c commit 6ef05b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ AC_CHECK_HEADERS([pthread_machdep.h pthread/qos.h])
169169

170170
# pthread_workqueues.
171171
# Look for own version first, then system version.
172-
AS_IF([test -f libpwq/configure.ac],
172+
AS_IF([test -f $srcdir/libpwq/configure.ac],
173173
[AC_DEFINE(BUILD_OWN_PTHREAD_WORKQUEUES, 1, [Define if building pthread work queues from source])
174174
AC_CONFIG_SUBDIRS([libpwq])
175175
build_own_pthread_workqueue=true,

0 commit comments

Comments
 (0)