Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4446565

Browse files
committed
Use better comment marker in Autoconf input
The comment marker "#" is copied to the output, so it's onlyappropriate for comments that make sense in the shell output. Forcomments about the Autoconf language, "dnl" should be used.
1 parent356687b commit4446565

File tree

4 files changed

+9
-16
lines changed

4 files changed

+9
-16
lines changed

‎config/llvm.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT],
9191
9292
LLVM_BINPATH=`$LLVM_CONFIG --bindir`
9393
94-
# LLVM_CONFIG, CLANG are already output via AC_ARG_VAR
94+
dnl LLVM_CONFIG, CLANG are already output via AC_ARG_VAR
9595
AC_SUBST(LLVM_LIBS)
9696
AC_SUBST(LLVM_CPPFLAGS)
9797
AC_SUBST(LLVM_CFLAGS)

‎config/programs.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if test -z "$BISON"; then
5656
*** PostgreSQL then you do not need to worry about this, because the Bison
5757
*** output is pre-generated.)])
5858
fi
59-
# We don't needAC_SUBST(BISON) because PGAC_PATH_PROGS did it
59+
dnl We don't needAC_SUBST(BISON) because PGAC_PATH_PROGS did it
6060
AC_SUBST(BISONFLAGS)
6161
])# PGAC_PATH_BISON
6262

‎configure

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5164,7 +5164,6 @@ fi
51645164

51655165
LLVM_BINPATH=`$LLVM_CONFIG --bindir`
51665166

5167-
# LLVM_CONFIG, CLANG are already output via AC_ARG_VAR
51685167

51695168

51705169

@@ -9465,7 +9464,6 @@ $as_echo "$as_me: WARNING:
94659464
*** PostgreSQL then you do not need to worry about this, because the Bison
94669465
*** output is pre-generated.)" >&2;}
94679466
fi
9468-
# We don't need AC_SUBST(BISON) because PGAC_PATH_PROGS did it
94699467

94709468

94719469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex" >&5
@@ -9979,11 +9977,7 @@ fi
99799977
# other libraries can pull in the pthread functions as a side-effect. We
99809978
# want to use the -pthread or similar flags directly, and not rely on
99819979
# the side-effects of linking with some other library.
9982-
#
9983-
# note: We have to use AS_IF here rather than plain if. The AC_CHECK_HEADER
9984-
# invocation below is the first one in the script, and autoconf generates
9985-
# additional code for that, which must not be inside the if-block. AS_IF
9986-
# knows how to do that.
9980+
99879981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
99889982
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
99899983
if ${ac_cv_path_SED+:} false; then :
@@ -14926,7 +14920,6 @@ fi
1492614920

1492714921
fi
1492814922

14929-
# Check for largefile support (must be after AC_SYS_LARGEFILE)
1493014923
# The cast to long int works around a bug in the HP C Compiler
1493114924
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1493214925
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.

‎configure.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,11 +1079,11 @@ fi
10791079
# other libraries can pull in the pthread functions as a side-effect. We
10801080
# want to use the -pthread or similar flags directly, and not rely on
10811081
# the side-effects of linking with some other library.
1082-
#
1083-
# note: We have to use AS_IF here rather than plain if. The AC_CHECK_HEADER
1084-
# invocation below is the first one in the script, and autoconf generates
1085-
# additional code for that, which must not be inside the if-block. AS_IF
1086-
# knows how to do that.
1082+
1083+
dnl note: We have to use AS_IF here rather than plain if. The AC_CHECK_HEADER
1084+
dnl invocation below is the first one in the script, and autoconf generates
1085+
dnl additional code for that, which must not be inside the if-block. AS_IF
1086+
dnl knows how to do that.
10871087
AS_IF([test "$enable_thread_safety" = yes -a "$PORTNAME" != "win32"],
10881088
[ # then
10891089
AX_PTHREAD# set thread flags
@@ -1564,7 +1564,7 @@ if test "$PORTNAME" != "win32"; then
15641564
AH_VERBATIM([_DARWIN_USE_64_BIT_INODE],[])
15651565
fi
15661566

1567-
# Check for largefile support (must be after AC_SYS_LARGEFILE)
1567+
dnl Check for largefile support (must be after AC_SYS_LARGEFILE)
15681568
AC_CHECK_SIZEOF([off_t])
15691569

15701570
# If we don't have largefile support, can't handle segsize >= 2GB.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp