From: Paul Park Date: Fri, 30 Jun 1995 20:11:05 +0000 (+0000) Subject: Be more flexible where sources come from when building shared libraries X-Git-Tag: krb5-1.0-beta6~1612 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8291fdb3a888c622d385e71e5efe59726f1f413e;p=krb5.git Be more flexible where sources come from when building shared libraries git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6203 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index bbb0cda3c..8a948d937 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ + +Fri Jun 30 14:26:01 EDT 1995 Paul Park (pjpark@mit.edu) + * aclocal.m4(V5_SHARED_LIB_OBJS) - Change explicit $(srcdir)/$*.c to + $< so that sources which aren't in the source directory can + get compiled correctly. + Wed Jun 28 20:13:10 1995 Ezra Peisach * configure.in: Proper test for GCC. (based on autoconf test). diff --git a/src/aclocal.m4 b/src/aclocal.m4 index d947415f9..6fee5f22a 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -719,8 +719,8 @@ dnl This rule supports the generation of the shared library object files dnl define(V5_SHARED_LIB_OBJS,[ if test ${krb5_cv_shlibs_dir}x != x; then -SHARED_RULE=" \$(CC) ${krb5_cv_shlibs_cflags} \$(CFLAGS) -o ${krb5_cv_shlibs_dir}/\$""*.o -c \$(srcdir)/\$""*.c" -SHARED_RULE_LOCAL=" \$(CC) ${krb5_cv_shlibs_cflags} \$(CFLAGS) -o ${krb5_cv_shlibs_dir}/\$""*.o -c \$""*.c" +SHARED_RULE=" \$(CC) ${krb5_cv_shlibs_cflags} \$(CFLAGS) -o ${krb5_cv_shlibs_dir}/\$""*.o -c \$""<" +SHARED_RULE_LOCAL=" \$(CC) ${krb5_cv_shlibs_cflags} \$(CFLAGS) -o ${krb5_cv_shlibs_dir}/\$""*.o -c \$""<" else SHARED_RULE= SHARED_RULE_LOCAL=