File: cross.patch

package info (click to toggle)
openldap 2.6.10%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 31,080 kB
  • sloc: ansic: 328,961; sh: 51,256; cpp: 6,011; makefile: 3,320; sql: 1,714; perl: 455; python: 184; tcl: 45
file content (38 lines) | stat: -rw-r--r-- 1,087 bytes parent folder | download
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
35
36
37
38
--- openldap-2.6.9+dfsg.orig/configure.ac
+++ openldap-2.6.9+dfsg/configure.ac
@@ -675,7 +675,7 @@
 
 if test $ol_aix_threads = yes ; then
 	if test -z "${CC}" ; then
-		AC_CHECK_PROGS(CC,cc_r xlc_r cc)
+		AC_CHECK_TOOLS(CC,cc_r xlc_r cc)
 
 		if test "$CC" = cc ; then
 			dnl no CC! don't allow --with-threads
@@ -696,7 +696,7 @@
 fi
 
 if test -z "${CC}"; then
-	AC_CHECK_PROGS(CC,cc gcc,missing)
+	AC_CHECK_TOOLS(CC,cc gcc,missing)
 
 	if test "${CC}" = "missing" ; then
 		AC_MSG_ERROR([Unable to locate cc(1) or suitable replacement.  Check PATH or set CC.])
@@ -704,7 +704,7 @@
 fi
 
 if test -z "${AR}"; then
-	AC_CHECK_PROGS(AR,ar gar,missing)
+	AC_CHECK_TOOLS(AR,ar gar,missing)
 
 	if test "${AR}" = "missing" ; then
 		AC_MSG_ERROR([Unable to locate ar(1) or suitable replacement.  Check PATH or set AR.])
@@ -712,7 +712,7 @@
 fi
 
 if test -z "${STRIP}"; then
-	AC_CHECK_PROGS(STRIP,strip,missing)
+	AC_CHECK_TOOLS(STRIP,strip,missing)
 
 	if test "${STRIP}" = "missing" ; then
 		AC_MSG_ERROR([Unable to locate strip(1) or suitable replacement.  Check PATH or set STRIP.])