[commit: unix] master: Move AC_SUBST([EXTRA_LIBS]) later in configure.ac (c862e71)
Ian Lynagh
igloo at earth.li
Sat May 25 22:02:33 CEST 2013
Repository : ssh://darcs.haskell.org//srv/darcs/packages/unix
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/c862e71789433a8fd4158e19f5efeba5e229b10c
>---------------------------------------------------------------
commit c862e71789433a8fd4158e19f5efeba5e229b10c
Author: Ian Lynagh <ian at well-typed.com>
Date: Tue May 21 03:19:05 2013 +0100
Move AC_SUBST([EXTRA_LIBS]) later in configure.ac
I don't think that it matters, but putting it after all the places
that alter EXTRA_LIBS is a little nicer.
>---------------------------------------------------------------
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index e1eb68c..e5c2c07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -229,7 +229,6 @@ fi
# Avoid adding dl if absent or unneeded
AC_CHECK_LIB(dl, dlopen, [EXTRA_LIBS="$EXTRA_LIBS dl"])
-AC_SUBST([EXTRA_LIBS])
# -{l,}pthread goo
AC_CANONICAL_TARGET
@@ -238,6 +237,7 @@ AC_SEARCH_LIBS(sem_close, pthread,
[EXTRA_LIBS="$EXTRA_LIBS $ac_lib"],
[AC_MSG_NOTICE([Not found])])
+AC_SUBST([EXTRA_LIBS])
AC_CONFIG_FILES([unix.buildinfo])
AC_OUTPUT
More information about the ghc-commits
mailing list