projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d29cc0
)
AX_SUBMODULE: set PKG_CONFIG_PATH
author
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 20 Sep 2009 16:09:43 +0000
(18:09 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 20 Sep 2009 16:09:43 +0000
(18:09 +0200)
m4/ax_submodule.m4
patch
|
blob
|
history
diff --git
a/m4/ax_submodule.m4
b/m4/ax_submodule.m4
index
17e357f
..
637b4a9
100644
(file)
--- a/
m4/ax_submodule.m4
+++ b/
m4/ax_submodule.m4
@@
-35,6
+35,9
@@
if test "x$with_$1_builddir" != "x"; then
$1_srcdir=`echo @abs_srcdir@ | $with_$1_builddir/config.status --file=-`
AC_MSG_NOTICE($1 sources in $$1_srcdir)
fi
+if test "x$with_$1_exec_prefix" != "x"; then
+ export PKG_CONFIG_PATH="$with_$1_exec_prefix/lib/pkgconfig${PKG_CONFIG_PATH+:$PKG_CONFIG_PATH}"
+fi
case "$with_$1" in
$2)
;;