[packages] asterisk-*: allow headers for multiple versions to co-exist in staging
[openwrt/svn-archive/archive.git] / net / asterisk-addons-1.4.x / Makefile
index 7fe91b5673a567ce7bc615e36f485338688c4152..36c48ca778f0f6af1874d568f8807f24c6bb33df 100644 (file)
@@ -91,14 +91,11 @@ ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk14-mysql),)
 endif
 
 CONFIGURE_ARGS += \
-       --with-asterisk="$(STAGING_DIR)/usr" \
+       --with-asterisk="$(STAGING_DIR)/usr/include/asterisk-1.4" \
        --with-bluetooth="$(STAGING_DIR)/usr" \
        --with-ncurses="$(STAGING_DIR)/usr" \
        --with-mysqlclient="$(STAGING_DIR)/usr" \
-
-CONFIGURE_VARS += \
-       ac_cv_file__usr_include_asterisk_channel_h="yes" \
-
+       
 define Build/Configure
        ( cd $(PKG_BUILD_DIR); ./bootstrap.sh )
        $(call Build/Configure/Default,,,)