diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-13 06:28:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:30 -0500 |
commit | 9768393b3b91b8e508beae30e7e8bd942292b7f0 (patch) | |
tree | eaf24ef63c115bd3bf4798fcf43b02a748ae790b /source4 | |
parent | 764f74c565e4d5472c68ac9d820b6d1b1dbd598a (diff) | |
download | samba-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')
-rw-r--r-- | source4/lib/replace/getpass.m4 | 1 | ||||
-rw-r--r-- | source4/lib/replace/libreplace.m4 | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/replace/getpass.m4 b/source4/lib/replace/getpass.m4 index 3f008bbf4e..20d04a63f6 100644 --- a/source4/lib/replace/getpass.m4 +++ b/source4/lib/replace/getpass.m4 @@ -13,4 +13,5 @@ CPPFLAGS="$SAVE_CPPFLAGS" ]) if test x"$samba_cv_REPLACE_GETPASS" = x"yes"; then AC_DEFINE(REPLACE_GETPASS,1,[Whether getpass should be replaced]) + LIBREPLACEOBJ="${LIBREPLACEOBJ} getpass.o" fi 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 |