FIND_PATH(ILBC_INCLUDE_DIR ilbc.h)
FIND_LIBRARY(ILBC_LIBRARIES NAMES ilbc)

IF(ILBC_INCLUDE_DIR AND ILBC_LIBRARIES)
	SET(ILBC_FOUND TRUE)
ENDIF(ILBC_INCLUDE_DIR AND ILBC_LIBRARIES)

IF(ILBC_FOUND)
	IF (NOT Ilbc_FIND_QUIETLY)
		MESSAGE(STATUS "Found ilbc includes:	${ILBC_INCLUDE_DIR}/ilbc.h")
		MESSAGE(STATUS "Found ilbc library: ${ILBC_LIBRARIES}")
	ENDIF (NOT Ilbc_FIND_QUIETLY)
ELSE(ILBC_FOUND)
	IF (Ilbc_FIND_REQUIRED)
		MESSAGE(FATAL_ERROR "Could NOT find ilbc development files")
	ENDIF (Ilbc_FIND_REQUIRED)
ENDIF(ILBC_FOUND)
