diff --git a/m4/grape.m4 b/m4/grape.m4 index 2c80881e5e16b4a13bb4f0c42f9e0e9e15933d22..b57e4dc7c6c40b274a2218c7a2687a77a3731354 100644 --- a/m4/grape.m4 +++ b/m4/grape.m4 @@ -7,7 +7,7 @@ AC_DEFUN([DUNE_PATH_GRAPE],[ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_PATH_XTRA]) AC_REQUIRE([DUNE_PATH_OPENGL]) - AC_REQUIRE([AC_LIB_PROG_LD_GNU]) + AC_REQUIRE([AC_PROG_LD_GNU]) AC_ARG_WITH(grape, AC_HELP_STRING([--with-grape=PATH],[directory with Grape inside])) @@ -56,7 +56,7 @@ if test "x$X_LIBS" != x && test x$with_grape != xno ; then LDFLAGS="$LDFLAGS $GL_LDFLAGS" # if we use the gnu linker add the grape path - if test x$acl_cv_prog_gnu_ld = xyes ; then + if test x$lt_cv_prog_gnu_ld = xyes ; then GRAPE_LINKER_FLAGS="-Wl,--rpath -Wl,$GRAPEROOT" fi