Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 858c0a9330278aa6b8afb74be5c1934e > files > 5

apache-mod_auth_openid-0.1-0.r82.1mdv2008.0.src.rpm

diff -Naur mod_auth_openid/configure.ac mod_auth_openid.oden/configure.ac
--- mod_auth_openid/configure.ac	2007-08-22 10:53:57.000000000 +0200
+++ mod_auth_openid.oden/configure.ac	2007-11-21 15:47:50.000000000 +0100
@@ -12,6 +12,8 @@
 
 AC_HEADER_STDC
 
+AC_CHECK_LIB(pcre++,pcre_exec,,echo "ERROR: Required library pcre++ not found" && exit)
+
 # provide flag --enable-debug
 AC_ARG_ENABLE(debug, AC_HELP_STRING([[--enable-debug]], [enable debugging output to Apache error log]),
 [if test "$enableval" = "yes"; then
diff -Naur mod_auth_openid/Makefile.am mod_auth_openid.oden/Makefile.am
--- mod_auth_openid/Makefile.am	2007-08-22 10:53:57.000000000 +0200
+++ mod_auth_openid.oden/Makefile.am	2007-11-21 15:47:41.000000000 +0100
@@ -5,7 +5,7 @@
 noinst_DATA = mod_auth_openid.la
 
 INCLUDES = ${APACHE_CFLAGS} ${OPKELE_CFLAGS} ${BDB_CPPFLAGS} ${SQLITE3_CFLAGS}
-AM_LDFLAGS = ${OPKELE_LIBS} ${BDB_LIBS} ${SQLITE3_LDFLAGS}
+AM_LDFLAGS = ${OPKELE_LIBS} ${BDB_LIBS} ${SQLITE3_LDFLAGS} ${LIBS}
 
 libmodauthopenid_la_SOURCES = mod_auth_openid.cpp MoidConsumer.cpp moid_utils.cpp NonceManager.cpp SessionManager.cpp 
 if SQLITE
@@ -21,4 +21,4 @@
 	${APXS} -i -a -n 'authopenid' mod_auth_openid.la
 
 mod_auth_openid.la: libmodauthopenid.la
-	${APXS} -c -o $@ $< ${APACHE_CFLAGS} ${OPKELE_CFLAGS} ${OPKELE_LIBS} ${BDB_LIBS} ${SQLITE3_CFLAGS}
\ No newline at end of file
+	${APXS} -c -o $@ $< ${APACHE_CFLAGS} ${OPKELE_CFLAGS} ${OPKELE_LIBS} ${BDB_LIBS} ${SQLITE3_CFLAGS} ${LIBS}
\ No newline at end of file