diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-01-19 18:23:56 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-01-19 18:23:56 +0000 |
commit | 003553b6ac35ce3d9caa44ebe301e0eeb2125ed0 (patch) | |
tree | ea2f87419b207f86be8e4d295c9759c282990017 /configure | |
parent | bea13052bf43e34b043d868dfdaa84241a8b163a (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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |