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