Move installed include files under the opus dir.
authorTimothy B. Terriberry <tterribe@xiph.org>
Mon, 1 Oct 2012 07:14:12 +0000 (00:14 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Mon, 1 Oct 2012 07:14:12 +0000 (00:14 -0700)
Also use Libs.private for libm.

Makefile.am
opusfile.pc.in

index 15e773b..166ab5f 100644 (file)
@@ -4,7 +4,8 @@ AM_CFLAGS = -I$(top_srcdir)/include $(DEPS_CFLAGS)
 
 dist_doc_DATA = COPYING AUTHORS README.txt
 
-include_HEADERS = include/opusfile.h
+opusincludedir = ${includedir}/opus
+opusinclude_HEADERS = include/opusfile.h
 
 lib_LTLIBRARIES = libopusfile.la
 libopusfile_la_SOURCES = \
index b4cc0be..0a77f0c 100644 (file)
@@ -11,4 +11,5 @@ Version: @VERSION@
 Requires: ogg >= 1.3 opus >= 1.0.1 @openssl@
 Conflicts:
 Libs: -L${libdir} -lopusfile
-Cflags: -I${includedir}
+Libs.private: @ac_cv_search_lrintf@
+Cflags: -I${includedir}/opus