cudd is a nightmare.

This commit is contained in:
Vítor Santos Costa 2012-03-05 16:40:32 +00:00
parent bb4b7b6d0e
commit bf15197e49
2 changed files with 10 additions and 2 deletions

6
configure vendored
View File

@ -4632,8 +4632,12 @@ if test "${with_cudd+set}" = set; then
fi
cudd_dir=/usr/local
fi
if test -d "$cudd_dir/lib64" -a "$YAP_TARGET" = amd64; then
if test -d "$cudd_dir/lib64/cudd" -a "$YAP_TARGET" = amd64; then
LIBS="$LIBS -L $cudd_dir/lib64/cudd"
elif test -d "$cudd_dir/lib64" -a "$YAP_TARGET" = amd64; then
LIBS="$LIBS -L $cudd_dir/lib64"
elif test -d "$cudd_dir/lib/cudd"; then
LIBS="$LIBS -L $cudd_dir/lib/cudd"
elif test -d "$cudd_dir/lib"; then
LIBS="$LIBS -L $cudd_dir/lib"
fi

View File

@ -284,8 +284,12 @@ AC_ARG_WITH(cudd,
cudd_dir=/usr/local
fi
dnl cudd can be most everywhere
if test -d "$cudd_dir/lib64" -a "$YAP_TARGET" = amd64; then
if test -d "$cudd_dir/lib64/cudd" -a "$YAP_TARGET" = amd64; then
LIBS="$LIBS -L $cudd_dir/lib64/cudd"
elif test -d "$cudd_dir/lib64" -a "$YAP_TARGET" = amd64; then
LIBS="$LIBS -L $cudd_dir/lib64"
elif test -d "$cudd_dir/lib/cudd"; then
LIBS="$LIBS -L $cudd_dir/lib/cudd"
elif test -d "$cudd_dir/lib"; then
LIBS="$LIBS -L $cudd_dir/lib"
fi