bug 383463, --disable-compile-environment checks too much, r=bsmedberg

This commit is contained in:
axel@pike.org 2007-06-11 08:56:41 -07:00
Родитель 1ae1d79fc7
Коммит 22e73e11a0
2 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -50,7 +50,9 @@ AC_DEFUN([PKG_CHECK_MODULES],
if test $succeeded = yes; then
ifelse([$3], , :, [$3])
else
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
if test "$COMPILE_ENVIRONMENT"; then
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
fi
fi
])

Просмотреть файл

@ -2437,6 +2437,7 @@ esac
if test -z "$COMPILE_ENVIRONMENT"; then
SKIP_COMPILER_CHECKS=1
SKIP_LIBRARY_CHECKS=1
fi
if test -z "$SKIP_COMPILER_CHECKS"; then