Changeset 003553b


Ignore:
Timestamp:
2008-01-19T18:23:56Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0adce21
Parents:
bea1305
Message:

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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rbea1305 r003553b  
    189189
    190190if [ "$events" = "libevent" ]; then
    191         if ! [ -e "${libevent}include/event.h" ]; then
     191        if ! [ -f "${libevent}include/event.h" ]; then
    192192                echo
    193193                echo 'Warning: Could not find event.h, you might have to install it and/or specify'
     
    324324
    325325for i in /lib /usr/lib /usr/local/lib; do
    326         if [ -e $i/libresolv.a ]; then
     326        if [ -f $i/libresolv.a ]; then
    327327                echo '#define HAVE_RESOLV_A' >> config.h
    328328                echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings
Note: See TracChangeset for help on using the changeset viewer.