Skip to content

Commit cde068c

Browse files
author
V V
committed
updated tgl
1 parent c4ab873 commit cde068c

File tree

5 files changed

+2
-51
lines changed

5 files changed

+2
-51
lines changed

‎Makefile.tl-parser

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
TL_PARSER_OBJECTS=${OBJ}/tl-parser.o ${OBJ}/tlc.o ${OBJ}/crc32.o
1+
TL_PARSER_OBJECTS=${OBJ}/tl-parser.o ${OBJ}/tlc.o
22

33
${TL_PARSER_OBJECTS}: ${OBJ}/%.o: ${srcdir}/tgl/tl-parser/%.c | create_dirs
44
${CC} ${INCLUDE} ${COMPILE_FLAGS} -iquote ${srcdir}/tgl/tl-parser -c -MP -MD -MF ${DEP}/$*.d -MQ ${OBJ}/$*.o -o $@ $<

‎config.h.in

-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@
4242
/* Define to 1 if you have the `jansson' library (-ljansson). */
4343
#undef HAVE_LIBJANSSON
4444

45-
/* Define to 1 if you have the `m' library (-lm). */
46-
#undef HAVE_LIBM
47-
4845
/* Define to 1 if you have `z' library (-lz) */
4946
#undef HAVE_LIBZ
5047

‎configure

-45
Original file line numberDiff line numberDiff line change
@@ -3500,51 +3500,6 @@ LDFLAGS="$LDFLAGS -L/usr/local/lib"
35003500

35013501
# Checks for libraries.
35023502

3503-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
3504-
$as_echo_n "checking for sqrt in -lm... " >&6; }
3505-
if ${ac_cv_lib_m_sqrt+:} false; then :
3506-
$as_echo_n "(cached) " >&6
3507-
else
3508-
ac_check_lib_save_LIBS=$LIBS
3509-
LIBS="-lm $LIBS"
3510-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511-
/* end confdefs.h. */
3512-
3513-
/* Override any GCC internal prototype to avoid an error.
3514-
Use char because int might match the return type of a GCC
3515-
builtin and then its argument prototype would still apply. */
3516-
#ifdef __cplusplus
3517-
extern "C"
3518-
#endif
3519-
char sqrt ();
3520-
int
3521-
main ()
3522-
{
3523-
return sqrt ();
3524-
;
3525-
return 0;
3526-
}
3527-
_ACEOF
3528-
if ac_fn_c_try_link "$LINENO"; then :
3529-
ac_cv_lib_m_sqrt=yes
3530-
else
3531-
ac_cv_lib_m_sqrt=no
3532-
fi
3533-
rm -f core conftest.err conftest.$ac_objext \
3534-
conftest$ac_exeext conftest.$ac_ext
3535-
LIBS=$ac_check_lib_save_LIBS
3536-
fi
3537-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
3538-
$as_echo "$ac_cv_lib_m_sqrt" >&6; }
3539-
if test "x$ac_cv_lib_m_sqrt" = xyes; then :
3540-
cat >>confdefs.h <<_ACEOF
3541-
#define HAVE_LIBM 1
3542-
_ACEOF
3543-
3544-
LIBS="-lm $LIBS"
3545-
3546-
fi
3547-
35483503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
35493504
$as_echo_n "checking for library containing clock_gettime... " >&6; }
35503505
if ${ac_cv_search_clock_gettime+:} false; then :

‎configure.ac

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
1717
LDFLAGS="$LDFLAGS -L/usr/local/lib"
1818

1919
# Checks for libraries.
20-
AC_CHECK_LIB([m], [sqrt])
2120
AC_SEARCH_LIBS([clock_gettime], [rt])
2221
AC_SEARCH_LIBS([backtrace], [execinfo])
2322
AC_CHECK_LIB([event], [event_base_new], [], [AC_MSG_ERROR([no libevent found])])

0 commit comments

Comments
 (0)