aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-01-19 18:23:56 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-01-19 18:23:56 +0000
commit003553b6ac35ce3d9caa44ebe301e0eeb2125ed0 (patch)
treeea2f87419b207f86be8e4d295c9759c282990017 /configure
parentbea13052bf43e34b043d868dfdaa84241a8b163a (diff)
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)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
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