View | Details | Raw Unified
Collapse All | Expand All

(-) faac/configure.in.orig (-6 / +17 lines)
 Lines 21-32    Link Here 
AC_CHECK_DECL(strcasecmp, MY_DEFINE(HAVE_STRCASECMP))
AC_CHECK_DECL(strcasecmp, MY_DEFINE(HAVE_STRCASECMP))
AC_CHECK_LIB(gnugetopt, getopt_long)
AC_CHECK_LIB(gnugetopt, getopt_long)
AC_CHECK_LIB(mp4v2, MP4MetadataDelete,
		    [AC_MSG_NOTICE([*** Building with MP4 support ***])
AC_ARG_ENABLE(mp4v2, [  --disable-mp4v2         do not build MP4 support])
		     MY_DEFINE([HAVE_LIBMP4V2])
if test x"$enable_mp4v2" = xno; then
		     LIBS="$LIBS -lstdc++ -lmp4v2"],
    AC_MSG_NOTICE([*** Building without MP4 support ***])
		     [AC_MSG_NOTICE([*** Building without MP4 support ***])],
else
		     -lstdc++)
    AC_CHECK_LIB(mp4v2, MP4MetadataDelete,
        [AC_MSG_NOTICE([*** Building with MP4 support ***])
         MY_DEFINE([HAVE_LIBMP4V2])
         LIBS="$LIBS -lstdc++ -lmp4v2"],
        [if test x"$enable_mp4v2" = xyes; then
            AC_MSG_ERROR([*** libmp4v2 not found. Can't build MP4 support ***])
         else
            AC_MSG_NOTICE([*** Building without MP4 support ***])
         fi],
        -lstdc++)
fi
AC_C_BIGENDIAN
AC_C_BIGENDIAN
dnl Checks for header files required for mp4.h
dnl Checks for header files required for mp4.h