Commit 415bff5e0f7d0915c5dfb0a097fbc577eafdd704

Authored by Georg Hopp
1 parent d32d05f5

Use c99 standard and threadsave libc

... ... @@ -57,6 +57,9 @@ AM_CFLAGS="${AM_CFLAGS} ${MEM_OPT_FLAGS}"
57 57 AM_CFLAGS="${AM_CFLAGS} ${CFLAGS}"
58 58 AC_SUBST(AM_CFLAGS)
59 59
  60 +AM_LDFLAGS=""
  61 +AC_SUBST(AM_LDFLAGS)
  62 +
60 63 AC_CONFIG_FILES([Makefile
61 64 docs/Makefile
62 65 tests/Makefile
... ...
1 1 ACLOCAL_AMFLAGS = -I m4
2 2 AUTOMAKE_OPTIONS = subdir-objects
3 3
4   -AM_CFLAGS += -I../include/
  4 +AM_CFLAGS += -I../include/ -std=c99 -DREENTRANT -lpthread
  5 +AM_LDFLAGS += -lpthread
5 6
6 7 TRCOMM = cet_accept.c \
7 8 cep_write_buffered.c \
... ... @@ -39,3 +40,4 @@ lib_LTLIBRARIES = libtrcomm.la
39 40 libtrcomm_la_SOURCES = $(TRCOMM)
40 41 libtrcomm_la_CFLAGS = $(AM_CFLAGS)
41 42 libtrcomm_la_LIBADD =
  43 +libtrcomm_la_LDFLAGS = -version-info 0:0:0 $(AM_LDFLAGS)
... ...
Please register or login to post a comment