-dnl $Id: configure.in,v 1.225 2009-11-15 16:39:03 franklahm Exp $
+dnl $Id: configure.in,v 1.226 2009-11-16 02:04:47 didg Exp $
dnl configure.in for netatalk
AC_INIT(etc/afpd/main.c)
powerpc|ppc) this_cpu=ppc ;;
esac
+dnl --------------------- GNU source
+case "$this_os" in
+ linux) AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
+ ;;
+esac
+
dnl --------------------- operating system specific flags (port from sys/*)
dnl ----- AIX specific -----
/*
- * $Id: cnid_metad.c,v 1.21 2009-11-05 14:38:07 franklahm Exp $
+ * $Id: cnid_metad.c,v 1.22 2009-11-16 02:04:47 didg Exp $
*
* Copyright (C) Joerg Lenneis 2003
* All Rights Reserved. See COPYING.
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#ifdef linux
-#define _GNU_SOURCE
-#endif
#include <unistd.h>
#undef __USE_GNU