diff --git a/configure.ac b/configure.ac index 13d04b09471d9b30885554670d840aee5ca6b483..3881cb4d567e3735be7d116b6a7e126257c91697 100644 --- a/configure.ac +++ b/configure.ac @@ -125,7 +125,6 @@ AS_IF([test "$enable_fixed_point" = "yes"],[ ],[ enable_float="yes"; PC_BUILD="floating-point" - PC_LIBM="$LIBM" ]) AM_CONDITIONAL([FIXED_POINT], [test "$enable_fixed_point" = "yes"]) @@ -145,7 +144,6 @@ AC_ARG_ENABLE([custom-modes], AS_IF([test "$enable_custom_modes" = "yes"],[ AC_DEFINE([CUSTOM_MODES], [1], [Custom modes]) PC_BUILD="$PC_BUILD, custom modes" - PC_LIBM="$LIBM" ]) AM_CONDITIONAL([CUSTOM_MODES], [test "$enable_custom_modes" = "yes"]) @@ -289,7 +287,6 @@ LIBS="$saved_LIBS" AC_CHECK_FUNCS([__malloc_hook]) AC_SUBST([PC_BUILD]) -AC_SUBST([PC_LIBM]) AC_CONFIG_FILES([Makefile opus.pc opus-uninstalled.pc diff --git a/opus-uninstalled.pc.in b/opus-uninstalled.pc.in index 36e8db6a91823d06dd9107c142bb2faad5e9ddb2..3f2d6744da8bd74295b44b12798b1ac30dbd5de0 100644 --- a/opus-uninstalled.pc.in +++ b/opus-uninstalled.pc.in @@ -8,5 +8,5 @@ Description: Opus IETF audio codec (not installed, @PC_BUILD@) Version: @VERSION@ Requires: Conflicts: -Libs: ${libdir}/libopus.a @PC_LIBM@ +Libs: ${libdir}/libopus.a @LIBM@ Cflags: -I${pcfiledir}/@top_srcdir@/include diff --git a/opus.pc.in b/opus.pc.in index b7d40838ca417f99c4d7544473803cbc9ef6fc94..e15c6fed215e32a21d77f8cc24e9fd63db52f534 100644 --- a/opus.pc.in +++ b/opus.pc.in @@ -12,5 +12,5 @@ Version: @VERSION@ Requires: Conflicts: Libs: -L${libdir} -lopus -Libs.private: @PC_LIBM@ +Libs.private: @LIBM@ Cflags: -I${includedir}/opus