diff Makeconf.in @ 6028:3dbbbec85190

[project @ 2006-10-04 13:42:21 by jwe]
author jwe
date Wed, 04 Oct 2006 13:42:21 +0000
parents 500d884ae373
children 199f15a8d1fc
line wrap: on
line diff
--- a/Makeconf.in	Tue Oct 03 20:07:56 2006 +0000
+++ b/Makeconf.in	Wed Oct 04 13:42:21 2006 +0000
@@ -330,6 +330,9 @@
 startupfiledir = ${fcnfiledir}/startup
 localstartupfiledir = ${localfcnfiledir}/startup
 
+# LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, PATH, ...
+library_path_var = @library_path_var@
+
 # The -I flags to use for the mkoctfile script.
 ifeq ($(includedir),/usr/include)
  MKOCTFILE_INCFLAGS = \
@@ -554,6 +557,7 @@
 define do-subst-script-vals
 echo "making $@ from $<"
 $(SED) < $< \
+  -e "s|%library_path_var%|${library_path_var}|g" \
   -e "s|%srcdir%|${srcdir}|" \
   -e "s|%top_srcdir%|${top_srcdir}|" \
   -e "s|%abs_top_srcdir%|${abs_top_srcdir}|" \