Use Autoconf to find path to ldconfig.
This commit is contained in:
parent
98231044e3
commit
ffe6b7679a
|
@ -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 ****
|
||||
|
||||
|
|
Loading…
Reference in New Issue