From 573f31b271d8ab9c7659835d897e51b59d48634b Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 18 Apr 2012 11:25:12 -0600 Subject: [PATCH] Fix linking with libdag --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index e0528a5b41..6667abc964 100644 --- a/configure.in +++ b/configure.in @@ -1014,18 +1014,18 @@ AC_INIT(configure.in) if test "$enable_dag" = "yes"; then - if test "$with_dag_includes" != "no"; then + if test "$with_dag_includes" != "no"; then CPPFLAGS="${CPPFLAGS} -I${with_dag_includes}" fi if test "$with_dag_libraries" != "no"; then - LDFLAGS="${LDFLAGS} -I${with_dag_libraries}" + LDFLAGS="${LDFLAGS} -L${with_dag_libraries}" fi AC_CHECK_HEADER(dagapi.h,DAG="yes",DAG="no") if test "$DAG" != "no"; then DAG="" - AC_CHECK_LIB(dag,dag_open,DAG="yes",DAG="no") + AC_CHECK_LIB(dag,dag_open,,DAG="no",) fi if test "$DAG" != "no"; then