From f57c2d54ff10736aac4b58c5f228618abb912e5f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 10 Aug 2009 14:26:29 -0700 Subject: [PATCH] Remove really outdated M4 file --- Makefile.am | 2 -- bluez.m4 | 40 ---------------------------------------- 2 files changed, 42 deletions(-) delete mode 100644 bluez.m4 diff --git a/Makefile.am b/Makefile.am index a6ea7850b..81cb5c63d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,8 +3,6 @@ SUBDIRS = include lib sbc gdbus common \ plugins network serial input audio src \ client tools rfcomm compat cups test scripts doc -EXTRA_DIST = bluez.m4 - pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = bluez.pc diff --git a/bluez.m4 b/bluez.m4 deleted file mode 100644 index 0257a3f6e..000000000 --- a/bluez.m4 +++ /dev/null @@ -1,40 +0,0 @@ -AC_DEFUN([AM_PATH_BLUEZ], [ - if (test "${prefix}" = "NONE"); then - bluez_prefix=${ac_default_prefix} - else - bluez_prefix=${prefix} - fi - - AC_ARG_WITH(bluez, AC_HELP_STRING([--with-bluez=DIR], [BlueZ library is installed in DIR]), [ - if (test "${withval}" != "yes"); then - bluez_prefix=${withval} - fi - ]) - - ac_save_CPPFLAGS=$CPPFLAGS - ac_save_LDFLAGS=$LDFLAGS - - BLUEZ_CFLAGS="" - test -d "${bluez_prefix}/include" && BLUEZ_CFLAGS="$BLUEZ_CFLAGS -I${bluez_prefix}/include" - - CPPFLAGS="$CPPFLAGS $BLUEZ_CFLAGS" - AC_CHECK_HEADER(bluetooth/bluetooth.h,, AC_MSG_ERROR(Bluetooth header files not found)) - - BLUEZ_LIBS="" - if (test "${ac_default_prefix}" = "${bluez_prefix}"); then - test -d "${libdir}" && BLUEZ_LIBS="$BLUEZ_LIBS -L${libdir}" - else - test -d "${bluez_prefix}/lib64" && BLUEZ_LIBS="$BLUEZ_LIBS -L${bluez_prefix}/lib64" - test -d "${bluez_prefix}/lib" && BLUEZ_LIBS="$BLUEZ_LIBS -L${bluez_prefix}/lib" - fi - - LDFLAGS="$LDFLAGS $BLUEZ_LIBS" - AC_CHECK_LIB(bluetooth, hci_open_dev, BLUEZ_LIBS="$BLUEZ_LIBS -lbluetooth", AC_MSG_ERROR(Bluetooth library not found)) - AC_CHECK_LIB(bluetooth, sdp_connect,, AC_CHECK_LIB(sdp, sdp_connect, BLUEZ_LIBS="$BLUEZ_LIBS -lsdp")) - - CPPFLAGS=$ac_save_CPPFLAGS - LDFLAGS=$ac_save_LDFLAGS - - AC_SUBST(BLUEZ_CFLAGS) - AC_SUBST(BLUEZ_LIBS) -])