cleanup conditions
This commit is contained in:
parent
bde2e2da51
commit
acd8d74316
|
@ -330,6 +330,9 @@ 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 $(LIBEDIT_CFLAGS)
|
||||
fs_cli_LDFLAGS = $(AM_LDFLAGS) -lpthread $(ESL_LDFLAGS) -lm $(LIBEDIT_LIBS)
|
||||
|
||||
if DISABLE_CC
|
||||
fs_cli_CFLAGS += -DDISABLE_CC
|
||||
endif
|
||||
|
||||
##
|
||||
## fs_encode ()
|
||||
|
|
|
@ -498,6 +498,8 @@ AC_ARG_ENABLE(cpp,
|
|||
|
||||
AM_CONDITIONAL([ENABLE_CPP],[test "${enable_cpp}" = "yes"])
|
||||
|
||||
AM_CONDITIONAL([DISABLE_CC],[test "${disable_cc}" = "yes"])
|
||||
|
||||
AC_ARG_ENABLE([system-xmlrpc-c],
|
||||
[AS_HELP_STRING([--enable-system-xmlrpc-c],
|
||||
[use system lib for xmlrpc-c])],,
|
||||
|
|
|
@ -25,6 +25,10 @@ fs_cli_CFLAGS = $(AM_CFLAGS) -I$(switch_srcdir)/libs/esl/src/include $(LIBEDIT_
|
|||
fs_cli_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS) $(LIBS) $(LIBEDIT_LIBS)
|
||||
fs_cli_LDADD = libesl.la
|
||||
|
||||
if DISABLE_CC
|
||||
fs_cli_CFLAGS += -DDISABLE_CC
|
||||
endif
|
||||
|
||||
testclient_SOURCES = testclient.c
|
||||
testclient_CFLAGS = $(AM_CFLAGS) -I$(switch_srcdir)/libs/esl/src/include
|
||||
testclient_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS) $(LIBS)
|
||||
|
|
|
@ -1040,8 +1040,11 @@ static void print_banner(FILE *stream, int color)
|
|||
fprintf(stream, "%s%s%s", ESL_SEQ_DEFAULT_COLOR, ESL_SEQ_FYELLOW, ESL_SEQ_BBLUE);
|
||||
}
|
||||
|
||||
#ifndef DISABLE_CC
|
||||
fprintf(stream, "%s%s", banner, use);
|
||||
|
||||
#else
|
||||
fprintf(stream, "%s", banner);
|
||||
#endif
|
||||
|
||||
if (color) {
|
||||
fprintf(stream, "%s", ESL_SEQ_DEFAULT_COLOR);
|
||||
|
|
Loading…
Reference in New Issue