endif
ifeq ($(BR2_PACKAGE_PHP),y)
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/main
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/regex
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/TSRM
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/Zend
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/ext
- CUPS_CONF_ENV += ac_cv_path_php=$(STAGING_DIR)/usr/bin/php
- CUPS_CONF_OPT += --with-php
- CUPS_DEPENDENCIES += php
+ CUPS_CONF_ENV += ac_cv_path_PHPCONFIG=$(STAGING_DIR)/usr/bin/php-config
+ CUPS_CONF_OPT += --with-php
+ CUPS_DEPENDENCIES += php
else
- CUPS_CONF_OPT += --without-php
+ CUPS_CONF_OPT += --without-php
endif
ifeq ($(BR2_PACKAGE_PYTHON),y)