Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further fixes to config.w32 #40

Merged
merged 1 commit into from
Apr 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ARG_WITH("simple-kafka-client", "for kafka support", "no");

if (PHP_SIMPLE_KAFKA_CLIENT != "no") {
if (CHECK_LIB("librdkafka.lib", "rdkafka", PHP_SIMPLE_KAFKA_CLIENT) &&
if (CHECK_LIB("librdkafka.lib", "simple_kafka_client", PHP_SIMPLE_KAFKA_CLIENT) &&
CHECK_HEADER_ADD_INCLUDE("librdkafka/rdkafka.h", "CFLAGS_SIMPLE_KAFKA_CLIENT")) {

EXTENSION("simple_kafka_client", "simple_kafka_client.c producer.c metadata.c metadata_broker.c metadata_topic.c \
Expand All @@ -13,6 +13,6 @@ if (PHP_SIMPLE_KAFKA_CLIENT != "no") {

AC_DEFINE('HAVE_SIMPLE_KAFKA_CLIENT', 1, '');
} else {
WARNING("rdkafka not enabled; libraries and headers not found");
WARNING("simple_kafka_client not enabled; libraries and headers not found");
}
}