summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2010-04-20 18:23:59 -0400
committerNalin Dahyabhai <nalin@redhat.com>2010-04-20 18:23:59 -0400
commita971ed942e65f9c3cadef5221dc9e524cf54d8e0 (patch)
treea8b348f26f751fa62b20764e381749e757e25280 /configure.ac
parent97e8d97a1f6fd6cba72753d2809ddda277544592 (diff)
downloadpam_rps-a971ed942e65f9c3cadef5221dc9e524cf54d8e0.tar.gz
pam_rps-a971ed942e65f9c3cadef5221dc9e524cf54d8e0.tar.xz
pam_rps-a971ed942e65f9c3cadef5221dc9e524cf54d8e0.zip
- simplify logic for choosing choices
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 173829b..797610f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,9 @@
AC_INIT(pam_rps,0.1)
AM_INIT_AUTOMAKE(foreign)
AC_PROG_CC
+if test x$GCC = xyes ; then
+ CFLAGS="$CFLAGS -Wall -Wextra"
+fi
AC_PROG_LIBTOOL
AM_MAINTAINER_MODE
AC_CHECK_HEADERS(security/pam_modules.h)