mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
Buildsystem: don't define _GNU_SOURCE unconditionally
The "AC_USE_SYSTEM_EXTENSIONS" macros tests it for us. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
This commit is contained in:
committed by
Marc Kleine-Budde
parent
40819fd038
commit
3c88cfc1ec
+3
-1
@@ -9,6 +9,9 @@ AC_CONFIG_AUX_DIR([config/autoconf])
|
||||
AC_CANONICAL_BUILD
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
# If possible, enable extensions to Posix
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
||||
#AM_MAINTAINER_MODE
|
||||
|
||||
CFLAGS="${CFLAGS} -Wall"
|
||||
@@ -91,7 +94,6 @@ AC_CHECK_DECL(N_SLCAN,,
|
||||
AC_CHECK_DECL(SCM_TIMESTAMPING_OPT_STATS,,
|
||||
[AC_DEFINE([SCM_TIMESTAMPING_OPT_STATS], [54], [SCM_TIMESTAMPING_OPT_STATS])]
|
||||
)
|
||||
AC_DEFINE(_GNU_SOURCE)
|
||||
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user