cvs: php4 / dynlib.m4
| From: | Sascha Schumann | Date: | Mon, 30 Oct 2000 14:29:51 +0000 |
| Subject: | cvs: php4 / dynlib.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2355@lists.php.net to get a copy of this message | ||
sas Mon Oct 30 06:29:51 2000 EDT
Modified files:
/php4 dynlib.m4
Log:
LTLIBRARY_DEPENDENCIES might depend on variables defined in config_vars.mk,
so we force inclusion of that file before we use LTLIBRARY_DEPENDENCIES
in a rule.
Index: php4/dynlib.m4
diff -u php4/dynlib.m4:1.4 php4/dynlib.m4:1.5
--- php4/dynlib.m4:1.4 Sat Aug 19 22:36:06 2000
+++ php4/dynlib.m4 Mon Oct 30 06:29:51 2000
@@ -14,7 +14,7 @@
# | Authors: Sascha Schumann <sascha@schumann.cx> |
# +----------------------------------------------------------------------+
#
-# $Id: dynlib.m4,v 1.4 2000/08/20 05:36:06 sas Exp $
+# $Id: dynlib.m4,v 1.5 2000/10/30 14:29:51 sas Exp $
#
@@ -54,7 +54,13 @@
lib_target=""
$php_shtool mkdir -p $1
+ if test "$BSD_MAKEFILE" = "yes"; then
+ lib_include_conf=".include \"\$(top_builddir)/config_vars.mk\""
+ else
+ lib_include_conf="include \$(top_builddir)/config_vars.mk"
+ fi
cat >$lib_makefile<<EOF
+$lib_include_conf
LTLIBRARY_OBJECTS = \$(LTLIBRARY_SOURCES:.c=.lo) \$(LTLIBRARY_OBJECTS_X)
LTLIBRARY_SHARED_OBJECTS = \$(LTLIBRARY_OBJECTS:.lo=.slo)
EOF