Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In autoconf v2.68, AC_LANG_PROGRAM must be quoted #464

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/always-no-unused-but-set-variable.m4
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_NO_UNUSED_BUT_SET_VARIABLE], [
saved_flags="$CFLAGS"
CFLAGS="$CFLAGS -Wunused-but-set-variable"

AC_RUN_IFELSE(AC_LANG_PROGRAM( [], []),
AC_RUN_IFELSE([AC_LANG_PROGRAM([], [])],
[
NO_UNUSED_BUT_SET_VARIABLE=-Wno-unused-but-set-variable
AC_MSG_RESULT([yes])
Expand Down
2 changes: 1 addition & 1 deletion config/user-frame-larger-than.m4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_FRAME_LARGER_THAN], [
saved_flags="$CFLAGS"
CFLAGS="$CFLAGS -Wframe-larger-than=1024"

AC_RUN_IFELSE(AC_LANG_PROGRAM( [], []),
AC_RUN_IFELSE([AC_LANG_PROGRAM([], [])],
[
FRAME_LARGER_THAN=-Wframe-larger-than=1024
AC_MSG_RESULT([yes])
Expand Down
4 changes: 2 additions & 2 deletions config/user-libblkid.m4
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_LIBBLKID], [
saved_LDFLAGS="$LDFLAGS"
LDFLAGS="-lblkid"

AC_RUN_IFELSE(AC_LANG_PROGRAM(
AC_RUN_IFELSE([AC_LANG_PROGRAM(
[
#include <stdio.h>
#include <blkid/blkid.h>
Expand All @@ -66,7 +66,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_LIBBLKID], [

free(value);
blkid_put_cache(cache);
]),
])],
[
rm -f $ZFS_DEV
AC_MSG_RESULT([yes])
Expand Down
4 changes: 2 additions & 2 deletions config/user-nptl_guard_within_stack.m4
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_STACK_GUARD], [
saved_LDFLAGS="$LDFLAGS"
LDFLAGS="-lpthread"

AC_RUN_IFELSE(AC_LANG_PROGRAM(
AC_RUN_IFELSE([AC_LANG_PROGRAM(
[
#include <pthread.h>
#include <sys/resource.h>
Expand Down Expand Up @@ -41,7 +41,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_STACK_GUARD], [
pthread_attr_setguardsize(&attr, PAGESIZE);
pthread_create(&tid, &attr, func, NULL);
pthread_join(tid, NULL);
]),
])],
[
AC_MSG_RESULT([no])
],
Expand Down