1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

autoconf: add remaining parameter for AC_SEARCH_LIBS

According to:

http://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Libraries.html

Found this while trying to compile for RHEL6.  Otherwise, configure
failed.
This commit is contained in:
Wade Berrier
2013-01-26 00:00:36 -07:00
committed by Carlos R. Mafra
parent 70c9208e40
commit ada7161d8d

View File

@@ -165,7 +165,8 @@ AC_ARG_ENABLE([boehm-gc],
AS_IF([test "x$with_boehm_gc" = "xyes"],
AC_SEARCH_LIBS([GC_malloc], [gc],
[AC_DEFINE(USE_BOEHM_GC, 1, [Define if Boehm GC is to be used])],
[AC_MSG_FAILURE([--enable-boehm-gc specified but test for libgc failed])]
[AC_MSG_FAILURE([--enable-boehm-gc specified but test for libgc failed])],
[]
)
)
@@ -210,10 +211,12 @@ AC_ARG_WITH([libbsd],
tmp_libs=$LIBS
AC_SEARCH_LIBS([strlcat],[$with_libbsd],
[AC_DEFINE(HAVE_STRLCAT, 1, [Define if strlcat is available])],
[],
[]
)
AC_SEARCH_LIBS([strlcpy],[$with_libbsd],
[AC_DEFINE(HAVE_STRLCAT, 1, [Define if strlcpy is available])],
[],
[]
)
LIBS=$tmp_libs