libnss-mysql-1.5_p20060915-no-automagic-debug.diff 610 B

123456789101112131415
  1. diff -NuarwPbB libnss-mysql.orig/configure.in libnss-mysql/configure.in
  2. --- libnss-mysql.orig/configure.in 2005-09-04 03:34:00.000000000 +0000
  3. +++ libnss-mysql/configure.in 2010-09-08 18:12:24.577317098 +0000
  4. @@ -38,7 +38,9 @@
  5. AC_ARG_WITH(mysql,
  6. [ --with-mysql=DIR Location of your MySQL installation])
  7. AC_ARG_ENABLE(debug,
  8. - [ --enable-debug Enable debug (see DEBUGGING)],
  9. + [ --enable-debug Enable debug (see DEBUGGING)])
  10. +
  11. +AS_IF([test "x$enable_debug" = "xyes"],
  12. [AC_DEFINE([DEBUG], 1, [Enable debug])])
  13. case "$target_os" in