Changeset fd03770 for configure


Ignore:
Timestamp:
2006-06-25T19:43:14Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c9f0c79
Parents:
6ee9d2d (diff), 9b63df6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging from devel/Jelmer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r6ee9d2d rfd03770  
    207207echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings
    208208
     209if [ "$events" = "libevent" ]; then
     210        if ! [ -e "${libevent}include/event.h" ]; then
     211                echo
     212                echo 'Warning: Could not find event.h, you might have to install it and/or specify'
     213                echo 'its location using the --libevent= argument. (Example: If event.h is in'
     214                echo '/usr/local/include and binaries are in /usr/local/lib: --libevent=/usr/local)'
     215        fi
     216       
     217        echo '#define EVENTS_LIBEVENT' >> config.h
     218        cat <<EOF>>Makefile.settings
     219EFLAGS+=-levent -L${libevent}lib
     220CFLAGS+=-I${libevent}include
     221EOF
     222elif [ "$events" = "glib" ]; then
     223        ## We already use glib anyway, so this is all we need (and in fact not even this, but just to be sure...):
     224        echo '#define EVENTS_GLIB' >> config.h
     225else
     226        echo
     227        echo 'ERROR: Unknown event handler specified.'
     228        exit 1
     229fi
     230echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings
     231
    209232detect_gnutls()
    210233{
Note: See TracChangeset for help on using the changeset viewer.