summaryrefslogtreecommitdiff
path: root/source4/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-13 06:28:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:30 -0500
commit9768393b3b91b8e508beae30e7e8bd942292b7f0 (patch)
treeeaf24ef63c115bd3bf4798fcf43b02a748ae790b /source4/lib/replace/libreplace.m4
parent764f74c565e4d5472c68ac9d820b6d1b1dbd598a (diff)
downloadsamba-9768393b3b91b8e508beae30e7e8bd942292b7f0.tar.gz
samba-9768393b3b91b8e508beae30e7e8bd942292b7f0.tar.bz2
samba-9768393b3b91b8e508beae30e7e8bd942292b7f0.zip
r18443: add object files only when needed
metze (This used to be commit 5fddb66def8dd29a9f8d13b4b679df26aca6cfab)
Diffstat (limited to 'source4/lib/replace/libreplace.m4')
-rw-r--r--source4/lib/replace/libreplace.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index 4dff22b4aa..43ed3e39a2 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -8,9 +8,11 @@ for d in "$srcdir" "$srcdir/lib/replace" "$srcdir/libreplace" "$srcdir/../librep
break;
fi
done
-LIBREPLACEOBJ="dlfcn.o getpass.o replace.o snprintf.o timegm.o"
+LIBREPLACEOBJ="replace.o"
AC_SUBST(LIBREPLACEOBJ)
+LIBREPLACEOBJ="${LIBREPLACEOBJ} dlfcn.o snprintf.o timegm.o"
+
dnl stop the C89 attempt by autoconf - if autoconf detects -Ae it will enable it
dnl which conflicts with C99 on HPUX
ac_cv_prog_cc_Ae=no