summarylogtreecommitdiffstats
path: root/02-fix-configure.patch
diff options
context:
space:
mode:
authorSébastien Luttringer2017-08-22 03:21:34 +0200
committerSébastien Luttringer2017-08-22 03:21:34 +0200
commitb0a9686c88b1d79aa30a442a5dba72a7420458e5 (patch)
treedf2edcb5d998f55cbe22d628460afae8d6ab6e22 /02-fix-configure.patch
downloadaur-rblcheck.tar.gz
Initial Commit
Moved from community
Diffstat (limited to '02-fix-configure.patch')
-rw-r--r--02-fix-configure.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/02-fix-configure.patch b/02-fix-configure.patch
new file mode 100644
index 000000000000..3f059b9c5430
--- /dev/null
+++ b/02-fix-configure.patch
@@ -0,0 +1,20 @@
+# Copyright 2015 Séastien Luttringer
+--- a/configure.in 2015-09-18 02:55:59.825544232 +0200
++++ b/configure.in 2015-09-18 03:23:33.544191972 +0200
+@@ -19,15 +19,7 @@
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+
+-dnl Figure out where to get res_query from. First, see if it's in the
+-dnl C library (Linux, and probably a few others). Then, check libbind
+-dnl (generally, if you've installed bind 8, you're going to want to use
+-dnl the new library). Finally, check for libresolv (which should exist
+-dnl on most systems).
+-AC_CHECK_FUNC(res_query,,
+- AC_CHECK_LIB(resolv,res_query,,
+- AC_CHECK_LIB(bind,res_query,,
+- AC_MSG_ERROR(cannot locate res_query function))))
++AC_CHECK_LIB(resolv, __res_query)
+
+ dnl All done.
+ AC_OUTPUT(Makefile docs/Makefile config/rblcheck.spec config/pkginfo)