summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2012-07-16 15:48:43 +0200
committerKarel Zak2012-07-16 15:48:43 +0200
commitbdf5f542e2af3d42973170fd18b917c69a9eccc1 (patch)
tree281a116758f326f5871f34082fb983ee8bcc3eef /configure.ac
parentlibmount: rename mnt_context_fstab_applied to mnt_context_tab_applied (diff)
downloadkernel-qcow2-util-linux-bdf5f542e2af3d42973170fd18b917c69a9eccc1.tar.gz
kernel-qcow2-util-linux-bdf5f542e2af3d42973170fd18b917c69a9eccc1.tar.xz
kernel-qcow2-util-linux-bdf5f542e2af3d42973170fd18b917c69a9eccc1.zip
build-sys: add UL_PROG_CLANG function, rename warnings.m4 -> compiler.m4
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cf62d64b7..ba63e4438 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,6 +89,7 @@ AC_SUBST([usrsbin_execdir])
usrlib_execdir='${exec_prefix}/'$libdirname
AC_SUBST([usrlib_execdir])
+
AM_PROG_CC_C_O
AC_PROG_CC_STDC
AC_GNU_SOURCE
@@ -97,6 +98,8 @@ AC_C_CONST
AC_C_VOLATILE
AC_C_BIGENDIAN
+UL_PROG_CLANG
+
dnl Compiler warnings
UL_WARN_ADD([-Wextra])
UL_WARN_ADD([-Wno-missing-field-initializers])