summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 72ca103..1ad2b53 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -6,7 +6,7 @@ AC_DEFUN([AC_PROG_CXX_OPTION], [
AC_MSG_CHECKING([whether $CXX supports $1])
ac_save_CXX="$CXX"
CXX="$CXX $1"
- AC_COMPILE_IFELSE(AC_LANG_PROGRAM(),[
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],[
AC_MSG_RESULT([yes])
ifelse($2, , [], [
CXX="$ac_save_CXX"
@@ -26,7 +26,7 @@ AC_DEFUN([AC_PROG_CC_OPTION], [
AC_MSG_CHECKING([whether $CC supports $1])
ac_save_CC="$CC"
CC="$CC $1"
- AC_COMPILE_IFELSE(AC_LANG_PROGRAM(),[
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],[
AC_MSG_RESULT([yes])
ifelse($2, , [], [
CC="$ac_save_CC"