diff options
author | Ginn Chen <Ginn.Chen@Sun.COM> | 2009-03-03 10:27:11 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-03-03 10:27:44 +0000 |
commit | e4b1f871e9cbb04590df5dc6f6f7854642fa0340 (patch) | |
tree | b3c920b3196b227503ca2ca2ab9c07152c7a0503 /build | |
parent | f178f55e47013a92a47a24ac04b1041963b03976 (diff) |
[configure] Detect mkdir variant with non-gcc compilers.
It doesn't work for non GCC compiler right now, as "-Werror -Wall" is
an error to non GCC compiler.
I swapped the sequence of build/configure.ac.system and build/
configure.ac.warnings, then WARN_CFLAGS can be used.
Diffstat (limited to 'build')
-rw-r--r-- | build/configure.ac.system | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/configure.ac.system b/build/configure.ac.system index 4544a54f..d71d2d0c 100644 --- a/build/configure.ac.system +++ b/build/configure.ac.system @@ -81,7 +81,7 @@ AC_CHECK_FUNC(mkdir, [AC_MSG_CHECKING([mkdir variant]) mkdir_variant="unknown" save_CFLAGS="$CFLAGS" - CFLAGS="-Werror -Wall $CFLAGS" # non-gcc compilers? + CFLAGS=$WARN_CFLAGS AC_TRY_COMPILE([ #ifdef HAVE_SYS_STAT_H #include <sys/stat.h> |