From 003553b6ac35ce3d9caa44ebe301e0eeb2125ed0 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 19 Jan 2008 18:23:56 +0000 Subject: Using test -f instead of test -e. This breaks if the include files are symlinks, but I guess that's less common than people trying to run BitlBee on Solaris machines... (Bug #350) --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 6f8d8ea6..22989f60 100755 --- a/configure +++ b/configure @@ -188,7 +188,7 @@ else fi if [ "$events" = "libevent" ]; then - if ! [ -e "${libevent}include/event.h" ]; then + if ! [ -f "${libevent}include/event.h" ]; then echo echo 'Warning: Could not find event.h, you might have to install it and/or specify' echo 'its location using the --libevent= argument. (Example: If event.h is in' @@ -323,7 +323,7 @@ fi; echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings for i in /lib /usr/lib /usr/local/lib; do - if [ -e $i/libresolv.a ]; then + if [ -f $i/libresolv.a ]; then echo '#define HAVE_RESOLV_A' >> config.h echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings break -- cgit v1.2.3