Advertisement
alinef

cpupower.patch

Aug 28th, 2012
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. diff -aur cpufreqd-2.4.2.pristine/configure.in cpufreqd-2.4.2.new/configure.in
  2. --- cpufreqd-2.4.2.pristine/configure.in 2012-08-28 02:44:43.964814288 -0300
  3. +++ cpufreqd-2.4.2.new/configure.in 2012-08-28 02:45:19.030020033 -0300
  4. @@ -38,9 +38,9 @@
  5. AC_CHECK_LIB([dl], [dlopen],
  6. [ CPUFREQD_LDFLAGS="${CPUFREQD_LDFLAGS} -ldl" ],
  7. [ AC_MSG_ERROR([You need a working dlopen to build cpufreqd]) ])
  8. -AC_CHECK_LIB([cpufreq], [cpufreq_cpu_exists],
  9. - [ CPUFREQD_LDFLAGS="${CPUFREQD_LDFLAGS} -lcpufreq" ],
  10. - [ AC_MSG_ERROR([You need libcpufreq from cpufrequtils to build cpufreqd]) ])
  11. +AC_CHECK_LIB([cpupower], [cpufreq_cpu_exists],
  12. + [ CPUFREQD_LDFLAGS="${CPUFREQD_LDFLAGS} -lcpupower" ],
  13. + [ AC_MSG_ERROR([You need libcpupower from cpupower to build cpufreqd]) ])
  14. AC_SUBST(CPUFREQD_LDFLAGS)
  15.  
  16. DISABLED_PLUGINS=""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement