summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2005-09-10 19:25:17 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2005-09-10 19:25:17 +0000
commita67eaf47cbbe80a75fbb533bde8feaa7c99bf326 (patch)
treef9f6d08266772eab22ba6f13dddafdc5ae13a1f7
parent08dcc6b8921475e26701023088bdccb534db3a74 (diff)
downloadbtpd-a67eaf47cbbe80a75fbb533bde8feaa7c99bf326.tar.gz
btpd-a67eaf47cbbe80a75fbb533bde8feaa7c99bf326.zip
Simplify the autocrap somewhat. Always include the #defines needed
to build with glibc.

-rw-r--r--configure.ac9
1 files changed, 1 insertions, 8 deletions
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],