hide a gcc warning
gcc has an "unknown pragma" warning which triggers for clang pragmas we need to hide clang compiler warnings (!!)
This commit is contained in:
parent
6fa1b7cbf5
commit
6510e1ff30
16
configure.ac
16
configure.ac
@ -1441,22 +1441,6 @@ image pyramid export: $with_gsf
|
|||||||
use libexif to load/save JPEG metadata: $with_libexif
|
use libexif to load/save JPEG metadata: $with_libexif
|
||||||
])
|
])
|
||||||
|
|
||||||
if test x"$found_introspection" = x"yes" -a "$VIPS_LIBDIR/girepository-1.0" != "$INTROSPECTION_TYPELIBDIR"; then
|
|
||||||
case "$VIPS_LIBDIR" in
|
|
||||||
/usr/local/Cellar/vips/*)
|
|
||||||
;; # ignore for homebrew
|
|
||||||
*)
|
|
||||||
AC_MSG_RESULT([dnl
|
|
||||||
Vips-8.0.typelib will be installed to $VIPS_LIBDIR/girepository-1.0, but
|
|
||||||
your system repository seems to be $INTROSPECTION_TYPELIBDIR.
|
|
||||||
You may need to add this directory to your typelib path, for example:
|
|
||||||
|
|
||||||
export GI_TYPELIB_PATH="$VIPS_LIBDIR/girepository-1.0"
|
|
||||||
])
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test x"$vips_os_win32" = x"yes"; then
|
if test x"$vips_os_win32" = x"yes"; then
|
||||||
if test x"$have_g_win32_get_command_line" != x"yes"; then
|
if test x"$have_g_win32_get_command_line" != x"yes"; then
|
||||||
AC_MSG_RESULT([dnl
|
AC_MSG_RESULT([dnl
|
||||||
|
@ -44,4 +44,10 @@ libconversion_la_SOURCES = \
|
|||||||
subsample.c \
|
subsample.c \
|
||||||
zoom.c
|
zoom.c
|
||||||
|
|
||||||
AM_CPPFLAGS = -I${top_srcdir}/libvips/include @VIPS_CFLAGS@ @VIPS_INCLUDES@
|
# gcc annoyingly warns about clang pragmas, and does not support suppressing
|
||||||
|
# the warning with a gcc pragma
|
||||||
|
AM_CPPFLAGS = \
|
||||||
|
-I${top_srcdir}/libvips/include \
|
||||||
|
@VIPS_CFLAGS@ @VIPS_INCLUDES@ \
|
||||||
|
-Wno-unknown-pragmas
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user