[Freeswitch-svn] [commit] r5067 - freeswitch/trunk

Freeswitch SVN anthm at freeswitch.org
Wed May 2 11:43:18 EDT 2007


Author: anthm
Date: Wed May  2 11:43:17 2007
New Revision: 5067

Modified:
   freeswitch/trunk/Makefile.am

Log:
move termcap depend into libedit mode

Modified: freeswitch/trunk/Makefile.am
==============================================================================
--- freeswitch/trunk/Makefile.am	(original)
+++ freeswitch/trunk/Makefile.am	Wed May  2 11:43:17 2007
@@ -110,11 +110,6 @@
 CORE_LIBS     += -lodbc
 endif
 
-if ADD_LIBEDIT
-CORE_CFLAGS    += -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT
-CORE_LIBS      += libs/libedit/src/.libs/libedit.a
-endif
-
 lib_LTLIBRARIES	          = libfreeswitch.la
 libfreeswitch_la_CFLAGS   = $(CORE_CFLAGS) $(AM_CFLAGS)
 libfreeswitch_la_LDFLAGS  = -version-info 1:0:0 $(AM_LDFLAGS)
@@ -132,7 +127,15 @@
 nodist_freeswitch_SOURCES = src/include/switch_version.h
 freeswitch_CFLAGS = $(AM_CFLAGS)
 freeswitch_LDFLAGS = $(AM_LDFLAGS) -rpath $(libdir)
-freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la -ltermcap
+freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la
+
+
+if ADD_LIBEDIT
+CORE_CFLAGS    += -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT
+CORE_LIBS      += libs/libedit/src/.libs/libedit.a
+freeswitch_LDADD += -ltermcap
+endif
+
 
 
 libs/libedit/Makefile:



More information about the Freeswitch-svn mailing list