Commit dff89654 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Define _GNU_SOURCE if using gcc.

parent 9b11acdb
dnl $Id: configure.in,v 1.26 1995/01/08 11:14:07 ceder Exp $ dnl $Id: configure.in,v 1.27 1995/10/23 06:57:14 ceder Exp $
dnl Configuration for LysKOM dnl Configuration for LysKOM
dnl Copyright (C) 1993, 1994, 1995 Lysator Academic Computer Association. dnl Copyright (C) 1993, 1994, 1995 Lysator Academic Computer Association.
dnl dnl
...@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ...@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se. dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl dnl
AC_REVISION($Revision: 1.26 $) AC_REVISION($Revision: 1.27 $)
AC_INIT(src/server/lyskomd.h) AC_INIT(src/server/lyskomd.h)
AC_PREFIX_DEFAULT(/usr/lyskom) AC_PREFIX_DEFAULT(/usr/lyskom)
AC_PROG_CC AC_PROG_CC
...@@ -33,7 +33,8 @@ AC_ISC_POSIX ...@@ -33,7 +33,8 @@ AC_ISC_POSIX
AC_MINIX AC_MINIX
[if test -n "$GCC"; then [if test -n "$GCC"; then
CFLAGS="$CFLAGS -Wall -ansi" CFLAGS="$CFLAGS -Wall -ansi"
] KOM_COMPILER_CC_ACCEPTS([-pipe]) [ ] AC_DEFINE(_GNU_SOURCE)
KOM_COMPILER_CC_ACCEPTS([-pipe]) [
DEPENDFLAG=-MM DEPENDFLAG=-MM
else else
case "$CC" in case "$CC" in
......
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