Commit 6522407f authored by Simon Morlat's avatar Simon Morlat

fix configure script

parent 46cf5f64
......@@ -152,7 +152,7 @@ AC_ARG_WITH( antlr,
[ antlr_prefix=${withval}],[ antlr_prefix=${prefix} ])
found_antlr3=no
if test "$antlr_prefix" != "NONE" ; then
if test "$antlr_prefix" != "NONE" && test "$antlr_prefix" != "/usr" ; then
ANTLR_CFLAGS="-I${antlr_prefix}/include"
ANTLR_LIBS="-L${antlr_prefix}/lib"
fi
......@@ -239,7 +239,7 @@ AC_ARG_WITH( polarssl,
[ --with-polarssl Set prefix where polarssl can be found (ex:/usr, /usr/local)[default=PREFIX] ],
[ polarssl_prefix=${withval}],[ polarssl_prefix=${prefix} ])
if test "$polarssl_prefix" != "NONE" ; then
if test "$polarssl_prefix" != "NONE" && test "$polarssl_prefix" != "/usr"; then
POLARSSL_CFLAGS="-I${polarssl_prefix}/include"
POLARSSL_LIBS="-L${polarssl_prefix}/lib"
fi
......
......@@ -222,10 +222,12 @@ static void test_suite_cleanup_failure_message_handler(const CU_pSuite pSuite) {
static void test_start_message_handler(const CU_pTest pTest, const CU_pSuite pSuite) {
if (belle_sip_tester_use_log_file) belle_sip_warning("Suite [%s] Test [%s]", pSuite->pName,pTest->pName);
printf("\nSuite [%s] Test [%s]", pSuite->pName,pTest->pName);
fflush(stdout);
}
static void test_suite_start_message_handler(const CU_pSuite pSuite) {
if (belle_sip_tester_use_log_file) belle_sip_warning("Suite [%s]", pSuite->pName);
printf("\nSuite [%s]", pSuite->pName);
fflush(stdout);
}
int belle_sip_tester_run_tests(const char *suite_name, const char *test_name) {
int i,ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment