From: Eivind Næss Date: Sat, 7 Aug 2021 21:11:43 +0000 (-0700) Subject: Fixing up quotation of AC_DEFINE macro X-Git-Tag: ppp-2.5.0~36^2~15 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=bc52ce2cbdc6f97db1f2ca51ec9817dad9debf9a Fixing up quotation of AC_DEFINE macro The resulting pppd/config.h will now display a unquoted comment before the define which is consistent with other defines created by autotools. Signed-off-by: Eivind Næss --- diff --git a/configure.ac b/configure.ac index 48fad5e..013c46c 100644 --- a/configure.ac +++ b/configure.ac @@ -88,7 +88,7 @@ AC_CHECK_FUNCS([ \ # If libc doesn't provide logwtmp, check if libutil provides logwtmp(), and if so link to it. AS_IF([test "x${ac_cv_func_logwtmp}" != "xyes"], [ AC_CHECK_LIB([util], [logwtmp], [ - AC_DEFINE(HAVE_LOGWTMP, 1, ["System provides the logwtmp() function"]) + AC_DEFINE(HAVE_LOGWTMP, 1, [System provides the logwtmp() function]) AC_SUBST([UTIL_LIBS], ["-lutil"]) ]) ]) @@ -128,18 +128,18 @@ AC_ARG_ENABLE([microsoft-extensions], AM_CONDITIONAL(PPP_WITH_CHAPMS, test "x${enable_microsoft_extensions}" != "xno") AM_COND_IF([PPP_WITH_CHAPMS], - AC_DEFINE([PPP_WITH_CHAPMS], 1, ["Have Microsoft CHAP support"])) + AC_DEFINE([PPP_WITH_CHAPMS], 1, [Have Microsoft CHAP support])) AM_CONDITIONAL(PPP_WITH_MPPE, test "x${enable_microsoft_extensions}" != "xno") AM_COND_IF([PPP_WITH_MPPE], - AC_DEFINE([PPP_WITH_MPPE], 1, ["Have Microsoft MPPE support"])) + AC_DEFINE([PPP_WITH_MPPE], 1, [Have Microsoft MPPE support])) # # Enable Microsoft LAN Manager support, depends on Microsoft Extensions AC_ARG_ENABLE([mslanman], AS_HELP_STRING([--enable-mslanman], [Enable Microsoft LAN Manager support])) AS_IF([test "x${enable_mslanman}" = "xyes" && test "x${enable_microsoft_extensions}" != "xno"], - AC_DEFINE([PPP_WITH_MSLANMAN], 1, ["Have Microsoft LAN Manager support"])) + AC_DEFINE([PPP_WITH_MSLANMAN], 1, [Have Microsoft LAN Manager support])) # # Disable IPv6 support @@ -147,7 +147,7 @@ AC_ARG_ENABLE([ipv6cp], AS_HELP_STRING([--disable-ipv6cp], [Disable IPv6 Control Protocol])) AM_CONDITIONAL(PPP_WITH_IPV6CP, test "x${enable_ipv6cp}" != "xno") AM_COND_IF([PPP_WITH_IPV6CP], - AC_DEFINE(PPP_WITH_IPV6CP, 1, ["Have IPv6 Control Protocol"])) + AC_DEFINE(PPP_WITH_IPV6CP, 1, [Have IPv6 Control Protocol])) # # Disable Multilink support @@ -155,7 +155,7 @@ AC_ARG_ENABLE([multilink], AS_HELP_STRING([--enable-multilink], [Enable multilink support])) AM_CONDITIONAL(PPP_WITH_MULTILINK, test "x${enable_multilink}" = "xyes") AM_COND_IF([PPP_WITH_MULTILINK], - AC_DEFINE([PPP_WITH_MULTILINK], 1, ["Have multilink support"])) + AC_DEFINE([PPP_WITH_MULTILINK], 1, [Have multilink support])) AS_IF([test "x${build_sunos}" = "xyes" && test "x${enable_multilink}" = "xyes"], [AC_MSG_ERROR([Multilink is not supported on SunOS])]) @@ -163,14 +163,14 @@ AS_IF([test "x${build_sunos}" = "xyes" && test "x${enable_multilink}" = "xyes"], # Multilink require Trivial Database Support AM_CONDITIONAL(PPP_WITH_TDB, test "x${enable_multilink}" = "xyes") AM_COND_IF([PPP_WITH_TDB], - AC_DEFINE([PPP_WITH_TDB], 1, ["Include TDB support"])) + AC_DEFINE([PPP_WITH_TDB], 1, [Include TDB support])) # # Enable support for loadable plugins AC_ARG_ENABLE([plugins], AS_HELP_STRING([--disable-plugins], [Disable support for loadable plugins])) AS_IF([test "x$enable_plugins" != "xno"], - AC_DEFINE([PPP_WITH_PLUGINS], 1, ["Have support for loadable plugins"])) + AC_DEFINE([PPP_WITH_PLUGINS], 1, [Have support for loadable plugins])) AM_CONDITIONAL(PPP_WITH_PLUGINS, test "${enable_plugins}" != "no") # @@ -194,7 +194,7 @@ AM_CONDITIONAL([PPP_WITH_PEAP], test "x${enable_peap}" != "xno") AC_ARG_ENABLE([openssl-engine], AS_HELP_STRING([--disable-openssl-engine], [Disable OpenSSL engine support])) AS_IF([test "x$enable_openssl_engine" != "xno"], [], - AC_DEFINE([OPENSSL_NO_ENGINE], 1, ["OpenSSL engine support"])) + AC_DEFINE([OPENSSL_NO_ENGINE], 1, [OpenSSL engine support])) # # Specify runtime directory @@ -287,7 +287,7 @@ AX_CHECK_PCAP # SunOS provides a version of libpcap that would work, but SunOS has no support for activity filter AM_CONDITIONAL([PPP_WITH_FILTER], [ test "x${with_pcap}" = "xyes" && test "x${build_sunos}" != "xyes" ]) AM_COND_IF([PPP_WITH_FILTER], [ - AC_DEFINE([PPP_WITH_FILTER], 1, ["Have packet activity filter support"])], [ + AC_DEFINE([PPP_WITH_FILTER], 1, [Have packet activity filter support])], [ AS_IF([test "x${build_sunos}" = "xyes"], [ AC_MSG_WARN([Packet activity filter not supported on SunOS]) with_pcap="no"