define {INCLUDE,LIB}_* as well as *{INCLUDE,LIB} (which is used in

other places)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5671 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-21 14:07:30 +00:00
parent 3b26f45aec
commit fe59930725

View File

@@ -98,13 +98,17 @@ dnl Try to find lib
AC_MSG_RESULT(no)
fi
if test -n "$$1_include"; then
foo[INCLUDE]="-I$$1_include"
INCLUDE_$1="-I$$1_include"
fi
AC_SUBST(INCLUDE_$1])
foo[INCLUDE]="$INCLUDE_$1"
AC_SUBST(foo[INCLUDE])
if test -n "$$1_lib"; then
foo[LIB]="-L$$1_lib"
LIB_$1="-L$$1_lib"
fi
foo[LIB]="$foo[LIB] $4"
LIB_$1="$LIB_$1 $4"
AC_SUBST(LIB_$1)
foo[LIB]="$LIB_$1"
AC_SUBST(foo[LIB])
else
AC_MSG_RESULT(no)