asterisk-1.8.x: fix configure warnings

spotted while looking through build-logs
only compile tested
asterisk-1.8.x uses OpenSSL instead of GnuTLS dunno about that

errors in log were:
configure: WARNING: unrecognized options:
--with-gnutls,
--without-curl,
--without-pbx-lua,
--without-gtk, --without-kde, --without-qt

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
This commit is contained in:
Dirk Neukirchen 2014-01-04 11:51:46 +00:00 committed by Jiri Slachta
parent 6501268a1c
commit 0c80c05aaf

View file

@ -277,23 +277,20 @@ endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),) ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),)
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--with-gnutls="$(STAGING_DIR)/usr" \
--with-iksemel="$(STAGING_DIR)/usr" --with-iksemel="$(STAGING_DIR)/usr"
SITE_VARS+= \ SITE_VARS+= \
ac_cv_lib_iksemel_iks_start_sasl=yes \ ac_cv_lib_iksemel_iks_start_sasl=yes
ac_cv_lib_gnutls_gnutls_bye=yes
else else
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--without-gnutls \
--without-iksemel --without-iksemel
endif endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),) ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),)
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--with-curl="$(STAGING_DIR)/usr" --with-libcurl="$(STAGING_DIR)/usr"
else else
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--without-curl --without-libcurl
endif endif
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pgsql),) ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pgsql),)
@ -342,17 +339,15 @@ ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pbx-lua),)
TARGET_LDFLAGS+=-ldl -lcrypt TARGET_LDFLAGS+=-ldl -lcrypt
else else
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--without-pbx-lua --without-lua
endif endif
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--without-curses \ --without-curses \
--with-gsm=internal \ --with-gsm=internal \
--without-cap \ --without-cap \
--without-gtk \
--without-gtk2 \ --without-gtk2 \
--without-isdnnet \ --without-isdnnet \
--without-kde \
--without-misdn \ --without-misdn \
--without-nbs \ --without-nbs \
--with-ncurses="$(STAGING_DIR)/usr" \ --with-ncurses="$(STAGING_DIR)/usr" \
@ -362,7 +357,6 @@ CONFIGURE_ARGS+= \
--without-osptk \ --without-osptk \
--with-popt="$(STAGING_DIR)/usr" \ --with-popt="$(STAGING_DIR)/usr" \
--without-pri \ --without-pri \
--without-qt \
--without-radius \ --without-radius \
--without-sdl \ --without-sdl \
--without-suppserv \ --without-suppserv \