From: Russell Bryant Date: Thu, 13 Jan 2005 04:22:07 +0000 (+0000) Subject: look in another location for speex.h (bug #3283) X-Git-Tag: 1.0.11.1~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b079c4bf25d21a213d07692b594f9886fce2d3b;p=thirdparty%2Fasterisk.git look in another location for speex.h (bug #3283) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4775 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/codecs/Makefile b/codecs/Makefile index 82d8f458e0..9a3dc8c28e 100755 --- a/codecs/Makefile +++ b/codecs/Makefile @@ -19,10 +19,11 @@ #MODG723=codec_g723_1.so codec_g723_1b.so MODG723=$(shell [ -f g723.1/coder.c ] && echo "codec_g723_1.so") MODG723+=$(shell [ -f g723.1b/coder2.c ] && echo "codec_g723_1b.so") -MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/local/include/speex.h ] && echo "codec_speex.so") +MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/local/include/speex.h ] || [ -f /usr/local/include/speex/speex.h ] && echo "codec_speex.so") MODILBC=$(shell [ -f ilbc/iLBC_decode.h ] && echo "codec_ilbc.so") CFLAGS+=-fPIC CFLAGS+=$(shell [ -f /usr/local/include/speex.h ] && echo "-I/usr/local/include") +CFLAGS+=$(shell [ -f /usr/local/include/speex/speex.h ] && echo "-I/usr/local/include/speex") LIBG723=g723.1/libg723.a LIBG723B=g723.1b/libg723b.a