1 dnl ######################################################################
2 dnl Initial settings for LIBS (-l options)
3 dnl NOTE: this is for configuration as well as compilations!
4 AC_DEFUN([AMU_OPT_LIBS],
5 [AC_MSG_CHECKING(for configuration/compilation (-l) library flags)
7 AC_HELP_STRING([--enable-libs=ARG],
8 [configure/compile with ARG (-l) library flags]),
10 if test "$enableval" = "" || test "$enableval" = "yes" || test "$enableval" = "no"; then
11 AC_MSG_ERROR(libs must be supplied if option is used)
13 # use supplied options
14 LIBS="$LIBS $enableval"
16 AC_MSG_RESULT($enableval)
18 # default is to have no additional flags
22 dnl ======================================================================