/[pdpsoft]/trunk/grid-mw-security/ees/configure.ac
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/configure.ac

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

revision 2124 by msalle, Tue Sep 7 18:34:18 2010 UTC revision 2125 by msalle, Thu Jan 6 09:44:13 2011 UTC
# Line 98  AC_ARG_ENABLE([debug], [AC_HELP_STRING([ Line 98  AC_ARG_ENABLE([debug], [AC_HELP_STRING([
98  ]  ]
99  )  )
100    
101  # SAML2XACML2 path  # Set XACML variables
102  AC_ARG_WITH([saml2xacml2],  AC_XACML
103    [AS_HELP_STRING([--with-saml2xacml2=<path>], [set path to SAML2-XACML2 library @<:@default=/usr@:>@])],  if test "x$have_xacml" = "xno" ; then
104    [],      AC_MSG_FAILURE(["no SAML2-XACML2-C-library interface found"])
105    [with_saml2xacml2=/usr]  fi
 )  
   
 SAML2XACML2_INCLUDES=  
 SAML2XACML2_LIBRARIES="-lxacml"  
 AS_IF([test "x$with_saml2xacml2" != xno],  
   [  
    AC_DEFINE(HAVE_LIBXACML, 1, [libxacml path supplied by configure argument --with-saml2xacml2=<path> ])  
    SAML2XACML2_INCLUDES="-I$with_saml2xacml2/include/"  
   
    # If 64-bit host AND subdirectory lib64/ exists use it, otherwise use lib/  
    # This is portable across platforms. Note: use /usr/lib(64), since  
    # glite/lib64 seems to exist in any case(?) within remote etics build.  
    if test "x$host_cpu" = "xx86_64" -a ! -h "/usr/lib64" -a -d "/usr/lib64"; then  
         LDFLAGS="$LDFLAGS -L$with_saml2xacml2/lib64/"  
         SAML2XACML2_LIBRARIES="-Wl,-rpath -Wl,$with_saml2xacml2/lib64 -lxacml"  
    else  
         LDFLAGS="$LDFLAGS -L$with_saml2xacml2/lib/"  
         SAML2XACML2_LIBRARIES="-Wl,-rpath -Wl,$with_saml2xacml2/lib -lxacml"  
    fi  
   ]  
 )  
 AC_SUBST([SAML2XACML2_INCLUDES])  
 AC_SUBST([SAML2XACML2_LIBRARIES])  
106    
107  # This is for the Makefile.am files  # This is for the Makefile.am files
108  AM_CONDITIONAL([ENABLE_DEBUG], [test "x$enable_debug" = "xyes"])  AM_CONDITIONAL([ENABLE_DEBUG], [test "x$enable_debug" = "xyes"])

Legend:
Removed from v.2124  
changed lines
  Added in v.2125

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28