portability fix: use -Wall only with gcc (e.g. Sun Studio fails)
parent
ce1d83ef06
commit
1212a635bb
|
@ -271,8 +271,10 @@ AC_CHECK_FUNCS([ \
|
|||
])
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
# We add -Wall to enable some compiler warnings.
|
||||
CFLAGS="${CFLAGS} -Wall"
|
||||
if test "$GCC" = "yes" ; then
|
||||
# We add -Wall to enable some compiler warnings.
|
||||
CFLAGS="${CFLAGS} -Wall"
|
||||
fi
|
||||
|
||||
if test "${enable_pedantic}" = "yes"; then
|
||||
enable_warnings="yes"
|
||||
|
|
Loading…
Reference in New Issue