Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-10-16 23:30:48 +0200
committerArthur de Jong <arthur@arthurdejong.org>2010-10-16 23:30:48 +0200
commit8866b2304eca0c0cfc85f7363e16a66ac4cb9e3f (patch)
tree2ecc7c458027719119fa8d1c42a8e8ed744ba208
parent9e98ce0bf5d07b6f783ed5fda5492846416bd439 (diff)
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
-rw-r--r--configure.ac4
1 files 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