Skip to content

Commit

Permalink
Lets AC_RUN_IF_ELSE for each case
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ortmann committed Dec 3, 2023
1 parent d29aeec commit d4ee377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ AC_DEFUN([EGG_FUNC_B64_NTOP],
AC_MSG_CHECKING(for b64_ntop with -lresolv)
OLD_LIBS="$LIBS"
LIBS="$LIBS -lresolv"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
AC_RUN_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <netinet/in.h>
#include <resolv.h>
Expand All @@ -338,7 +338,7 @@ AC_DEFUN([EGG_FUNC_B64_NTOP],
AC_MSG_CHECKING(for b64_ntop with -lnetwork)
OLD_LIBS="$LIBS"
LIBS="-lnetwork"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
AC_RUN_IFELSE([AC_LANG_PROGRAM([[
#include <sys/types.h>
#include <netinet/in.h>
#include <resolv.h>
Expand Down

0 comments on commit d4ee377

Please sign in to comment.