1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Only set CC to PTHREAD_CC when value present

This commit is contained in:
James Booth 2016-04-27 23:02:22 +01:00
parent 94f0550c51
commit 559b1608cf

View File

@ -120,7 +120,7 @@ fi
ACX_PTHREAD ACX_PTHREAD
LIBS="$PTHREAD_LIBS $LIBS" LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC" AS_IF([test "x$PTHREAD_CC" != x], [ CC="$PTHREAD_CC" ])
### Check for libmesode, fall back to libstrophe ### Check for libmesode, fall back to libstrophe
PKG_CHECK_MODULES([libmesode], [libmesode], PKG_CHECK_MODULES([libmesode], [libmesode],