File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 11// $Id$
22// vim:ft=javascript
33
4- ARG_WITH ( "kafka" , "for kafka support" , "no" ) ;
4+ ARG_WITH ( "simple- kafka-client " , "for kafka support" , "no" ) ;
55
6- if ( PHP_KAFKA != "no" ) {
7- if ( CHECK_LIB ( "librdkafka.lib" , "rdkafka" , PHP_KAFKA ) &&
8- CHECK_HEADER_ADD_INCLUDE ( "librdkafka/rdkafka.h" , "CFLAGS_RDKAFKA " ) ) {
6+ if ( PHP_SIMPLE_KAFKA_CLIENT != "no" ) {
7+ if ( CHECK_LIB ( "librdkafka.lib" , "rdkafka" , PHP_SIMPLE_KAFKA_CLIENT ) &&
8+ CHECK_HEADER_ADD_INCLUDE ( "librdkafka/rdkafka.h" , "CFLAGS_SIMPLE_KAFKA_CLIENT " ) ) {
99
10- EXTENSION ( "rdkafka " , "simple_kafka_client.c producer.c metadata.c metadata_broker.c metadata_topic.c \
10+ EXTENSION ( "simple_kafka_client " , "simple_kafka_client.c producer.c metadata.c metadata_broker.c metadata_topic.c \
1111 metadata_partition.c metadata_collection.c configuration.c \
1212 topic.c message.c functions.c consumer.c topic_partition.c kafka_exception.c" ) ;
1313
14- AC_DEFINE ( 'HAVE_RDKAFKA ' , 1 , '' ) ;
14+ AC_DEFINE ( 'HAVE_SIMPLE_KAFKA_CLIENT ' , 1 , '' ) ;
1515 } else {
1616 WARNING ( "rdkafka not enabled; libraries and headers not found" ) ;
1717 }
1818}
19-
You can’t perform that action at this time.
0 commit comments