Skip to content

Commit f2a9799

Browse files
committed
improve the detection when
1 parent 2dad7a8 commit f2a9799

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

configure

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4955,10 +4955,9 @@ AC_CHECK_PROGS([TRUE], [true], [/bin/true])
49554955

49564956
dnl On some systems (e.g. Solaris), hstrerror and inet_aton are in -lresolv
49574957
dnl On others, they are in the C library, so we to take no action
4958-
AC_SEARCH_LIBS([inet_aton], [resolv], [
4959-
AS_VAR_IF([ac_cv_search_inet_aton], ["none required"], [
4960-
AC_SEARCH_LIBS([hstrerror], [resolv])
4961-
])
4958+
AC_SEARCH_LIBS([inet_aton], [resolv])
4959+
AS_VAR_IF([ac_cv_search_inet_aton], ["-lresolv"], [], [
4960+
AC_SEARCH_LIBS([hstrerror], [resolv])
49624961
])
49634962

49644963
# On Tru64, chflags seems to be present, but calling it will

0 commit comments

Comments
 (0)