From 8866b2304eca0c0cfc85f7363e16a66ac4cb9e3f Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sat, 16 Oct 2010 21:30:48 +0000 Subject: chage test for compiling with gcc to be simpler and not use deprecated ac_cv_prog_gcc git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1288 ef36b2f9-881f-0410-afb5-c4e39611909c --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d710919..00e7cd2 100644 --- a/configure.ac +++ b/configure.ac @@ -427,7 +427,7 @@ then nss_ldap_so_LINK="\$(CCLD) \$(AM_CFLAGS) \$(CFLAGS) \$(nss_ldap_so_LDFLAGS) \$(LDFLAGS) -o \$@" case "$target_os" in solaris*) - if test "$ac_cv_prog_gcc" = yes + if test "x$GCC" = xyes then nss_ldap_so_LINK="/usr/ccs/bin/ld -Bdirect -z nodelete -Bdynamic -M \$(srcdir)/exports.solaris -G -o \$@" else @@ -482,7 +482,7 @@ then pam_ldap_so_LINK="\$(CCLD) \$(AM_CFLAGS) \$(CFLAGS) \$(pam_ldap_so_LDFLAGS) \$(LDFLAGS) -o \$@" case "$target_os" in solaris*) - if test "$ac_cv_prog_gcc" = yes + if test "x$GCC" = xyes then pam_ldap_so_LINK="/usr/ccs/bin/ld -Bdirect -z nodelete -Bdynamic -M \$(srcdir)/pam_ldap.map -G -o \$@" else -- cgit v1.2.3