Explorar o código

Use pkg-config from the host system to better support cross-compiling

Hugh McMaster %!s(int64=6) %!d(string=hai) anos
pai
achega
9d6531aa5e
Modificáronse 2 ficheiros con 0 adicións e 2 borrados
  1. 0 1
      m4/mozldap.m4
  2. 0 1
      m4/openldap.m4

+ 0 - 1
m4/mozldap.m4

@@ -109,7 +109,6 @@ AC_MSG_RESULT(no))
 # last resort
 if test "$with_ldapsdk" = yes ; then
   if test -z "$ldapsdk_inc" -o -z "$ldapsdk_lib" -o -z "$ldapsdk_libdir" -o -z "$ldapsdk_bindir"; then
-    AC_PATH_PROG(PKG_CONFIG, pkg-config)
     AC_MSG_CHECKING(for mozldap with pkg-config)
     if test -n "$PKG_CONFIG"; then
       if $PKG_CONFIG --exists mozldap6; then

+ 0 - 1
m4/openldap.m4

@@ -97,7 +97,6 @@ AC_MSG_RESULT(no))
 
 if test "$with_openldap" = yes ; then # user wants to use openldap, but didn't specify paths
   if test -z "$openldap_inc" -o -z "$openldap_lib" -o -z "$openldap_libdir" -o -z "$openldap_bindir"; then
-    AC_PATH_PROG(PKG_CONFIG, pkg-config)
     AC_MSG_CHECKING(for OpenLDAP with pkg-config)
     if test -n "$PKG_CONFIG" && $PKG_CONFIG --exists openldap; then
       openldap_inc=`$PKG_CONFIG --cflags-only-I openldap`