Skip to content

Commit 53f6de7

Browse files
committed
Fix warning from m4/attributes.m4
Another AC_LANG_SOURCE warning that wasn't fixed yet.
1 parent 2f1f7f9 commit 53f6de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m4/attributes.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ AC_DEFUN([CC_CHECK_LDFLAGS], [
7070
AS_TR_SH([cc_cv_ldflags_$1]),
7171
[ac_save_LDFLAGS="$LDFLAGS"
7272
LDFLAGS="$LDFLAGS $1"
73-
AC_LINK_IFELSE([int main() { return 1; }],
73+
AC_LINK_IFELSE([AC_LANG_SOURCE([int main() { return 1; }])],
7474
[eval "AS_TR_SH([cc_cv_ldflags_$1])='yes'"],
7575
[eval "AS_TR_SH([cc_cv_ldflags_$1])="])
7676
LDFLAGS="$ac_save_LDFLAGS"

0 commit comments

Comments
 (0)