151 |
# Check if we want to have resource support |
# Check if we want to have resource support |
152 |
AC_MSG_CHECKING([for resource support]) |
AC_MSG_CHECKING([for resource support]) |
153 |
AC_ARG_WITH(resource, |
AC_ARG_WITH(resource, |
154 |
[ --without-resource Disable resouce monitoring (default: enabled)], |
[ --without-resource disable resouce monitoring (default: enabled)], |
155 |
[ |
[ |
156 |
dnl Check the withvalue |
dnl Check the withvalue |
157 |
if test "x$withval" = "xno" ; then |
if test "x$withval" = "xno" ; then |
206 |
# Check if we want to have SSL |
# Check if we want to have SSL |
207 |
AC_MSG_CHECKING([for SSL support]) |
AC_MSG_CHECKING([for SSL support]) |
208 |
AC_ARG_WITH(ssl, |
AC_ARG_WITH(ssl, |
209 |
[ --without-ssl Disable the use of ssl (default: enabled)], |
[ --without-ssl disable the use of ssl (default: enabled)], |
210 |
[ |
[ |
211 |
dnl Check the withvalue |
dnl Check the withvalue |
212 |
if test "x$withval" = "xno" ; then |
if test "x$withval" = "xno" ; then |
228 |
if test "$use_ssl" = "1"; then |
if test "$use_ssl" = "1"; then |
229 |
AC_MSG_CHECKING([for SSL directory]) |
AC_MSG_CHECKING([for SSL directory]) |
230 |
AC_ARG_WITH(ssl-dir, |
AC_ARG_WITH(ssl-dir, |
231 |
[ --with-ssl-dir=DIR location of installed SSL libraries/include files], |
[ --with-ssl-dir=DIR location of installed SSL libraries/include files], |
232 |
[ |
[ |
233 |
dnl Check the specified location only |
dnl Check the specified location only |
234 |
checkssldir "$withval" |
checkssldir "$withval" |
261 |
# Add SSL includes and libraries |
# Add SSL includes and libraries |
262 |
if test "$ssldir" |
if test "$ssldir" |
263 |
then |
then |
264 |
if test -f "/usr/kerberos/include/krb5.h" |
CFLAGS="$CFLAGS -I$ssldir/include" |
265 |
then |
LIBS="$LIBS -L$ssldir/lib -lssl -lcrypto" |
266 |
# Redhat 9 compilation fix |
# Redhat 9 compilation fix: |
267 |
CFLAGS="$CFLAGS -I$ssldir/include -I/usr/kerberos/include" |
if test -f "/usr/kerberos/include/krb5.h" |
268 |
LIBS="$LIBS -L$ssldir/lib -lssl -lcrypto" |
then |
269 |
else |
CFLAGS="$CFLAGS -I/usr/kerberos/include" |
270 |
CFLAGS="$CFLAGS -I$ssldir/include" |
fi |
|
LIBS="$LIBS -L$ssldir/lib -lssl -lcrypto" |
|
|
fi |
|
271 |
fi |
fi |
272 |
|
|
273 |
# Outputs |
# Outputs |