1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s4:build: use SAMBA_PKG_CONFIG_MIN_VERSION instead of PKG_CONFIG_MIN_VERSION

And also intialize the variable. This fixes ./autogen.sh
in the merged build for me.

metze
This commit is contained in:
Stefan Metzmacher 2009-03-17 08:58:04 +01:00
parent 467cc6927f
commit 937a058cf2

View File

@ -82,7 +82,8 @@ AC_DEFUN([SMB_EXT_LIB_FROM_PKGCONFIG],
echo "*** Or see http://pkg-config.freedesktop.org/ to get pkg-config." echo "*** Or see http://pkg-config.freedesktop.org/ to get pkg-config."
ac_cv_$1_found=no ac_cv_$1_found=no
else else
if $PKG_CONFIG --atleast-pkgconfig-version 0.9.0; then SAMBA_PKG_CONFIG_MIN_VERSION="0.9.0"
if $PKG_CONFIG --atleast-pkgconfig-version $SAMBA_PKG_CONFIG_MIN_VERSION; then
AC_MSG_CHECKING(for $2) AC_MSG_CHECKING(for $2)
if $PKG_CONFIG --exists '$2' ; then if $PKG_CONFIG --exists '$2' ; then
@ -114,7 +115,7 @@ AC_DEFUN([SMB_EXT_LIB_FROM_PKGCONFIG],
ac_cv_$1_found=no ac_cv_$1_found=no
fi fi
else else
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** Your version of pkg-config is too old. You need version $SAMBA_PKG_CONFIG_MIN_VERSION or newer."
echo "*** See http://pkg-config.freedesktop.org/" echo "*** See http://pkg-config.freedesktop.org/"
ac_cv_$1_found=no ac_cv_$1_found=no
fi fi