forked from Mirrors/freeswitch
rename ADD_ AM conditionals to HAVE_
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16332 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
50cc7ab07d
commit
31b743d6eb
10
Makefile.am
10
Makefile.am
|
@ -109,11 +109,11 @@ MOD_LINK = $(switch_srcdir)/libfreeswitch.la
|
|||
CLEANFILES = src/include/switch_version.h src/include/switch_swigable_cpp.h
|
||||
BUILT_SOURCES = src/include/switch_version.h src/include/switch_swigable_cpp.h
|
||||
|
||||
if ADD_ODBC
|
||||
if HAVE_ODBC
|
||||
CORE_CFLAGS += -DSWITCH_HAVE_ODBC $(ODBC_INC_FLAGS)
|
||||
endif
|
||||
|
||||
if ADD_LIBEDIT
|
||||
if HAVE_LIBEDIT
|
||||
CORE_CFLAGS += -I$(switch_srcdir)/libs/libedit/src -DSWITCH_HAVE_LIBEDIT
|
||||
CORE_LIBS += libs/libedit/src/.libs/libedit.a
|
||||
endif
|
||||
|
@ -127,7 +127,7 @@ libfreeswitch_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS) $(PLATFORM_CORE_DEP
|
|||
libfreeswitch_la_LIBADD = $(CORE_LIBS)
|
||||
libfreeswitch_la_DEPENDENCIES = $(BUILT_SOURCES)
|
||||
|
||||
if ADD_ODBC
|
||||
if HAVE_ODBC
|
||||
libfreeswitch_la_LDFLAGS += $(ODBC_LIB_FLAGS)
|
||||
endif
|
||||
|
||||
|
@ -266,7 +266,7 @@ fs_cli_SOURCES = libs/esl/src/esl.c libs/esl/src/esl_config.c libs/esl/src/esl_e
|
|||
fs_cli_CFLAGS = $(AM_CFLAGS) -I$(switch_srcdir)/libs/esl/src/include
|
||||
fs_cli_LDFLAGS = $(AM_LDFLAGS) -lpthread $(ESL_LDFLAGS)
|
||||
|
||||
if ADD_LIBEDIT
|
||||
if HAVE_LIBEDIT
|
||||
fs_cli_CFLAGS += -DHAVE_EDITLINE -I$(switch_srcdir)/libs/libedit/src
|
||||
fs_cli_LDADD = libs/libedit/src/.libs/libedit.a
|
||||
endif
|
||||
|
@ -287,7 +287,7 @@ freeswitch_CFLAGS = $(AM_CFLAGS) $(CORE_CFLAGS)
|
|||
freeswitch_LDFLAGS = $(AM_LDFLAGS) -lpthread -rpath $(libdir)
|
||||
freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la
|
||||
|
||||
if ADD_LIBEDIT
|
||||
if HAVE_LIBEDIT
|
||||
freeswitch_CFLAGS += -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT
|
||||
freeswitch_LDADD += libs/libedit/src/.libs/libedit.a
|
||||
endif
|
||||
|
|
|
@ -727,8 +727,8 @@ fi
|
|||
AX_CHECK_JAVA
|
||||
|
||||
|
||||
AM_CONDITIONAL([ADD_ODBC],[test "x$enable_core_odbc_support" != "xno"])
|
||||
AM_CONDITIONAL([ADD_LIBEDIT],[test "x$enable_core_libedit_support" != "xno"])
|
||||
AM_CONDITIONAL([HAVE_ODBC],[test "x$enable_core_odbc_support" != "xno"])
|
||||
AM_CONDITIONAL([HAVE_LIBEDIT],[test "x$enable_core_libedit_support" != "xno"])
|
||||
AM_CONDITIONAL([HAVE_MYSQL],[test "$found_mysql" = "yes"])
|
||||
|
||||
#
|
||||
|
|
|
@ -32,10 +32,6 @@ mod_sofia_la_CFLAGS += -I$(SOFIAUA_DIR)/url -I$(SOFIAUA_BUILDDIR)/url
|
|||
mod_sofia_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(SOFIALA)
|
||||
mod_sofia_la_LDFLAGS = -avoid-version -module -no-undefined -shared
|
||||
|
||||
if ADD_ODBC
|
||||
mod_sofia_la_CFLAGS += -DSWITCH_HAVE_ODBC
|
||||
endif
|
||||
|
||||
if ISMAC
|
||||
mod_sofia_la_LDFLAGS += -framework CoreFoundation -framework SystemConfiguration
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue