- Timestamp:
- 2008-09-05T19:54:45Z (16 years ago)
- Branches:
- master
- Children:
- b414e30
- Parents:
- ef399c2
- Location:
- skype
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/Makefile
ref399c2 r752a591 8 8 9 9 skype.$(SHARED_EXT): skype.c config.mak 10 ifeq ($(BITLBEE),yes) 10 11 $(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) skype.c $(LDFLAGS) 12 endif 11 13 12 14 install: skype.$(SHARED_EXT) skyped.py 15 ifeq ($(BITLBEE),yes) 13 16 $(INSTALL) -d $(DESTDIR)$(plugindir) 14 17 $(INSTALL) skype.$(SHARED_EXT) $(DESTDIR)$(plugindir) 18 endif 15 19 ifeq ($(SKYPED),yes) 16 20 $(INSTALL) -d $(DESTDIR)$(bindir) … … 27 31 autogen: configure.ac 28 32 cp /usr/share/automake-$(AMVERSION)/install-sh ./ 29 cp /usr/share/aclocal/pkg.m4 aclocal.m430 33 autoconf 31 34 -
skype/config.mak.in
ref399c2 r752a591 4 4 SHARED_EXT = @SHARED_EXT@ 5 5 SKYPE4PY = @SKYPE4PY@ 6 BITLBEE = @BITLBEE@ 6 7 INSTALL = @INSTALL@ 7 8 prefix = @prefix@ -
skype/configure.ac
ref399c2 r752a591 29 29 30 30 dnl Check for bitlbee 31 PKG_CHECK_MODULES(BITLBEE, bitlbee) 32 CFLAGS="$CFLAGS $BITLBEE_CFLAGS" 33 LDFLAGS="$LDFLAGS $BITLBEE_LIBS" 34 prefix=`$PKG_CONFIG --variable=prefix bitlbee` 31 AC_MSG_CHECKING(for BitlBee) 32 pkg-config --exists bitlbee 33 if test "$?" != "0"; then 34 AC_MSG_RESULT(no) 35 BITLBEE="no" 36 else 37 AC_MSG_RESULT(yes) 38 BITLBEE="yes" 39 if test -z "$CFLAGS"; then 40 CFLAGS="`pkg-config --cflags bitlbee`" 41 else 42 CFLAGS="$CFLAGS `pkg-config --cflags bitlbee`" 43 fi 44 if test -z "$LDFLAGS"; then 45 LDFLAGS="`pkg-config --libs bitlbee`" 46 else 47 LDFLAGS="$LDFLAGS `pkg-config --libs bitlbee`" 48 fi 49 prefix=`pkg-config --variable=prefix bitlbee` 50 fi 51 AC_SUBST(BITLBEE) 35 52 36 53 dnl Check for Skype4Py … … 46 63 AC_SUBST(SKYPE4PY) 47 64 65 if test "$BITLBEE" = "no" -a "$SKYPE4PY" = "no"; then 66 AC_ERROR([In order to use bitlbee-skype you need at least BitlBee or Skype4Py installed.]) 67 fi 68 48 69 AC_OUTPUT(config.mak) 49 70 AC_OUTPUT(skyped.conf.dist) 50 71 51 72 echo " 52 compiler flags: $CFLAGS 73 BitlBee plugin: $BITLBEE 74 skyped: $SKYPE4PY 75 prefix: $prefix 76 install program: $INSTALL" 77 if test "$BITLBEE" = "yes"; then 78 echo " compiler flags: $CFLAGS 53 79 linker flags: $LDFLAGS 54 80 shared object flags: $SHARED_FLAGS 55 shared object extension: $SHARED_EXT 56 skyped: $SKYPE4PY 57 install program: $INSTALL 58 prefix: $prefix59 sysconfig dir: $sysconfdir/skyped 60 " 81 shared object extension: $SHARED_EXT" 82 fi 83 if test "$SKYPE4PY" = "yes"; then 84 echo " sysconfig dir: $sysconfdir/skyped" 85 fi 86 echo
Note: See TracChangeset
for help on using the changeset viewer.