dnl #
dnl #############################################################
dnl Define _GNU_SOURCE, this should be done before any feature test.
AC_DEFINE(_GNU_SOURCE)
dnl Check for GNU cc
AC_PROG_CC
AC_PROG_CXX