mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 10:13:45 -04:00
re-fix the atoll thing
This commit is contained in:
parent
86b87b43dd
commit
1ea0bce3b3
@ -4,7 +4,7 @@ dnl Process this file with autoconf to produce a configure script.
|
|||||||
AC_INIT(config.h.in)
|
AC_INIT(config.h.in)
|
||||||
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AM_INIT_AUTOMAKE(mt-daapd,0.2.1)
|
AM_INIT_AUTOMAKE(mt-daapd,0.2.1a)
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
@ -58,7 +58,6 @@ AM_CONDITIONAL(COND_OGGVORBIS, test x$use_oggvorbis = xtrue)
|
|||||||
|
|
||||||
AM_CONDITIONAL(COND_NEED_STRCASESTR,false)
|
AM_CONDITIONAL(COND_NEED_STRCASESTR,false)
|
||||||
AM_CONDITIONAL(COND_NEED_STRSEP,false)
|
AM_CONDITIONAL(COND_NEED_STRSEP,false)
|
||||||
AM_CONDITIONAL(COND_NEED_ATOLL,false)
|
|
||||||
|
|
||||||
dnl Darwin's stupid cpp preprocessor....
|
dnl Darwin's stupid cpp preprocessor....
|
||||||
echo Host type is $host
|
echo Host type is $host
|
||||||
@ -198,7 +197,7 @@ fi
|
|||||||
|
|
||||||
AC_REPLACE_FUNCS(strcasestr)
|
AC_REPLACE_FUNCS(strcasestr)
|
||||||
AC_REPLACE_FUNCS(strsep)
|
AC_REPLACE_FUNCS(strsep)
|
||||||
AC_REPLACE_FUNCS(atoll)
|
AC_CHECK_FUNCS(atoll)
|
||||||
|
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
@ -28,7 +28,6 @@ mt_daapd_SOURCES = main.c daapd.h rend.h uici.c uici.h webserver.c \
|
|||||||
mp3-scanner.h mp3-scanner.c playlist.c playlist.h \
|
mp3-scanner.h mp3-scanner.c playlist.c playlist.h \
|
||||||
rend-unix.h lexer.l parser.y strcasestr.c strcasestr.h strsep.c \
|
rend-unix.h lexer.l parser.y strcasestr.c strcasestr.h strsep.c \
|
||||||
redblack.c redblack.h dynamic-art.c dynamic-art.h query.c query.h \
|
redblack.c redblack.h dynamic-art.c dynamic-art.h query.c query.h \
|
||||||
atoll.c atoll.h \
|
|
||||||
$(PRENDSRC) $(ORENDSRC) $(HRENDSRC) $(OGGVORBISSRC)
|
$(PRENDSRC) $(ORENDSRC) $(HRENDSRC) $(OGGVORBISSRC)
|
||||||
|
|
||||||
EXTRA_DIST = mDNS.c mDNSClientAPI.h mDNSDebug.h mDNSPosix.c \
|
EXTRA_DIST = mDNS.c mDNSClientAPI.h mDNSDebug.h mDNSPosix.c \
|
||||||
|
@ -107,6 +107,12 @@
|
|||||||
|
|
||||||
/** Seconds to sleep before checking for a shutdown or reload */
|
/** Seconds to sleep before checking for a shutdown or reload */
|
||||||
#define MAIN_SLEEP_INTERVAL 2
|
#define MAIN_SLEEP_INTERVAL 2
|
||||||
|
|
||||||
|
/** Let's hope if you have no atoll, you only have 32 bit inodes... */
|
||||||
|
#if !HAVE_ATOLL
|
||||||
|
# define atoll(a) atol(a)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Globals
|
* Globals
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user