summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m418
1 files changed, 0 insertions, 18 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 71f01544d11b..a42a0f1ce830 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -118,21 +118,3 @@ esac
AC_LANG_POP(C)
]) dnl end AC_DEFUN
-
-dnl PKG_CHECK_MODULES_MACHACK is like PKG_CHECK_MODULES but sneaks in an extra
-dnl argument between the first and second, denoting a program to call instead of
-dnl pkg-config on Mac OS X (aka Darwin):
-AC_DEFUN([PKG_CHECK_MODULES_MACHACK],
-[if test "$_os" = "Darwin"; then
- AC_MSG_CHECKING($1_CFLAGS)
- $1_CFLAGS=`$2 --cflags`
- AC_MSG_RESULT($$1_CFLAGS)
- AC_MSG_CHECKING($1_LIBS)
- $1_LIBS=`$2 --libs`
- AC_MSG_RESULT($$1_LIBS)
- AC_SUBST($1_CFLAGS)
- AC_SUBST($1_LIBS)
- else
- PKG_CHECK_MODULES($1, $3, $4, $5, $6)
- fi
-])