/[monit]/monit/configure.ac
ViewVC logotype

Diff of /monit/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.34 by martinp, Fri Jul 4 16:18:36 2003 UTC revision 1.35 by martinp, Sun Jul 6 18:29:38 2003 UTC
# Line 151  AC_SUBST(ARCH) Line 151  AC_SUBST(ARCH)
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
# Line 206  checkssldir() { : Line 206  checkssldir() { :
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
# Line 228  AC_ARG_WITH(ssl, Line 228  AC_ARG_WITH(ssl,
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"
# Line 261  fi Line 261  fi
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

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26