summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-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],