From 8291fdb3a888c622d385e71e5efe59726f1f413e Mon Sep 17 00:00:00 2001 From: Paul Park Date: Fri, 30 Jun 1995 20:11:05 +0000 Subject: [PATCH] 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 --- src/ChangeLog | 6 ++++++ src/aclocal.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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= -- 2.26.2