as suggested by Andy.
p4raw-id: //depot/cfgperl@4815
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Tue Jan 18 21:42:31 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Tue Jan 18 23:09:49 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
case "$gccversion" in
'') echo "You are not using GNU cc." ;;
*) echo "You are using GNU cc $gccversion."
- echo "Adding -D_GNU_SOURCE to ccflags."
- ccflags="$ccflags -D_GNU_SOURCE" # expose glibc interfaces
;;
esac
else
* the GNU C library is being used.
*/
#$d_gnulibc HAS_GNULIBC /**/
+#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
+# define _GNU_SOURCE
+#endif
/* HAS_HASMNTOPT:
* This symbol, if defined, indicates that the hasmntopt routine is
* available to query the mount options of file systems.