X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=51452982045bf047a802d0cc0401a57b0f377fb1;hb=871b876ecc6921a70b5f5e15cb9f85e0b6f2d1a5;hp=b715a34405214cb8e836babd3ff673ad36115c82;hpb=c4f1b86299c4ce2a62ce845bc48f2794f5459762;p=elogind.git diff --git a/configure.ac b/configure.ac index b715a3440..514529820 100644 --- a/configure.ac +++ b/configure.ac @@ -89,7 +89,6 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ -W \ -Wextra \ -Wno-inline \ - -Wvla \ -Wundef \ -Wformat=2 \ -Wlogical-op \ @@ -509,7 +508,7 @@ if test "z$with_distro" = "z"; then if test "$cross_compiling" = yes; then AC_MSG_WARN([Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)]) else - with_distro=$($GREP '^ID=' /etc/os-release | $SED 's/ID=//'); + with_distro=$($GREP '^ID=' /etc/os-release 2>/dev/null | $SED 's/ID=//'); fi if test "z$with_distro" = "z"; then with_distro=other