Fixed linux specific test.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 11 Apr 2000 21:22:28 +0000 (21:22 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 11 Apr 2000 21:22:28 +0000 (21:22 +0000)
configure
configure.in

index 282a046..1e941e0 100755 (executable)
--- a/configure
+++ b/configure
@@ -1638,7 +1638,7 @@ fi
 echo $ac_n "checking whether proto.h needs to be generated""... $ac_c" 1>&6
 echo "configure:1640: checking whether proto.h needs to be generated" >&5
 yaz_include=${srcdir}/include/yaz
 echo $ac_n "checking whether proto.h needs to be generated""... $ac_c" 1>&6
 echo "configure:1640: checking whether proto.h needs to be generated" >&5
 yaz_include=${srcdir}/include/yaz
-if test -e ${yaz_include}/proto.h && cmp -s ${yaz_include}/$HFILE ${yaz_include}/proto.h; then
+if test -r ${yaz_include}/proto.h && cmp -s ${yaz_include}/$HFILE ${yaz_include}/proto.h; then
        echo "$ac_t""no" 1>&6
 else
        echo "$ac_t""yes" 1>&6
        echo "$ac_t""no" 1>&6
 else
        echo "$ac_t""yes" 1>&6
index ae77ec4..81915a9 100644 (file)
@@ -1,7 +1,7 @@
 dnl YAZ Toolkit
 dnl (c) Index Data 1994-2000
 dnl See the file LICENSE for details.
 dnl YAZ Toolkit
 dnl (c) Index Data 1994-2000
 dnl See the file LICENSE for details.
-dnl $Id: configure.in,v 1.25 2000-04-05 07:39:54 adam Exp $
+dnl $Id: configure.in,v 1.26 2000-04-11 21:22:28 adam Exp $
 AC_INIT(include/yaz/yaz-version.h)
 AM_INIT_AUTOMAKE(yaz, 1.7)
 dnl
 AC_INIT(include/yaz/yaz-version.h)
 AM_INIT_AUTOMAKE(yaz, 1.7)
 dnl
@@ -32,7 +32,7 @@ else
 fi
 AC_MSG_CHECKING(whether proto.h needs to be generated)
 yaz_include=${srcdir}/include/yaz
 fi
 AC_MSG_CHECKING(whether proto.h needs to be generated)
 yaz_include=${srcdir}/include/yaz
-if test -e ${yaz_include}/proto.h && cmp -s ${yaz_include}/$HFILE ${yaz_include}/proto.h; then
+if test -r ${yaz_include}/proto.h && cmp -s ${yaz_include}/$HFILE ${yaz_include}/proto.h; then
        AC_MSG_RESULT(no)
 else
        AC_MSG_RESULT(yes)
        AC_MSG_RESULT(no)
 else
        AC_MSG_RESULT(yes)