Commit fdb37010 authored by Niels Möller's avatar Niels Möller

Use AC_GNU_SOURCE. Don't add -I$srcdir/src -DLSH

to CPPFLAGS.

Rev: configure.ac:1.33
parent 5f8e0b68
......@@ -18,16 +18,14 @@ If this does not work, please use an absolute path to the configure script. ])
esac
# src/rsync relies on lsh's definitions of WRITE_UINT32 etc.
CPPFLAGS="$CPPFLAGS -I$srcdir/src -DLSH"
# CPPFLAGS="$CPPFLAGS -I$srcdir/src -DLSH"
# GNU libc defaults to supplying the ISO C library functions only.
# initgroups() and strsignal() are extensions; the _GNU_SOURCE define
# enables these extensions.
# Enable it on all systems; no problems have been reported with it so far.
# We can't use AH_VERBATIM for this, as we want _GNU_SOURCE to be defined
# when running configure's test programs.
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
AC_GNU_SOURCE
# Check options
AC_ARG_ENABLE(debug_alloc,
......
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