From 68a59d5714f4cf1ac536d347c879995fb4685475 Mon Sep 17 00:00:00 2001 From: Matt Messier Date: Thu, 10 May 2007 14:16:59 -0400 Subject: Remove -D_LARGEFILE64_SOURCE from AM_CPPFLAGS This is a transitional macro that's normally defined by the system includes if _GNU_SOURCE is defined, which it will be because of AC_GNU_SOURCE. It's only used by GNU libc. I cannot find anything in any of the code built by these Makefiles that uses any of the types, structures, or functions that defining this macro produces. --- src/input/Makefile.am | 1 - src/input/libdvdnav/Makefile.am | 2 +- src/input/libreal/Makefile.am | 2 +- src/input/librtsp/Makefile.am | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/input/Makefile.am b/src/input/Makefile.am index e5b6926dc..e4b46637e 100644 --- a/src/input/Makefile.am +++ b/src/input/Makefile.am @@ -3,7 +3,6 @@ include $(top_srcdir)/misc/Makefile.common # REVISIT: This second line here bothers me more than just a little bit AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG) \ $(GNOME_VFS_CFLAGS) $(ALSA_CFLAGS) $(DVD_CFLAGS) -AM_CPPFLAGS = -D_LARGEFILE64_SOURCE AM_LDFLAGS = $(xineplug_ldflags) EXTRA_DIST = input_dvd.c input_vcd.c input_gnome_vfs.c input_rtp.c diff --git a/src/input/libdvdnav/Makefile.am b/src/input/libdvdnav/Makefile.am index b7e313a38..f741b4f17 100644 --- a/src/input/libdvdnav/Makefile.am +++ b/src/input/libdvdnav/Makefile.am @@ -1,7 +1,7 @@ include $(top_srcdir)/misc/Makefile.common AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG) -AM_CPPFLAGS = -D_LARGEFILE64_SOURCE -DDVDNAV_COMPILE -DHAVE_DLFCN_H +AM_CPPFLAGS = -DDVDNAV_COMPILE -DHAVE_DLFCN_H AM_LDFLAGS = $(xineplug_ldflags) noinst_LTLIBRARIES = libdvdnav.la diff --git a/src/input/libreal/Makefile.am b/src/input/libreal/Makefile.am index 500dfb910..5fb056195 100644 --- a/src/input/libreal/Makefile.am +++ b/src/input/libreal/Makefile.am @@ -1,7 +1,7 @@ include $(top_srcdir)/misc/Makefile.common AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG) -AM_CPPFLAGS = -D_LARGEFILE64_SOURCE -I$(srcdir)/../librtsp +AM_CPPFLAGS = -I$(srcdir)/../librtsp noinst_LTLIBRARIES = libreal.la diff --git a/src/input/librtsp/Makefile.am b/src/input/librtsp/Makefile.am index 9027ab260..0df52d3aa 100644 --- a/src/input/librtsp/Makefile.am +++ b/src/input/librtsp/Makefile.am @@ -1,7 +1,7 @@ include $(top_srcdir)/misc/Makefile.common AM_CFLAGS = $(DEFAULT_OCFLAGS) $(VISIBILITY_FLAG) -AM_CPPFLAGS = -D_LARGEFILE64_SOURCE -I$(srcdir)/../libreal +AM_CPPFLAGS = -I$(srcdir)/../libreal AM_LDFLAGS = $(xineplug_ldflags) noinst_LTLIBRARIES = librtsp.la -- cgit v1.2.3