fix configure warnings when checking dbus/dbus.h and ibus-1.0/ibus.h

.. by adding DBUS_CFLAGS and IBUS_CFLAGS to CPPFLAGS:

configure: WARNING: dbus/dbus.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: dbus/dbus.h: proceeding with the compiler's result
configure: WARNING: ibus-1.0/ibus.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: ibus-1.0/ibus.h: proceeding with the compiler's result
This commit is contained in:
Ozkan Sezer
2020-12-29 21:20:28 +03:00
parent f175824172
commit 6116ccf035
2 changed files with 15 additions and 2 deletions

9
configure vendored
View File

@@ -23031,7 +23031,9 @@ else
$as_echo "yes" >&6; }
have_dbus=yes
fi
save_CPPFLAGS="$CPPFLAGS"
save_CFLAGS="$CFLAGS"
CPPFLAGS="$save_CPPFLAGS $DBUS_CFLAGS"
CFLAGS="$save_CFLAGS $DBUS_CFLAGS"
ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
@@ -23041,6 +23043,7 @@ else
fi
CPPFLAGS="$save_CPPFLAGS"
CFLAGS="$save_CFLAGS"
if test x$have_dbus_dbus_h_hdr = xyes; then
@@ -23204,7 +23207,9 @@ else
$as_echo "yes" >&6; }
have_ibus=yes
fi
save_CPPFLAGS="$CPPFLAGS"
save_CFLAGS="$CFLAGS"
CPPFLAGS="$save_CPPFLAGS $IBUS_CFLAGS"
CFLAGS="$save_CFLAGS $IBUS_CFLAGS"
ac_fn_c_check_header_mongrel "$LINENO" "ibus-1.0/ibus.h" "ac_cv_header_ibus_1_0_ibus_h" "$ac_includes_default"
if test "x$ac_cv_header_ibus_1_0_ibus_h" = xyes; then :
@@ -23214,6 +23219,7 @@ else
fi
CPPFLAGS="$save_CPPFLAGS"
CFLAGS="$save_CFLAGS"
if test x$have_ibus_ibus_h_hdr = xyes; then
if test x$enable_ime != xyes; then
@@ -25205,7 +25211,8 @@ $as_echo "#define SDL_FILESYSTEM_WINDOWS 1" >>confdefs.h
fi
# Set up files for the thread library
if test x$enable_threads = xyes; then
$as_echo "#define SDL_THREAD_GENERIC_COND_SUFFIX 1" >>confdefs.h
$as_echo "#define SDL_THREAD_GENERIC_COND_SUFFIX 1" >>confdefs.h
$as_echo "#define SDL_THREAD_WINDOWS 1" >>confdefs.h