Mercurial > openid
view configure.ac @ 8:870d99055dd1
Diffie-Hellman started but not fully tested; successfully checked signature from AOL
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 29 Dec 2010 12:16:32 -0500 |
parents | c230e6da3ff6 |
children | b416b9b9dc38 |
line wrap: on
line source
AC_INIT([urweb_openid], [1.0]) AC_USE_SYSTEM_EXTENSIONS AM_INIT_AUTOMAKE([-Wall -Werror foreign no-define]) AC_PROG_CC() AC_PROG_LIBTOOL() AC_CONFIG_MACRO_DIR([m4]) AX_CHECK_OPENSSL([echo >/dev/null], [echo "You must install OpenSSL development files."; exit 1]) LIBCURL_CHECK_CONFIG(yes, [], [echo >/dev/null], [echo "You must install libcurl development files."; exit 1]) AC_PROG_CXX AX_LIB_EXPAT if test [$prefix = "NONE"]; then prefix=/usr/local fi if test [-z $LIB]; then LIB=$prefix/lib/urweb fi if test [-z $INCLUDE]; then INCLUDE=$prefix/include/urweb fi AC_SUBST(LIB) AC_SUBST(INCLUDE) AC_CONFIG_FILES([ Makefile src/c/Makefile src/ur/config.urp ]) AC_OUTPUT() cat <<EOF Ur/Web OpenID library configuration: lib directory: LIB $LIB include directory: INCLUDE $INCLUDE Extra GCC args: GCCARGS $GCCARGS EOF