Skip to content

Commit 003d7e5

Browse files
committed
syslibs.m4 #88 - possible improvement from Ozik
1 parent dc392ad commit 003d7e5

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

dev/m4/syslibs.m4

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
1+
2+
# SYSLIBS.M4
3+
4+
# We take system libraries out of arguments to the linker
5+
# to prevent system libraries from pre-empting custom user
6+
# library locations.
7+
# Cf. https://code.google.com/p/exm-issues/issues/detail?id=546
8+
19
AC_MSG_NOTICE([Generating system-libs.txt])
2-
# We take system libraries out of arguments to the linker (#546)
10+
11+
AC_PATH_PROG([LDCONFIG],[ldconfig],[no],["$PATH:/sbin"])
12+
if [[ ${LDCONFIG} == no ]]
13+
then
14+
AC_MSG_ERROR([Could not find ldconfig.])
15+
fi
16+
317
if [[ ${USE_MAC} == "no" ]]
418
then
519
# This does not work on the Mac

0 commit comments

Comments
 (0)