* m4/oln-with-lib.m4 (OLN_WITH_LIB): Here.
---
ChangeLog | 6 ++++++
m4/oln-with-lib.m4 | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ffd8eec..91e0c50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2010-10-20 Roland Levillain <roland(a)lrde.epita.fr>
+ Ensure paths passed to `--with-*' options are visited before others.
+
+ * m4/oln-with-lib.m4 (OLN_WITH_LIB): Here.
+
+2010-10-20 Roland Levillain <roland(a)lrde.epita.fr>
+
* m4/oln-with-lib.m4: Revert the previous changes.
2010-10-21 Roland Levillain <roland(a)lrde.epita.fr>
diff --git a/m4/oln-with-lib.m4 b/m4/oln-with-lib.m4
index 4f939cb..780923c 100644
--- a/m4/oln-with-lib.m4
+++ b/m4/oln-with-lib.m4
@@ -80,8 +80,8 @@ AC_DEFUN([_OLN_WITH_LIB],
fi
oln_save_CPPFLAGS=$CPPFLAGS
oln_save_LDFLAGS=$LDFLAGS
- CPPFLAGS="$CPPFLAGS $$5_CPPFLAGS"
- LDFLAGS="$LDFLAGS $$5_LDFLAGS"
+ CPPFLAGS="$$5_CPPFLAGS $CPPFLAGS"
+ LDFLAGS="$$5_LDFLAGS $LDFLAGS"
oln_have_$4=no
AC_CHECK_HEADER([$2],
[AC_CHECK_LIB([$3],
--
1.5.6.5
Show replies by date