forked from italiangrid/voms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglite.m4
More file actions
36 lines (28 loc) · 802 Bytes
/
Copy pathglite.m4
File metadata and controls
36 lines (28 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
dnl Usage:
dnl AC_GLITE
dnl - GLITE_LOCATION
dnl - GLITE_CFLAGS
dnl - DISTTAR
AC_DEFUN([AC_GLITE],
[
AC_ARG_WITH(glite_location,
[ --with-glite-location=PFX prefix where GLITE is installed. (/opt/glite)],
[],
with_glite_location=/opt/glite)
if test -n "with_glite_location" ; then
GLITE_LOCATION="$with_glite_location"
GLITE_CFLAGS="-I$GLITE_LOCATION/include"
else
GLITE_LOCATION=""
GLITE_CFLAGS=""
fi
AC_MSG_RESULT([GLITE_LOCATION set to $GLITE_LOCATION])
AC_SUBST(GLITE_LOCATION)
AC_SUBST(GLITE_CFLAGS)
AC_ARG_WITH(dist_location,
[ --with-dist-location=PFX prefix where DIST location is. (pwd)],
[],
with_dist_location=$WORKDIR/../dist)
DISTTAR=$with_dist_location
AC_SUBST(DISTTAR)
])