Commit d4a47c1f authored by Jean-Paul Saman's avatar Jean-Paul Saman

configure.ac: buildsystem

- add --std=gnu99
- add -D_GNU_SOURCE
- remove DEBUG define in preparation of message callback.
parent 7ea93117
...@@ -16,7 +16,7 @@ AM_PROG_LIBTOOL ...@@ -16,7 +16,7 @@ AM_PROG_LIBTOOL
dnl default CFLAGS dnl default CFLAGS
CFLAGS="${CFLAGS} -Wall -Werror -DDVBPSI_DIST --std=gnu99" CFLAGS="${CFLAGS} -Wall -Werror -DDVBPSI_DIST --std=gnu99 -D_GNU_SOURCE"
CFLAGS="${CFLAGS} -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" CFLAGS="${CFLAGS} -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
dnl check the operating system dnl check the operating system
...@@ -36,7 +36,7 @@ AC_ARG_ENABLE(debug, ...@@ -36,7 +36,7 @@ AC_ARG_ENABLE(debug,
esac],[debug=false]) esac],[debug=false])
if test "$debug" = "true" if test "$debug" = "true"
then then
CFLAGS="${CFLAGS} -DDEBUG -g" CFLAGS="${CFLAGS} -g -ggdb3"
fi fi
......
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