Fixed building IAX from a vpath. Improved cross-compile compatibility.

git-svn-id: http://yate.null.ro/svn/yate/trunk@106 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2004-11-02 21:02:58 +00:00
parent 3db7ff5a7d
commit fc3d3c0df5
5 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ DESTDIR :=
# override DEBUG at compile time to enable full debug or remove it all
DEBUG :=
CC := g++ -Wall
CC := @CXX@ -Wall
SED := sed
DEFS :=
LIBAUX:= -ldl

View File

@ -311,9 +311,9 @@ AC_ARG_WITH(libIAX2,AC_HELP_STRING([--with-libiax2=DIR],[use IAX 2 from DIR (def
if [[ "x$ac_cv_use_libiax2" = "xincluded" ]]; then
AC_MSG_CHECKING([for IAX 2 in contrib])
inci2="contrib/iax"
if [[ -f "$inci2/iax2.h" ]]; then
if [[ -f "$srcdir/$inci2/iax2.h" ]]; then
HAVE_IAX2=yes
IAX2_INC="-I../$inci2"
IAX2_INC="-I$srcdir/../$inci2"
IAX2_DEP="../$inci2/libiax.a"
ac_cv_use_libiax2="no"
fi

View File

@ -1,7 +1,7 @@
# Makefile
# This file holds the make rules for the libiax2 - Yate version
CC := gcc -Wall
CC := @CC@ -Wall
AR := ar
RANLIB:= ranlib
SED := sed

View File

@ -7,7 +7,7 @@ DESTDIR :=
# override DEBUG at compile time to enable full debug or remove it all
DEBUG :=
CC := g++ -Wall
CC := @CXX@ -Wall
SED := sed
DEFS :=
INCLUDES := -I@top_srcdir@

View File

@ -1,7 +1,7 @@
# Makefile
# This file holds the make rules for the Telephony Engine test cases
CC := g++ -Wall
CC := @CXX@ -Wall
SED := sed
DEFS :=
INCLUDES := -I@top_srcdir@