Skip to content

Commit e525e13

Browse files
committed
DAG: Refine the Autoconf support a bit. [skip appveyor]
checking for dagapi.h... yes checking for dag_attach_stream64 in -ldag... yes checking for vdag_set_device_info in -lvdag... yes configure: using Endace DAG API headers from /usr/include configure: using Endace DAG API libraries from /usr/lib
1 parent 101821b commit e525e13

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ if test "$want_dag" != no; then
13451345

13461346
# If necessary, set default paths for DAG API headers and libraries.
13471347
if test -z "$dag_root"; then
1348-
dag_root=/usr/local
1348+
dag_root=/usr
13491349
fi
13501350

13511351
if test -z "$dag_include_dir"; then
@@ -1415,6 +1415,8 @@ if test "$want_dag" != no; then
14151415
LIBS_PRIVATE="$LIBS_PRIVATE $PTHREAD_LIBS"
14161416
fi
14171417

1418+
AC_MSG_NOTICE([using Endace DAG API headers from $dag_include_dir])
1419+
AC_MSG_NOTICE([using Endace DAG API libraries from $dag_lib_dir])
14181420
AC_DEFINE(HAVE_DAG_API, 1, [define if you have the DAG API])
14191421
else
14201422
if test "$V_PCAP" = dag; then
@@ -1428,7 +1430,6 @@ if test "$want_dag" != no; then
14281430
AC_MSG_ERROR([DAG support requested with --with-dag, but the DAG headers weren't found at $dag_include_dir: make sure the DAG support is installed, specify a different path or paths if necessary, or don't request DAG support])
14291431
fi
14301432
fi
1431-
CFLAGS="$save_CFLAGS"
14321433
fi
14331434

14341435
AC_ARG_WITH(septel,

0 commit comments

Comments
 (0)