allow codec_gsm to be built using internal GSM library again (oops!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-07-05 21:28:30 +00:00
parent 5c30f76ba3
commit 72c9c5def1
3 changed files with 14 additions and 4 deletions

View File

@@ -23,9 +23,9 @@ LIBLPC10:=lpc10/liblpc10.a
all: _all
ifeq ($(LIBGSM_LIB),internal)
LIBGSM_INCLUDE:=-Igsm/inc
LIBGSM_LIB:=
ifeq ($(GSM_LIB),internal)
GSM_INCLUDE:=-Igsm/inc
GSM_LIB:=
codec_gsm.so: gsm/lib/libgsm.a
endif

7
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac Revision: 37066 .
# From configure.ac Revision: 37086 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59e.
#
@@ -15854,6 +15854,11 @@ fi
GSM_INTERNAL="yes"
GSM_SYSTEM="yes"
if test "${USE_GSM}" != "no"; then
if test "${GSM_DIR}" = "internal"; then
GSM_SYSTEM="no"
elif test "${GSM_DIR}" != ""; then
GSM_INTERNAL="no"
fi
if test "${GSM_SYSTEM}" = "yes"; then
gsmlibdir=""
if test "x${GSM_DIR}" != "x"; then

View File

@@ -300,6 +300,11 @@ AST_EXT_LIB_CHECK([CURSES], [curses], [initscr], [curses.h])
GSM_INTERNAL="yes"
GSM_SYSTEM="yes"
if test "${USE_GSM}" != "no"; then
if test "${GSM_DIR}" = "internal"; then
GSM_SYSTEM="no"
elif test "${GSM_DIR}" != ""; then
GSM_INTERNAL="no"
fi
if test "${GSM_SYSTEM}" = "yes"; then
gsmlibdir=""
if test "x${GSM_DIR}" != "x"; then