0015-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From b4613f814ba7ba5db95d18116172f81a83ac8f5b Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Wed, 18 Mar 2015 00:27:10 +0000
  4. Subject: [PATCH] sysdeps/gnu/configure.ac: handle correctly
  5. $libc_cv_rootsbindir
  6. Upstream-Status:Pending
  7. Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
  8. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  9. ---
  10. sysdeps/gnu/configure | 2 +-
  11. sysdeps/gnu/configure.ac | 2 +-
  12. 2 files changed, 2 insertions(+), 2 deletions(-)
  13. diff --git a/sysdeps/gnu/configure b/sysdeps/gnu/configure
  14. index c15d1087e8..37cc983f2a 100644
  15. --- a/sysdeps/gnu/configure
  16. +++ b/sysdeps/gnu/configure
  17. @@ -32,6 +32,6 @@ case "$prefix" in
  18. else
  19. libc_cv_localstatedir=$localstatedir
  20. fi
  21. - libc_cv_rootsbindir=/sbin
  22. + test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin
  23. ;;
  24. esac
  25. diff --git a/sysdeps/gnu/configure.ac b/sysdeps/gnu/configure.ac
  26. index 634fe4de2a..3db1697f4f 100644
  27. --- a/sysdeps/gnu/configure.ac
  28. +++ b/sysdeps/gnu/configure.ac
  29. @@ -21,6 +21,6 @@ case "$prefix" in
  30. else
  31. libc_cv_localstatedir=$localstatedir
  32. fi
  33. - libc_cv_rootsbindir=/sbin
  34. + test -n "$libc_cv_rootsbindir" || libc_cv_rootsbindir=/sbin
  35. ;;
  36. esac