diff --git a/configure b/configure index 10c4d7df32c..ec73a59f3fd 100755 --- a/configure +++ b/configure @@ -264,7 +264,7 @@ fi # Valgrind is only reliable on Linux. On Windows it doesn't work at all, and # on the Mac the dynamic linker causes Valgrind to emit a huge stream of # errors. -if [ $CFG_OSTYPE != Linux ] && [ $CFG_OSTYPE != Darwin ] +if [ $CFG_OSTYPE != unknown-linux-gnu ] && [ $CFG_OSTYPE != apple-darwin ] then CFG_BAD_VALGRIND=1 putvar CFG_BAD_VALGRIND