Ticket #731: purple-configure-patch.diff
File purple-configure-patch.diff, 1.2 KB (added by , at 2014-02-04T06:26:37Z) |
---|
-
configure
diff --git a/configure b/configure index 1e3a242..2999abe 100755
a b ipcsocket='' 23 23 pcdir='$prefix/lib/pkgconfig' 24 24 systemlibdirs="/lib64 /usr/lib64 /usr/local/lib64 /lib /usr/lib /usr/local/lib" 25 25 26 msn=1 27 jabber=1 28 oscar=1 29 yahoo=1 26 # Set these to default-on to let it be overriden by either the user or purple 27 # 28 # If the user sets one of these to 1, purple won't disable them. 29 # Otherwise, if it's still default-on, it gets included in normal builds, 30 # but not purple ones. 31 msn="default-on" 32 jabber="default-on" 33 oscar="default-on" 34 yahoo="default-on" 35 30 36 twitter=1 31 37 purple=0 32 38 … … EOF 594 600 protocols=$protocols'purple ' 595 601 protoobjs=$protoobjs'purple_mod.o ' 596 602 597 # Having both libpurple and native IM modules in one binary may 598 # do strange things. Let's not do that. 599 msn=0 600 jabber=0 601 oscar=0 602 yahoo=0 603 # only disable these if the user didn't enable them explicitly 604 [ "$msn" = "default-on" ] && msn=0 605 [ "$jabber" = "default-on" ] && jabber=0 606 [ "$oscar" = "default-on" ] && oscar=0 607 [ "$yahoo" = "default-on" ] && yahoo=0 603 608 604 609 echo '#undef PACKAGE' >> config.h 605 610 echo '#define PACKAGE "BitlBee-LIBPURPLE"' >> config.h