fi
AC_CHECK_LIB(jpeg, jpeg_write_raw_data,, JPEGLIBMISSING=true)
fi
AC_CHECK_LIB(jpeg, jpeg_write_raw_data,, JPEGLIBMISSING=true)
AC_CHECK_LIB(ungif, DGifOpen,, UNGIFMISSING=true)
if test "$UNGIFMISSING";then
UNGIFMISSING=
AC_CHECK_LIB(ungif, DGifOpen,, UNGIFMISSING=true)
if test "$UNGIFMISSING";then
UNGIFMISSING=
-AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
-AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
+AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])
lame_makefile=
if test "x${DISABLE_LAME}" = "xtrue"; then
echo "*" Disabling lame support...
else
# old lame code at lib/lame
if test -f lib/lame/Makefile.in; then
lame_makefile=
if test "x${DISABLE_LAME}" = "xtrue"; then
echo "*" Disabling lame support...
else
# old lame code at lib/lame
if test -f lib/lame/Makefile.in; then
AC_CHECK_LIB(mp3lame, lame_init,, NO_LIBMP3LAME=1)
AC_CHECK_HEADERS(lame.h)
if test "x$NO_LIBMP3LAME" "!=" "x1" -a "x$ac_cv_header_lame_h" "!=" "x";then
AC_CHECK_LIB(mp3lame, lame_init,, NO_LIBMP3LAME=1)
AC_CHECK_HEADERS(lame.h)
if test "x$NO_LIBMP3LAME" "!=" "x1" -a "x$ac_cv_header_lame_h" "!=" "x";then
if test "x${AVIFILE}" = "xtrue"; then
VIDEO_LIBS="$VIDEO_LIBS $AVIFILE_LIBS"
VIDEO_CFLAGS="$VIDEO_CFLAGS $AVIFILE_CFLAGS"
if test "x${AVIFILE}" = "xtrue"; then
VIDEO_LIBS="$VIDEO_LIBS $AVIFILE_LIBS"
VIDEO_CFLAGS="$VIDEO_CFLAGS $AVIFILE_CFLAGS"
# ------------------------------------------------------------------
if test "x${UNCOMPRESS}" = "xgzip"; then
# ------------------------------------------------------------------
if test "x${UNCOMPRESS}" = "xgzip"; then