From a67eaf47cbbe80a75fbb533bde8feaa7c99bf326 Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Sat, 10 Sep 2005 19:25:17 +0000 Subject: Simplify the autocrap somewhat. Always include the #defines needed to build with glibc. --- configure.ac | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index eb484bb..3391b2f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,5 @@ AC_INIT(btpd, 0.5, btpd@murmeldjur.se) -AC_CANONICAL_TARGET - AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_FILES([Makefile btpd/Makefile misc/Makefile cli/Makefile]) @@ -10,12 +8,7 @@ AC_PROG_CC AC_PROG_RANLIB CFLAGS="$CFLAGS -std=c99" - -case $target_os in - linux*) - CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64" - ;; -esac +CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64" AC_ARG_WITH(event, [ --with-event=dir use libevent installed in dir], -- cgit 1.4.1