From cde068c34be255ba34e11b06c22eeab1ef39dea3 Mon Sep 17 00:00:00 2001 From: V V Date: Mon, 5 Oct 2015 00:21:17 +0300 Subject: [PATCH] updated tgl --- Makefile.tl-parser | 2 +- config.h.in | 3 --- configure | 45 --------------------------------------------- configure.ac | 1 - tgl | 2 +- 5 files changed, 2 insertions(+), 51 deletions(-) diff --git a/Makefile.tl-parser b/Makefile.tl-parser index eb3284d..654d1d4 100644 --- a/Makefile.tl-parser +++ b/Makefile.tl-parser @@ -1,4 +1,4 @@ -TL_PARSER_OBJECTS=${OBJ}/tl-parser.o ${OBJ}/tlc.o ${OBJ}/crc32.o +TL_PARSER_OBJECTS=${OBJ}/tl-parser.o ${OBJ}/tlc.o ${TL_PARSER_OBJECTS}: ${OBJ}/%.o: ${srcdir}/tgl/tl-parser/%.c | create_dirs ${CC} ${INCLUDE} ${COMPILE_FLAGS} -iquote ${srcdir}/tgl/tl-parser -c -MP -MD -MF ${DEP}/$*.d -MQ ${OBJ}/$*.o -o $@ $< diff --git a/config.h.in b/config.h.in index a98b0d8..73e7ee7 100644 --- a/config.h.in +++ b/config.h.in @@ -42,9 +42,6 @@ /* Define to 1 if you have the `jansson' library (-ljansson). */ #undef HAVE_LIBJANSSON -/* Define to 1 if you have the `m' library (-lm). */ -#undef HAVE_LIBM - /* Define to 1 if you have `z' library (-lz) */ #undef HAVE_LIBZ diff --git a/configure b/configure index 8223fc6..5a624d7 100755 --- a/configure +++ b/configure @@ -3500,51 +3500,6 @@ LDFLAGS="$LDFLAGS -L/usr/local/lib" # Checks for libraries. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 -$as_echo_n "checking for sqrt in -lm... " >&6; } -if ${ac_cv_lib_m_sqrt+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char sqrt (); -int -main () -{ -return sqrt (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_m_sqrt=yes -else - ac_cv_lib_m_sqrt=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 -$as_echo "$ac_cv_lib_m_sqrt" >&6; } -if test "x$ac_cv_lib_m_sqrt" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBM 1 -_ACEOF - - LIBS="-lm $LIBS" - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 $as_echo_n "checking for library containing clock_gettime... " >&6; } if ${ac_cv_search_clock_gettime+:} false; then : diff --git a/configure.ac b/configure.ac index 20bdd74..50ca59f 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,6 @@ CPPFLAGS="$CPPFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" # Checks for libraries. -AC_CHECK_LIB([m], [sqrt]) AC_SEARCH_LIBS([clock_gettime], [rt]) AC_SEARCH_LIBS([backtrace], [execinfo]) AC_CHECK_LIB([event], [event_base_new], [], [AC_MSG_ERROR([no libevent found])]) diff --git a/tgl b/tgl index 22693cd..e092552 160000 --- a/tgl +++ b/tgl @@ -1 +1 @@ -Subproject commit 22693cd6ff8cf54f441ac84a1b514cc2392d7771 +Subproject commit e092552313bcb97755c550552baa62b531b95203