patch-configure_in 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. --- Linux-PAM-1.1.8.orig/configure.in 2013-09-18 14:30:13.000000000 +0200
  2. +++ Linux-PAM-1.1.8/configure.in 2014-05-27 07:50:43.868499284 +0200
  3. @@ -28,12 +28,7 @@ dnl If we use /usr as prefix, use /etc f
  4. fi
  5. if test ${libdir} = '${exec_prefix}/lib'
  6. then
  7. - case "`uname -m`" in
  8. - x86_64|ppc64|s390x|sparc64)
  9. - libdir="/lib64" ;;
  10. - *)
  11. - libdir="/lib" ;;
  12. - esac
  13. + libdir="/lib"
  14. fi
  15. if test ${sbindir} = '${exec_prefix}/sbin'
  16. then
  17. @@ -404,7 +399,7 @@ AS_IF([test "x$ac_cv_header_xcrypt_h" =
  18. [crypt_libs="crypt"])
  19. BACKUP_LIBS=$LIBS
  20. -AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="-l$ac_lib", LIBCRYPT="")
  21. +AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="-lcrypt", LIBCRYPT="")
  22. AC_CHECK_FUNCS(crypt_r crypt_gensalt_r)
  23. LIBS=$BACKUP_LIBS
  24. AC_SUBST(LIBCRYPT)
  25. @@ -565,8 +560,6 @@ AM_CONDITIONAL(ENABLE_REGENERATE_MAN, te
  26. AM_CONDITIONAL(ENABLE_GENERATE_PDF, test ! -z "$FO2PDF")
  27. -AM_GNU_GETTEXT_VERSION([0.15])
  28. -AM_GNU_GETTEXT([external])
  29. AC_CHECK_FUNCS(dngettext)
  30. AH_BOTTOM([#ifdef ENABLE_NLS