summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2014-06-20 11:24:33 +0000
committerolavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53>2014-06-20 11:24:33 +0000
commit66f6d2cb087e471d8599c8e221745b6e055f5d12 (patch)
tree007946821888ce6dd45c075eb8cf51197780ddc9
parent639c5be4a600ebc413838a3c273fb3965b2ab48b (diff)
downloadmod_auth_mellon-66f6d2cb087e471d8599c8e221745b6e055f5d12.tar.gz
mod_auth_mellon-66f6d2cb087e471d8599c8e221745b6e055f5d12.tar.xz
mod_auth_mellon-66f6d2cb087e471d8599c8e221745b6e055f5d12.zip
Compile in C99-mode.
Some of the following patches use features from C99, so make sure that we are compiling using that version. git-svn-id: https://modmellon.googlecode.com/svn/trunk@230 a716ebb1-153a-0410-b759-cfb97c6a1b53
-rw-r--r--Makefile.in2
-rw-r--r--configure.ac3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index aa83ec2..a2f9d18 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -23,7 +23,7 @@ DISTFILES=$(SRC) \
all: mod_auth_mellon.la
mod_auth_mellon.la: $(SRC) auth_mellon.h auth_mellon_compat.h
- @APXS2@ -Wc,"@OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC)
+ @APXS2@ -Wc,"-std=c99 @OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC)
# Building configure (for distribution)
diff --git a/configure.ac b/configure.ac
index 0c1a602..be74cbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,8 @@
AC_INIT([mod_auth_mellon],[0.7.0],[olav.morken@uninett.no])
+# We require support for C99.
+AC_PROG_CC_C99
+
AC_SUBST(NAMEVER, AC_PACKAGE_TARNAME()-AC_PACKAGE_VERSION())