summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-06 16:24:31 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-06 16:24:31 -0800
commit5c617fc17d9da49f92823b78472a59bd98033611 (patch)
treeeebb891bb32944b2fffc4d8c81cc2ff912d8ef4a
parente7b044c11190ed4deae2c2bb61ff3cc2c99170b2 (diff)
configure.ac: Replace HAVE_LIBRARY with AC_CHECK_LIB
AC_CHECK_LIB was introduced in autoconf 2.0 (1994) to replace HAVE_LIBRARY Clears autoconf warnings of: configure.ac:108: warning: The macro `AC_HAVE_LIBRARY' is obsolete. configure.ac:108: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:108: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3fc7f9c..18e8229 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,7 +105,7 @@ esac
# Link with winsock if mingw target
case $host_os in
*mingw*)
- AC_HAVE_LIBRARY(ws2_32)
+ AC_CHECK_LIB([ws2_32],[main])
;;
*)
;;