patch-configure 591 B

1234567891011121314151617181920
  1. --- Linux-PAM-1.1.8.orig/configure 2013-09-19 10:01:32.000000000 +0200
  2. +++ Linux-PAM-1.1.8/configure 2013-12-21 18:40:31.000000000 +0100
  3. @@ -10718,8 +10718,6 @@ then
  4. if test ${libdir} = '${exec_prefix}/lib'
  5. then
  6. case "`uname -m`" in
  7. - x86_64|ppc64|s390x|sparc64)
  8. - libdir="/lib64" ;;
  9. *)
  10. libdir="/lib" ;;
  11. esac
  12. @@ -13299,7 +13297,7 @@ $as_echo "$ac_cv_search_crypt" >&6; }
  13. ac_res=$ac_cv_search_crypt
  14. if test "$ac_res" != no; then :
  15. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16. - LIBCRYPT="-l$ac_lib"
  17. + LIBCRYPT="-lcrypt"
  18. else
  19. LIBCRYPT=""
  20. fi