Closed rainerjung closed 8 years ago
configure is run by /bin/sh, but uses "CFLAGS+=..." which is not available for every /bin/sh, e.g. not on Solaris. Patch:
--- config.m4 2016-03-17 14:43:07.000000000 +0100 +++ config.m4 2016-04-10 09:56:43.694975000 +0200 @@ -29,7 +29,7 @@
AC_MSG_CHECKING([for C11 support with -std=c11]) old_CFLAGS="$CFLAGS" -CFLAGS+=" -std=c11" +CFLAGS="$CFLAGS -std=c11" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[ AC_MSG_RESULT([no]) CFLAGS="$old_CFLAGS" @@ -38,7 +38,7 @@ echo " support. Trying C99 instead, but compiling may fail." echo "==========================================================" AC_MSG_CHECKING([for C99 support with -std=c99])
configure is run by /bin/sh, but uses "CFLAGS+=..." which is not available for every /bin/sh, e.g. not on Solaris. Patch:
--- config.m4 2016-03-17 14:43:07.000000000 +0100 +++ config.m4 2016-04-10 09:56:43.694975000 +0200 @@ -29,7 +29,7 @@
AC_MSG_CHECKING([for C11 support with -std=c11]) old_CFLAGS="$CFLAGS" -CFLAGS+=" -std=c11" +CFLAGS="$CFLAGS -std=c11" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],[AC_MSG_RESULT([yes])],[ AC_MSG_RESULT([no]) CFLAGS="$old_CFLAGS" @@ -38,7 +38,7 @@ echo " support. Trying C99 instead, but compiling may fail." echo "==========================================================" AC_MSG_CHECKING([for C99 support with -std=c99])