mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 21:30:16 +01:00
Use AC_GNU_SOURCE
Use AC_GNU_SOURCE macro instead of setting -D_GNU_SOURCE manually. The macro will add the _GNU_SOURCE define to config.h for systems that have the GNU extensions.
This commit is contained in:
parent
fb386ceee4
commit
f744c39409
1 changed files with 3 additions and 3 deletions
|
|
@ -8,6 +8,9 @@ AC_CONFIG_MACRO_DIR([m4])
|
|||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
dnl Define _GNU_SOURCE for various things like strcasestr()
|
||||
AC_GNU_SOURCE
|
||||
|
||||
dnl
|
||||
dnl Require programs
|
||||
dnl
|
||||
|
|
@ -436,9 +439,6 @@ else
|
|||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
# Define _GNU_SOURCE for various things like strcasestr()
|
||||
CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||
|
||||
GTK_DOC_CHECK(1.0)
|
||||
|
||||
dnl
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue