"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
minidlna-1.1.5.tar.gz and minidlna-1.2.0.tar.gz

About: ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.

configure.ac  (minidlna-1.1.5):configure.ac  (minidlna-1.2.0)
skipping to change at line 456 skipping to change at line 456
AC_CHECK_LIB(avutil ,[av_rescale_q], [LIBAVUTIL_LIBS="-lavutil"], [AC_MSG_ERROR( [Could not find libavutil - part of ffmpeg])]) AC_CHECK_LIB(avutil ,[av_rescale_q], [LIBAVUTIL_LIBS="-lavutil"], [AC_MSG_ERROR( [Could not find libavutil - part of ffmpeg])])
AC_SUBST(LIBAVUTIL_LIBS) AC_SUBST(LIBAVUTIL_LIBS)
AC_CHECK_LIB(pthread, pthread_create) AC_CHECK_LIB(pthread, pthread_create)
# test if we have vorbisfile # test if we have vorbisfile
# prior versions had ov_open_callbacks in libvorbis, test that, too. # prior versions had ov_open_callbacks in libvorbis, test that, too.
AC_CHECK_LIB(vorbisfile, ov_open_callbacks, AC_CHECK_LIB(vorbisfile, ov_open_callbacks,
[AC_CHECK_HEADERS([vorbis/vorbisfile.h], [AC_CHECK_HEADERS([vorbis/vorbisfile.h],
AM_CONDITIONAL(HAVE_VORBISFILE, true) AM_CONDITIONAL(HAVE_VORBISFILE, true)
AC_DEFINE(HAVE_VORBISFILE,1,[Have vorbisfile]), AC_DEFINE(HAVE_VORBISFILE,1,[Have vorbisfile]),
AM_CONDITIONAL(HAVE_VORBISFILE, false) AM_CONDITIONAL(HAVE_VORBISFILE, false))],
AC_DEFINE(HAVE_VORBISFILE,0,[lacking vorbisfile]))], AM_CONDITIONAL(HAVE_VORBISFILE, false),
AM_CONDITIONAL(HAVE_VORBISFILE, false), -lvorbis -logg)
-lvorbis -logg)
AC_CHECK_LIB(FLAC, FLAC__stream_decoder_init_stream, AC_CHECK_LIB(FLAC, FLAC__stream_decoder_init_stream,
[AC_CHECK_HEADERS([FLAC/all.h], [AC_CHECK_HEADERS([FLAC/all.h],
AM_CONDITIONAL(HAVE_FLAC, true) AM_CONDITIONAL(HAVE_FLAC, true)
AC_DEFINE(HAVE_FLAC,1,[Have flac]), AC_DEFINE(HAVE_FLAC,1,[Have flac]),
AM_CONDITIONAL(HAVE_FLAC, false))], AM_CONDITIONAL(HAVE_FLAC, false))],
AM_CONDITIONAL(HAVE_FLAC, false), AM_CONDITIONAL(HAVE_FLAC, false),
-logg) -logg)
# test without -logg to see whether we really need it (libflac can be without) # test without -logg to see whether we really need it (libflac can be without)
AC_CHECK_LIB(FLAC, FLAC__stream_decoder_init_ogg_stream, AC_CHECK_LIB(FLAC, FLAC__stream_decoder_init_ogg_stream,
AM_CONDITIONAL(HAVE_FLAC, true) AM_CONDITIONAL(HAVE_FLAC, true)
AC_DEFINE(HAVE_FLAC,1,[Have flac]) AC_DEFINE(HAVE_FLAC,1,[Have flac])
AM_CONDITIONAL(NEED_OGG, false), AM_CONDITIONAL(NEED_OGG, false),
[AM_CONDITIONAL(NEED_OGG, true)]) [AM_CONDITIONAL(NEED_OGG, true)])
AC_CHECK_LIB(vorbisfile, vorbis_comment_query, AC_CHECK_LIB(vorbisfile, vorbis_comment_query,
AM_CONDITIONAL(NEED_VORBIS, false), AM_CONDITIONAL(NEED_VORBIS, false),
AM_CONDITIONAL(NEED_VORBIS, true), AM_CONDITIONAL(NEED_VORBIS, true),
-logg) -logg)
AC_CHECK_LIB(avahi-client, avahi_threaded_poll_new,
[AC_CHECK_HEADERS([avahi-common/thread-watch.h],
AM_CONDITIONAL(HAVE_AVAHI, true)
AC_DEFINE(HAVE_AVAHI,1,[Have avahi]),
AM_CONDITIONAL(HAVE_AVAHI, false))],
AM_CONDITIONAL(HAVE_AVAHI, false),
-lavahi-client -lavahi-common)
################################################################################ ################################ ################################################################################ ################################
### Header checks ### Header checks
AC_CHECK_HEADERS([arpa/inet.h asm/unistd.h endian.h machine/endian.h fcntl.h lib intl.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/file.h sys/i notify.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h]) AC_CHECK_HEADERS([arpa/inet.h asm/unistd.h endian.h machine/endian.h fcntl.h lib intl.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/file.h sys/i notify.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h])
AC_CHECK_FUNCS(inotify_init, AC_DEFINE(HAVE_INOTIFY,1,[Whether kernel has inotif y support]), [ AC_CHECK_FUNCS(inotify_init, AC_DEFINE(HAVE_INOTIFY,1,[Whether kernel has inotif y support]), [
AC_MSG_CHECKING([for __NR_inotify_init syscall]) AC_MSG_CHECKING([for __NR_inotify_init syscall])
AC_COMPILE_IFELSE( AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM( [AC_LANG_PROGRAM(
[ [
skipping to change at line 540 skipping to change at line 547
AC_ARG_WITH(os-url, AC_ARG_WITH(os-url,
AS_HELP_STRING([--with-os-url=URL],[OS URL]), AS_HELP_STRING([--with-os-url=URL],[OS URL]),
[with_osurl="$withval"],[with_osurl="http://www.netgear.com"]) [with_osurl="$withval"],[with_osurl="http://www.netgear.com"])
AC_DEFINE_UNQUOTED([OS_URL],"${with_osurl}",[OS URL]) AC_DEFINE_UNQUOTED([OS_URL],"${with_osurl}",[OS URL])
AC_MSG_CHECKING([whether to enable TiVo support]) AC_MSG_CHECKING([whether to enable TiVo support])
AC_ARG_ENABLE(tivo, AC_ARG_ENABLE(tivo,
[ --enable-tivo enable TiVo support],[ [ --enable-tivo enable TiVo support],[
if test "$enableval" = "yes"; then if test "$enableval" = "yes"; then
AC_DEFINE(TIVO_SUPPORT, 1, [Define to 1 if you want to enable TiV o support]) AC_DEFINE(TIVO_SUPPORT, 1, [Define to 1 if you want to enable TiV o support])
AM_CONDITIONAL(TIVO_SUPPORT, true)
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else else
AM_CONDITIONAL(TIVO_SUPPORT, false)
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
],[ ],[
AM_CONDITIONAL(TIVO_SUPPORT, false)
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
] ]
) )
AC_MSG_CHECKING([whether to enable generic NETGEAR device support]) AC_MSG_CHECKING([whether to enable generic NETGEAR device support])
AC_ARG_ENABLE(netgear, AC_ARG_ENABLE(netgear,
[ --enable-netgear enable generic NETGEAR device support],[ [ --enable-netgear enable generic NETGEAR device support],[
if test "$enableval" = "yes"; then if test "$enableval" = "yes"; then
AC_DEFINE([NETGEAR],[1],[Define to 1 if you want to enable generi c NETGEAR device support]) AC_DEFINE([NETGEAR],[1],[Define to 1 if you want to enable generi c NETGEAR device support])
AC_DEFINE_UNQUOTED([OS_URL],"http://www.netgear.com/") AC_DEFINE_UNQUOTED([OS_URL],"http://www.netgear.com/")
skipping to change at line 575 skipping to change at line 585
] ]
) )
AC_MSG_CHECKING([whether to enable NETGEAR ReadyNAS support]) AC_MSG_CHECKING([whether to enable NETGEAR ReadyNAS support])
AC_ARG_ENABLE(readynas, AC_ARG_ENABLE(readynas,
[ --enable-readynas enable NETGEAR ReadyNAS support],[ [ --enable-readynas enable NETGEAR ReadyNAS support],[
if test "$enableval" = "yes"; then if test "$enableval" = "yes"; then
AC_DEFINE([NETGEAR],[1],[Define to 1 if you want to enable generi c NETGEAR device support]) AC_DEFINE([NETGEAR],[1],[Define to 1 if you want to enable generi c NETGEAR device support])
AC_DEFINE([READYNAS],[1],[Define to 1 if you want to enable NETGE AR ReadyNAS support]) AC_DEFINE([READYNAS],[1],[Define to 1 if you want to enable NETGE AR ReadyNAS support])
AC_DEFINE([TIVO_SUPPORT], 1, [Define to 1 if you want to enable T iVo support]) AC_DEFINE([TIVO_SUPPORT], 1, [Define to 1 if you want to enable T iVo support])
AC_DEFINE([PNPX],[5],[Define to 5 if you want to enable NETGEAR R eadyNAS PnP-X support])
AC_DEFINE_UNQUOTED([OS_URL],"http://www.readynas.com/") AC_DEFINE_UNQUOTED([OS_URL],"http://www.readynas.com/")
AC_DEFINE_UNQUOTED([ROOTDEV_MANUFACTURERURL],"http://www.netgear. com/") AC_DEFINE_UNQUOTED([ROOTDEV_MANUFACTURERURL],"http://www.netgear. com/")
AC_DEFINE_UNQUOTED([ROOTDEV_MANUFACTURER],"NETGEAR") AC_DEFINE_UNQUOTED([ROOTDEV_MANUFACTURER],"NETGEAR")
AC_DEFINE_UNQUOTED([ROOTDEV_MODELNAME],"Windows Media Connect com patible (ReadyDLNA)") AC_DEFINE_UNQUOTED([ROOTDEV_MODELNAME],"Windows Media Connect com patible (ReadyDLNA)")
AC_DEFINE_UNQUOTED([ROOTDEV_MODELDESCRIPTION],"ReadyDLNA") AC_DEFINE_UNQUOTED([ROOTDEV_MODELDESCRIPTION],"ReadyDLNA")
AC_MSG_RESULT([yes]) AM_CONDITIONAL(TIVO_SUPPORT, true)
else AC_MSG_RESULT([yes])
AC_MSG_RESULT([no]) else
fi AC_MSG_RESULT([no])
],[ fi
AC_MSG_RESULT([no]) ],[
] AC_MSG_RESULT([no])
]
) )
AC_MSG_CHECKING([whether to build a static binary executable]) AC_MSG_CHECKING([whether to build a static binary executable])
AC_ARG_ENABLE(static, AC_ARG_ENABLE(static,
[ --enable-static build a static binary executable],[ [ --enable-static build a static binary executable],[
if test "$enableval" = "yes"; then if test "$enableval" = "yes"; then
STATIC_CFLAGS="-DSTATIC" STATIC_CFLAGS="-DSTATIC"
AC_SUBST(STATIC_CFLAGS) AC_SUBST(STATIC_CFLAGS)
STATIC_LDFLAGS="-Wl,-Bstatic" STATIC_LDFLAGS="-Wl,-Bstatic"
AC_SUBST(STATIC_LDFLAGS) AC_SUBST(STATIC_LDFLAGS)
 End of changes. 7 change blocks. 
14 lines changed or deleted 24 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS