Changeset 1041

Show
Ignore:
Timestamp:
06/07/06 13:28:22 (2 years ago)
Author:
dgollub
Message:

configure.in: fix for newer openobex version (>= 1.0) requries pkgconfig
ticket #199

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/irmc-development/configure.in

    r1031 r1041  
    4646  AS_HELP_STRING([--enable-obex], [enable obex transports]), 
    4747  WANT_OBEX=$enableval) 
    48 AM_PATH_OPENOBEX 
     48if $(pkg-config --exists openobex); then 
     49        PKG_CHECK_MODULES(OPENOBEX, [openobex]) 
     50        AC_SUBST(OPENOBEX_CFLAGS) 
     51        AC_SUBST(OPENOBEX_LIBS) 
     52else     
     53        AM_PATH_OPENOBEX 
     54fi       
     55 
    4956if test -n "${OPENOBEX_LIBS}"; then 
    5057        HAVE_OPENOBEX=yes