Commit ffe6b767 authored by James Juran's avatar James Juran Committed by Alexandre Julliard

Use Autoconf to find path to ldconfig.

parent 98231044
......@@ -38,6 +38,7 @@ AR = ar rc
RM = rm -f
MKDIR = mkdir -p
C2MAN = @C2MAN@
LDCONFIG = @LDCONFIG@
MANSPECS = -w $(TOPSRCDIR)/relay32/gdi32.spec \
-w $(TOPSRCDIR)/relay32/user32.spec \
-w $(TOPSRCDIR)/relay32/comctl32.spec \
......
......@@ -202,7 +202,7 @@ install_lib: dummy
[ -d $(libdir) ] || $(MKDIR) $(libdir)
if [ $(LIB_TARGET) ]; then $(INSTALL_DATA) $(LIB_TARGET) $(libdir); fi
if [ -f wine.sym ]; then $(INSTALL_DATA) wine.sym $(libdir)/wine.sym; fi
if [ $(LIB_TARGET) = libwine.so.1.0 ]; then ldconfig; fi
if [ $(LIB_TARGET) = libwine.so.1.0 ]; then $(LDCONFIG); fi
uninstall_lib: dummy
cd $(libdir); $(RM) $(LIB_TARGET) libwine.a libwine.so wine.sym
......
......@@ -74,6 +74,7 @@ AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_LN_S
AC_CHECK_PROG(C2MAN,c2man,c2man,true)
AC_PATH_PROG(LDCONFIG, ldconfig, false, /sbin:/usr/sbin:$PATH)
dnl **** Check for some libraries ****
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment