Fix configure.ac patch to be more general
This commit is contained in:
parent
837959528d
commit
2080a2ae0c
@ -6,7 +6,7 @@ index 99c16ca..048b7d0 100644
|
|||||||
[netbsd*], [PLATFORM="bsd"],
|
[netbsd*], [PLATFORM="bsd"],
|
||||||
[*nto*|*qnx*], [PLATFORM="qnx"],
|
[*nto*|*qnx*], [PLATFORM="qnx"],
|
||||||
[*solaris*], [PLATFORM="solaris"],
|
[*solaris*], [PLATFORM="solaris"],
|
||||||
+ [*termux*], [PLATFORM="android"]
|
+ [*android*], [PLATFORM="android"],
|
||||||
[PLATFORM="nix"])
|
[PLATFORM="nix"])
|
||||||
|
|
||||||
AC_ARG_WITH([libxml2],
|
AC_ARG_WITH([libxml2],
|
||||||
@ -14,7 +14,7 @@ index 99c16ca..048b7d0 100644
|
|||||||
[bsd], [RESOLV_LIBS=""],
|
[bsd], [RESOLV_LIBS=""],
|
||||||
[qnx], [RESOLV_LIBS="-lsocket"],
|
[qnx], [RESOLV_LIBS="-lsocket"],
|
||||||
[solaris], [RESOLV_LIBS="-lresolv -lsocket -lnsl"],
|
[solaris], [RESOLV_LIBS="-lresolv -lsocket -lnsl"],
|
||||||
+ [android], [RESOLV_LIBS=""]
|
+ [android], [RESOLV_LIBS=""],
|
||||||
[RESOLV_LIBS="-lresolv"])
|
[RESOLV_LIBS="-lresolv"])
|
||||||
|
|
||||||
LIBS_TMP="${LIBS}"
|
LIBS_TMP="${LIBS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user