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