Skip to content
Snippets Groups Projects
Commit f9676e84 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

added fix that locates the native gentoo metis lib installed.

[[Imported from SVN: r7096]]
parent c33965a6
No related branches found
No related tags found
No related merge requests found
...@@ -48,13 +48,16 @@ AC_DEFUN([IMMDX_LIB_METIS], [ ...@@ -48,13 +48,16 @@ AC_DEFUN([IMMDX_LIB_METIS], [
else else
with_metis=/usr with_metis=/usr
if test ! -f "$with_metis/include/metis.h" ; then if test ! -f "$with_metis/include/metis.h" ; then
with_metis=/usr/local if test ! -f "$with_metis/include/metis/metis.h" ; then
if test ! -f "$with_metis/include/metis.h" ; then with_metis=/usr/local
with_metis="" if test ! -f "$with_metis/include/metis.h" ; then
AC_MSG_RESULT(failed) with_metis=""
else AC_MSG_RESULT(failed)
AC_MSG_RESULT(yes) else
fi AC_MSG_RESULT(yes)
fi
fi
AC_MSG_RESULT(yes)
else else
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
fi fi
...@@ -72,6 +75,11 @@ AC_DEFUN([IMMDX_LIB_METIS], [ ...@@ -72,6 +75,11 @@ AC_DEFUN([IMMDX_LIB_METIS], [
include_path="/include" include_path="/include"
fi fi
if test -f "$with_metis/include/metis/metis.h"; then
lib_path="/lib"
include_path="/include/metis"
fi
if test -f "$with_metis/Lib/metis.h"; then if test -f "$with_metis/Lib/metis.h"; then
# catch bad convention in the downloadable metis version # catch bad convention in the downloadable metis version
lib_path="" lib_path=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment