syntax-check: quote the first argument to AC_DEFINE
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
b726796f41
commit
e36d3bb25e
1
cfg.mk
1
cfg.mk
|
|
@ -20,7 +20,6 @@ local-checks-to-skip = \
|
||||||
\
|
\
|
||||||
sc_program_name \
|
sc_program_name \
|
||||||
sc_bindtextdomain \
|
sc_bindtextdomain \
|
||||||
sc_m4_quote_check \
|
|
||||||
sc_prohibit_assert_without_use \
|
sc_prohibit_assert_without_use \
|
||||||
sc_prohibit_dirent_without_use \
|
sc_prohibit_dirent_without_use \
|
||||||
sc_prohibit_empty_lines_at_EOF \
|
sc_prohibit_empty_lines_at_EOF \
|
||||||
|
|
|
||||||
12
configure.ac
12
configure.ac
|
|
@ -68,13 +68,13 @@ AS_IF([test x$with_soup != xno ], [
|
||||||
])
|
])
|
||||||
AS_IF([test x$have_soup = xyes], [
|
AS_IF([test x$have_soup = xyes], [
|
||||||
PKG_CHECK_MODULES(OT_DEP_SOUP, $SOUP_DEPENDENCY)
|
PKG_CHECK_MODULES(OT_DEP_SOUP, $SOUP_DEPENDENCY)
|
||||||
AC_DEFINE(HAVE_LIBSOUP, 1, [Define if we have libsoup.pc])
|
AC_DEFINE([HAVE_LIBSOUP], 1, [Define if we have libsoup.pc])
|
||||||
with_soup=yes
|
with_soup=yes
|
||||||
save_CFLAGS=$CFLAGS
|
save_CFLAGS=$CFLAGS
|
||||||
CFLAGS=$OT_DEP_SOUP_CFLAGS
|
CFLAGS=$OT_DEP_SOUP_CFLAGS
|
||||||
have_libsoup_client_certs=no
|
have_libsoup_client_certs=no
|
||||||
AC_CHECK_DECL([SOUP_SESSION_TLS_INTERACTION], [
|
AC_CHECK_DECL([SOUP_SESSION_TLS_INTERACTION], [
|
||||||
AC_DEFINE(HAVE_LIBSOUP_CLIENT_CERTS, 1, [Define if we have libsoup client certs])
|
AC_DEFINE([HAVE_LIBSOUP_CLIENT_CERTS], 1, [Define if we have libsoup client certs])
|
||||||
have_libsoup_client_certs=yes
|
have_libsoup_client_certs=yes
|
||||||
], [], [#include <libsoup/soup.h>])
|
], [], [#include <libsoup/soup.h>])
|
||||||
AS_IF([test x$enable_libsoup_client_certs = xyes && test x$have_libsoup_client_certs != xyes], [
|
AS_IF([test x$enable_libsoup_client_certs = xyes && test x$have_libsoup_client_certs != xyes], [
|
||||||
|
|
@ -112,7 +112,7 @@ AS_IF([ test x$with_gpgme != xno ], [
|
||||||
AC_MSG_ERROR([gpgme is enabled but could not be found])
|
AC_MSG_ERROR([gpgme is enabled but could not be found])
|
||||||
])
|
])
|
||||||
AS_IF([ test x$have_gpgme = xyes], [
|
AS_IF([ test x$have_gpgme = xyes], [
|
||||||
AC_DEFINE(HAVE_GPGME, 1, [Define if we have gpgme])
|
AC_DEFINE([HAVE_GPGME], 1, [Define if we have gpgme])
|
||||||
with_gpgme=yes
|
with_gpgme=yes
|
||||||
AC_PATH_PROG(GPGVPATH, [gpgv2 gpgv])
|
AC_PATH_PROG(GPGVPATH, [gpgv2 gpgv])
|
||||||
AC_SUBST(GPGVPATH)
|
AC_SUBST(GPGVPATH)
|
||||||
|
|
@ -138,7 +138,7 @@ AS_IF([ test x$with_libarchive != xno ], [
|
||||||
AC_MSG_ERROR([libarchive is enabled but could not be found])
|
AC_MSG_ERROR([libarchive is enabled but could not be found])
|
||||||
])
|
])
|
||||||
AS_IF([ test x$have_libarchive = xyes], [
|
AS_IF([ test x$have_libarchive = xyes], [
|
||||||
AC_DEFINE(HAVE_LIBARCHIVE, 1, [Define if we have libarchive.pc])
|
AC_DEFINE([HAVE_LIBARCHIVE], 1, [Define if we have libarchive.pc])
|
||||||
PKG_CHECK_MODULES(OT_DEP_LIBARCHIVE, $LIBARCHIVE_DEPENDENCY)
|
PKG_CHECK_MODULES(OT_DEP_LIBARCHIVE, $LIBARCHIVE_DEPENDENCY)
|
||||||
save_LIBS=$LIBS
|
save_LIBS=$LIBS
|
||||||
LIBS=$OT_DEP_LIBARCHIVE_LIBS
|
LIBS=$OT_DEP_LIBARCHIVE_LIBS
|
||||||
|
|
@ -167,7 +167,7 @@ AS_IF([ test x$with_selinux != xno ], [
|
||||||
AC_MSG_ERROR([SELinux is enabled but could not be found])
|
AC_MSG_ERROR([SELinux is enabled but could not be found])
|
||||||
])
|
])
|
||||||
AS_IF([ test x$have_selinux = xyes], [
|
AS_IF([ test x$have_selinux = xyes], [
|
||||||
AC_DEFINE(HAVE_SELINUX, 1, [Define if we have libselinux.pc])
|
AC_DEFINE([HAVE_SELINUX], 1, [Define if we have libselinux.pc])
|
||||||
PKG_CHECK_MODULES(OT_DEP_SELINUX, $SELINUX_DEPENDENCY)
|
PKG_CHECK_MODULES(OT_DEP_SELINUX, $SELINUX_DEPENDENCY)
|
||||||
with_selinux=yes
|
with_selinux=yes
|
||||||
], [
|
], [
|
||||||
|
|
@ -223,7 +223,7 @@ AC_ARG_ENABLE(static_deltas,
|
||||||
[Enable static delta code (default: yes)]),,
|
[Enable static delta code (default: yes)]),,
|
||||||
[enable_static_deltas=yes])
|
[enable_static_deltas=yes])
|
||||||
AS_IF([test x$enable_static_deltas = xyes], [
|
AS_IF([test x$enable_static_deltas = xyes], [
|
||||||
AC_DEFINE(BUILDOPT_STATIC_DELTAS, 1, [Define if static deltas are enabled])
|
AC_DEFINE([BUILDOPT_STATIC_DELTAS], 1, [Define if static deltas are enabled])
|
||||||
])
|
])
|
||||||
AM_CONDITIONAL(BUILDOPT_STATIC_DELTAS, test x$enable_static_deltas = xyes)
|
AM_CONDITIONAL(BUILDOPT_STATIC_DELTAS, test x$enable_static_deltas = xyes)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue