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], [
else
with_metis=/usr
if test ! -f "$with_metis/include/metis.h" ; then
with_metis=/usr/local
if test ! -f "$with_metis/include/metis.h" ; then
with_metis=""
AC_MSG_RESULT(failed)
else
AC_MSG_RESULT(yes)
fi
if test ! -f "$with_metis/include/metis/metis.h" ; then
with_metis=/usr/local
if test ! -f "$with_metis/include/metis.h" ; then
with_metis=""
AC_MSG_RESULT(failed)
else
AC_MSG_RESULT(yes)
fi
fi
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(yes)
fi
......@@ -72,6 +75,11 @@ AC_DEFUN([IMMDX_LIB_METIS], [
include_path="/include"
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
# catch bad convention in the downloadable metis version
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