Use better comment marker in Autoconf input

The comment marker "#" is copied to the output, so it's only
appropriate for comments that make sense in the shell output.  For
comments about the Autoconf language, "dnl" should be used.
This commit is contained in:
Peter Eisentraut 2019-02-09 15:55:17 +01:00
parent 356687bd82
commit 4446565d36
4 changed files with 9 additions and 16 deletions

View File

@ -91,7 +91,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT],
LLVM_BINPATH=`$LLVM_CONFIG --bindir` LLVM_BINPATH=`$LLVM_CONFIG --bindir`
# LLVM_CONFIG, CLANG are already output via AC_ARG_VAR dnl LLVM_CONFIG, CLANG are already output via AC_ARG_VAR
AC_SUBST(LLVM_LIBS) AC_SUBST(LLVM_LIBS)
AC_SUBST(LLVM_CPPFLAGS) AC_SUBST(LLVM_CPPFLAGS)
AC_SUBST(LLVM_CFLAGS) AC_SUBST(LLVM_CFLAGS)

View File

@ -56,7 +56,7 @@ if test -z "$BISON"; then
*** PostgreSQL then you do not need to worry about this, because the Bison *** PostgreSQL then you do not need to worry about this, because the Bison
*** output is pre-generated.)]) *** output is pre-generated.)])
fi fi
# We don't need AC_SUBST(BISON) because PGAC_PATH_PROGS did it dnl We don't need AC_SUBST(BISON) because PGAC_PATH_PROGS did it
AC_SUBST(BISONFLAGS) AC_SUBST(BISONFLAGS)
])# PGAC_PATH_BISON ])# PGAC_PATH_BISON

9
configure vendored
View File

@ -5164,7 +5164,6 @@ fi
LLVM_BINPATH=`$LLVM_CONFIG --bindir` LLVM_BINPATH=`$LLVM_CONFIG --bindir`
# LLVM_CONFIG, CLANG are already output via AC_ARG_VAR
@ -9465,7 +9464,6 @@ $as_echo "$as_me: WARNING:
*** PostgreSQL then you do not need to worry about this, because the Bison *** PostgreSQL then you do not need to worry about this, because the Bison
*** output is pre-generated.)" >&2;} *** output is pre-generated.)" >&2;}
fi fi
# We don't need AC_SUBST(BISON) because PGAC_PATH_PROGS did it
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex" >&5
@ -9979,11 +9977,7 @@ fi
# other libraries can pull in the pthread functions as a side-effect. We # other libraries can pull in the pthread functions as a side-effect. We
# want to use the -pthread or similar flags directly, and not rely on # want to use the -pthread or similar flags directly, and not rely on
# the side-effects of linking with some other library. # the side-effects of linking with some other library.
#
# note: We have to use AS_IF here rather than plain if. The AC_CHECK_HEADER
# invocation below is the first one in the script, and autoconf generates
# additional code for that, which must not be inside the if-block. AS_IF
# knows how to do that.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
$as_echo_n "checking for a sed that does not truncate output... " >&6; } $as_echo_n "checking for a sed that does not truncate output... " >&6; }
if ${ac_cv_path_SED+:} false; then : if ${ac_cv_path_SED+:} false; then :
@ -14926,7 +14920,6 @@ fi
fi fi
# Check for largefile support (must be after AC_SYS_LARGEFILE)
# The cast to long int works around a bug in the HP C Compiler # The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.

View File

@ -1079,11 +1079,11 @@ fi
# other libraries can pull in the pthread functions as a side-effect. We # other libraries can pull in the pthread functions as a side-effect. We
# want to use the -pthread or similar flags directly, and not rely on # want to use the -pthread or similar flags directly, and not rely on
# the side-effects of linking with some other library. # the side-effects of linking with some other library.
#
# note: We have to use AS_IF here rather than plain if. The AC_CHECK_HEADER dnl note: We have to use AS_IF here rather than plain if. The AC_CHECK_HEADER
# invocation below is the first one in the script, and autoconf generates dnl invocation below is the first one in the script, and autoconf generates
# additional code for that, which must not be inside the if-block. AS_IF dnl additional code for that, which must not be inside the if-block. AS_IF
# knows how to do that. dnl knows how to do that.
AS_IF([test "$enable_thread_safety" = yes -a "$PORTNAME" != "win32"], AS_IF([test "$enable_thread_safety" = yes -a "$PORTNAME" != "win32"],
[ # then [ # then
AX_PTHREAD # set thread flags AX_PTHREAD # set thread flags
@ -1564,7 +1564,7 @@ if test "$PORTNAME" != "win32"; then
AH_VERBATIM([_DARWIN_USE_64_BIT_INODE],[]) AH_VERBATIM([_DARWIN_USE_64_BIT_INODE],[])
fi fi
# Check for largefile support (must be after AC_SYS_LARGEFILE) dnl Check for largefile support (must be after AC_SYS_LARGEFILE)
AC_CHECK_SIZEOF([off_t]) AC_CHECK_SIZEOF([off_t])
# If we don't have largefile support, can't handle segsize >= 2GB. # If we don't have largefile support, can't handle segsize >= 2GB.