Skip to content
Snippets Groups Projects
Commit d43effd4 authored by Oliver Sander's avatar Oliver Sander
Browse files

With the recent restructuring of the UG headers, there is no more need to...

With the recent restructuring of the UG headers, there is no more need to define INT by hand in the test

[[Imported from SVN: r4578]]
parent 39f75928
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,7 @@ AC_DEFUN([DUNE_PATH_UG],[
AC_MSG_CHECKING([UG libraries (without MPI)])
LIBS="$UG_LIBS"
AC_TRY_LINK(
[#define INT int
#include "initug.h"],
[#include "initug.h"],
[int i = UG::D2::InitUg(0,0)],
[UG_LDFLAGS="$LDFLAGS"
HAVE_UG="1"
......@@ -78,8 +77,7 @@ AC_DEFUN([DUNE_PATH_UG],[
AC_MSG_CHECKING([UG libraries (with MPI)])
LIBS="$UG_LIBS"
AC_TRY_LINK(
[#define INT int
#include "initug.h"],
[#include "initug.h"],
[int i = UG::D2::InitUg(0,0)],
[UG_LDFLAGS="$LDFLAGS"
UG_CPPFLAGS="$UG_CPPFLAGS -DModelP"
......
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