From: foobar Date: Sat, 21 Oct 2000 00:35:10 +0000 (+0000) Subject: Now checks that the library really exists even if path is specified as /usr X-Git-Tag: php-4.0.4RC3~591 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6639808084c3c159427fee0645db777bff56a49;p=php Now checks that the library really exists even if path is specified as /usr PR: 7358 --- diff --git a/ext/dba/config.m4 b/ext/dba/config.m4 index 93315fdb5c..23f4cabe52 100644 --- a/ext/dba/config.m4 +++ b/ext/dba/config.m4 @@ -21,12 +21,11 @@ AC_DEFUN(AC_DBA_STD_ASSIGN,[ dnl Standard check AC_DEFUN(AC_DBA_STD_CHECK,[ THIS_RESULT="yes" - if test "$THIS_PREFIX" != "/usr"; then - if test "$THIS_INCLUDE" = "" ; then + if test "$THIS_PREFIX" != "/usr" -a "$THIS_INCLUDE" = ""; then AC_MSG_ERROR(cannot find necessary header file(s)) - elif test "$THIS_LIBS" = "" ; then - AC_MSG_ERROR(cannot find necessary library) fi + if test "$THIS_LIBS" = "" ; then + AC_MSG_ERROR(cannot find necessary library) fi ])