1
dnl @synopsis TAC_ARG_WITH_LIBS
3
dnl Test for --with-libs="name(s)".
5
dnl Prepends the specified name(s) to the list of libraries to link
12
dnl tests for --with-libs and pre-pends to LIBS
14
dnl @author Jim Willenbring <jmwille@sandia.gov>
16
AC_DEFUN([TAC_ARG_WITH_LIBS],
18
AC_MSG_CHECKING([whether additional libraries are needed])
20
AC_HELP_STRING([--with-libs],
21
[List additional libraries here. For example, --with-libs=-lsuperlu
22
or --with-libs=/path/libsuperlu.a]),
24
LIBS="${withval} ${LIBS}"
25
AC_MSG_RESULT([LIBS = ${LIBS}])