Change "Define to 1" to "Define" to match what acheader uses

This commit is contained in:
hpa 2001-11-12 10:04:31 +00:00
parent 2c31169f57
commit 949773c2df
2 changed files with 6 additions and 6 deletions

6
aclocal.m4 vendored
View file

@ -37,7 +37,7 @@ dnl
dnl Does struct msghdr have the msg_control field? dnl Does struct msghdr have the msg_control field?
dnl -------------------------------------------------------------------------- dnl --------------------------------------------------------------------------
AH_TEMPLATE([HAVE_MSGHDR_MSG_CONTROL], AH_TEMPLATE([HAVE_MSGHDR_MSG_CONTROL],
[Define to 1 if struct msghdr has the msg_control field.]) [Define if struct msghdr has the msg_control field.])
AC_DEFUN(PA_MSGHDR_MSG_CONTROL, AC_DEFUN(PA_MSGHDR_MSG_CONTROL,
[AC_MSG_CHECKING([for msg_control in struct msghdr]) [AC_MSG_CHECKING([for msg_control in struct msghdr])
@ -68,7 +68,7 @@ dnl lack struct in_pktinfo; if so we need to include the definition
dnl ourselves -- but we only want to do that if absolutely necessary! dnl ourselves -- but we only want to do that if absolutely necessary!
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
AH_TEMPLATE([HAVE_STRUCT_IN_PKTINFO], AH_TEMPLATE([HAVE_STRUCT_IN_PKTINFO],
[Define to 1 if struct in_pktinfo is defined.]) [Define if struct in_pktinfo is defined.])
AC_DEFUN(PA_STRUCT_IN_PKTINFO, AC_DEFUN(PA_STRUCT_IN_PKTINFO,
[AC_MSG_CHECKING([for definition of struct in_pktinfo]) [AC_MSG_CHECKING([for definition of struct in_pktinfo])
@ -101,7 +101,7 @@ dnl Do we have the tcpwrappers -lwrap? This can't be done using AC_CHECK_LIBS
dnl due to the need to provide "allow_severity" and "deny_severity" variables dnl due to the need to provide "allow_severity" and "deny_severity" variables
dnl -------------------------------------------------------------------------- dnl --------------------------------------------------------------------------
AH_TEMPLATE([HAVE_TCPWRAPPERS], AH_TEMPLATE([HAVE_TCPWRAPPERS],
[Define to 1 if we have tcpwrappers (-lwrap) and <tcpd.h>.]) [Define if we have tcpwrappers (-lwrap) and <tcpd.h>.])
AC_DEFUN(PA_HAVE_TCPWRAPPERS, AC_DEFUN(PA_HAVE_TCPWRAPPERS,
[AC_CHECK_LIB([wrap], [main]) [AC_CHECK_LIB([wrap], [main])

View file

@ -64,7 +64,7 @@ PA_MSGHDR_MSG_CONTROL
PA_STRUCT_IN_PKTINFO PA_STRUCT_IN_PKTINFO
AH_TEMPLATE([HAVE_IPPORT_TFTP_DEFINITION], AH_TEMPLATE([HAVE_IPPORT_TFTP_DEFINITION],
[Define to 1 if netinet/in.h defines IPPORT_TFTP.]) [Define if netinet/in.h defines IPPORT_TFTP.])
PA_HEADER_DEFINES(netinet/in.h, int, IPPORT_TFTP) PA_HEADER_DEFINES(netinet/in.h, int, IPPORT_TFTP)
PA_WITH_BOOL(tcpwrappers, 1, PA_WITH_BOOL(tcpwrappers, 1,
@ -75,7 +75,7 @@ PA_WITH_BOOL(tcpwrappers, 1,
],:) ],:)
AH_TEMPLATE([WITH_REGEX], AH_TEMPLATE([WITH_REGEX],
[Define to 1 if we are compiling with regex filename remapping.]) [Define if we are compiling with regex filename remapping.])
PA_WITH_BOOL(remap, 1, PA_WITH_BOOL(remap, 1,
[ --without-remap Disable regex-based filename remapping], [ --without-remap Disable regex-based filename remapping],
@ -91,7 +91,7 @@ PA_WITH_BOOL(remap, 1,
],:) ],:)
AH_TEMPLATE([HAVE_SIGSETJMP], AH_TEMPLATE([HAVE_SIGSETJMP],
[Define to 1 if we have sigsetjmp, siglongjmp and sigjmp_buf.]) [Define if we have sigsetjmp, siglongjmp and sigjmp_buf.])
PA_SIGSETJMP([AC_DEFINE(HAVE_SIGSETJMP)]) PA_SIGSETJMP([AC_DEFINE(HAVE_SIGSETJMP)])
LIBXTRA=false LIBXTRA=false