aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-12 09:12:38 +0100
committerMax Kellermann <max@duempel.org>2009-11-12 09:17:03 +0100
commit5b82ffc291c6b56ce85c139d48f4587d33b1f42c (patch)
tree922232b6c03a6fc57be8cc12bc6b34b17296c3bd /configure.ac
parent8068fd5228472387cc83b49ed4e9710f8452b865 (diff)
downloadmpd-5b82ffc291c6b56ce85c139d48f4587d33b1f42c.tar.gz
mpd-5b82ffc291c6b56ce85c139d48f4587d33b1f42c.tar.xz
mpd-5b82ffc291c6b56ce85c139d48f4587d33b1f42c.zip
include config.h in all sources
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2efff82a6..b9eb06d36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,6 +101,9 @@ dnl libc features
dnl
AC_SYS_LARGEFILE
+if test x$enable_largefile != xno; then
+ AC_DEFINE([ENABLE_LARGEFILE], 1, [Define if large file support is enabled])
+fi
AC_CHECK_FUNCS(daemon fork syslog)
if test $ac_cv_func_syslog = no; then