mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-26 22:52:55 +01:00
autoconf/make: cosmetics: break long lines
Change-Id: If08350a27cdfc4371dcb28ecb9d88d05eceaf977
This commit is contained in:
parent
ab22a07afc
commit
16c46e83ac
11
configure.ac
11
configure.ac
@ -58,7 +58,8 @@ AC_CHECK_HEADER(png.h,
|
|||||||
AC_CHECK_LIB(png, png_get_libpng_ver,
|
AC_CHECK_LIB(png, png_get_libpng_ver,
|
||||||
[PNG_LIBS="$PNG_LIBS -lpng"
|
[PNG_LIBS="$PNG_LIBS -lpng"
|
||||||
PNG_INCLUDES="$PNG_INCLUDES -DWEBP_HAVE_PNG"
|
PNG_INCLUDES="$PNG_INCLUDES -DWEBP_HAVE_PNG"
|
||||||
AC_DEFINE(WEBP_HAVE_PNG, [1], [Set to 1 if PNG library is installed])
|
AC_DEFINE(WEBP_HAVE_PNG, [1],
|
||||||
|
[Set to 1 if PNG library is installed])
|
||||||
],
|
],
|
||||||
AC_MSG_WARN(Optional png library not found),
|
AC_MSG_WARN(Optional png library not found),
|
||||||
[$MATH_LIBS]),
|
[$MATH_LIBS]),
|
||||||
@ -85,7 +86,8 @@ AC_CHECK_HEADER(jpeglib.h,
|
|||||||
AC_CHECK_LIB(jpeg, jpeg_set_defaults,
|
AC_CHECK_LIB(jpeg, jpeg_set_defaults,
|
||||||
[JPEG_LIBS="$JPEG_LIBS -ljpeg"
|
[JPEG_LIBS="$JPEG_LIBS -ljpeg"
|
||||||
JPEG_INCLUDES="$JPEG_INCLUDES -DWEBP_HAVE_JPEG"
|
JPEG_INCLUDES="$JPEG_INCLUDES -DWEBP_HAVE_JPEG"
|
||||||
AC_DEFINE(WEBP_HAVE_JPEG, [1], [Set to 1 if JPEG library is installed])
|
AC_DEFINE(WEBP_HAVE_JPEG, [1],
|
||||||
|
[Set to 1 if JPEG library is installed])
|
||||||
],
|
],
|
||||||
AC_MSG_WARN(Optional jpeg library not found),
|
AC_MSG_WARN(Optional jpeg library not found),
|
||||||
[$MATH_LIBS]),
|
[$MATH_LIBS]),
|
||||||
@ -112,7 +114,8 @@ AC_CHECK_HEADER(tiffio.h,
|
|||||||
AC_CHECK_LIB(tiff, TIFFGetVersion,
|
AC_CHECK_LIB(tiff, TIFFGetVersion,
|
||||||
[TIFF_LIBS="$TIFF_LIBS -ltiff"
|
[TIFF_LIBS="$TIFF_LIBS -ltiff"
|
||||||
TIFF_INCLUDES="$TIFF_INCLUDES -DWEBP_HAVE_TIFF"
|
TIFF_INCLUDES="$TIFF_INCLUDES -DWEBP_HAVE_TIFF"
|
||||||
AC_DEFINE(WEBP_HAVE_TIFF, [1], [Set to 1 if TIFF library is installed])
|
AC_DEFINE(WEBP_HAVE_TIFF, [1],
|
||||||
|
[Set to 1 if TIFF library is installed])
|
||||||
],
|
],
|
||||||
AC_MSG_WARN(Optional tiff library not found),
|
AC_MSG_WARN(Optional tiff library not found),
|
||||||
[$MATH_LIBS]),
|
[$MATH_LIBS]),
|
||||||
@ -167,7 +170,7 @@ if test "$target_os" = "mingw32"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl === If --enable-experimental is defined, add the flag WEBP_EXPERIMENTAL_FEATURES
|
dnl === If --enable-experimental is defined, add -DWEBP_EXPERIMENTAL_FEATURES
|
||||||
|
|
||||||
USE_EXPERIMENTAL_CODE=""
|
USE_EXPERIMENTAL_CODE=""
|
||||||
AC_MSG_CHECKING(if --enable-experimental option is specified)
|
AC_MSG_CHECKING(if --enable-experimental option is specified)
|
||||||
|
@ -8,14 +8,14 @@ libexampleutilinclude_HEADERS = example_util.h
|
|||||||
libexampleutilincludedir =
|
libexampleutilincludedir =
|
||||||
|
|
||||||
dwebp_SOURCES = dwebp.c stopwatch.h
|
dwebp_SOURCES = dwebp.c stopwatch.h
|
||||||
dwebp_CPPFLAGS = $(AM_CPPFLAGS) $(PNG_INCLUDES) $(JPEG_INCLUDES) $(USE_EXPERIMENTAL_CODE)
|
dwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
||||||
|
dwebp_CPPFLAGS += $(JPEG_INCLUDES) $(PNG_INCLUDES)
|
||||||
dwebp_LDADD = libexampleutil.la ../src/libwebp.la $(PNG_LIBS) $(JPEG_LIBS)
|
dwebp_LDADD = libexampleutil.la ../src/libwebp.la $(PNG_LIBS) $(JPEG_LIBS)
|
||||||
|
|
||||||
cwebp_SOURCES = cwebp.c stopwatch.h
|
cwebp_SOURCES = cwebp.c stopwatch.h
|
||||||
cwebp_CPPFLAGS = $(AM_CPPFLAGS)
|
cwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
||||||
cwebp_CPPFLAGS += $(PNG_INCLUDES) $(JPEG_INCLUDES) $(TIFF_INCLUDES)
|
cwebp_CPPFLAGS += $(JPEG_INCLUDES) $(PNG_INCLUDES) $(TIFF_INCLUDES)
|
||||||
cwebp_CPPFLAGS += $(USE_EXPERIMENTAL_CODE)
|
cwebp_LDADD = ../src/libwebp.la $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS)
|
||||||
cwebp_LDADD = ../src/libwebp.la $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS)
|
|
||||||
|
|
||||||
webpmux_SOURCES = webpmux.c
|
webpmux_SOURCES = webpmux.c
|
||||||
webpmux_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
webpmux_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user