Fix typo when checking libtool config deplibs_check_method. Moreover,

2005-11-23  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in (enable_explicit_deps): Fix typo when checking
        libtool config deplibs_check_method. Moreover, enable explicit
        deps if we get anything other than pass_all from libtool. (part of
        #318750)
This commit is contained in:
Behdad Esfahbod
2005-11-23 16:51:23 +00:00
committed by Behdad Esfahbod
parent 033087bba0
commit 124f1d7116
3 changed files with 16 additions and 2 deletions

View File

@ -370,8 +370,8 @@ AC_ARG_ENABLE(explicit-deps,
AC_MSG_CHECKING([Whether to write dependencies into .pc files])
case $enable_explicit_deps in
auto)
deplib_check_method=`(./libtool --config; echo eval echo \\$deplib_check_method) | sh`
if test "X$deplib_check_method" = Xnone || test "x$enable_static" = xyes ; then
deplibs_check_method=`(./libtool --config; echo eval echo \\$deplibs_check_method) | sh`
if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
enable_explicit_deps=yes
else
enable_explicit_deps=no