Author: metze
Date: 2006-09-13 06:28:14 +0000 (Wed, 13 Sep 2006)
New Revision: 18443

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18443

Log:
add object files only when needed

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/getpass.m4
   branches/SAMBA_4_0/source/lib/replace/libreplace.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/getpass.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/getpass.m4    2006-09-13 06:11:53 UTC 
(rev 18442)
+++ branches/SAMBA_4_0/source/lib/replace/getpass.m4    2006-09-13 06:28:14 UTC 
(rev 18443)
@@ -13,4 +13,5 @@
 ])
 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

Modified: branches/SAMBA_4_0/source/lib/replace/libreplace.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace.m4 2006-09-13 06:11:53 UTC 
(rev 18442)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace.m4 2006-09-13 06:28:14 UTC 
(rev 18443)
@@ -8,9 +8,11 @@
                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

Reply via email to