mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 20:00:01 -04:00
if building with libtool, have mkdep make appropriate dependencies
This commit is contained in:
parent
fc0d37fa3a
commit
c64aeaf419
2 changed files with 5 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
|||
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
||||
AC_DIVERT_POP()dnl
|
||||
|
||||
AC_REVISION($Revision: 1.238 $)
|
||||
AC_REVISION($Revision: 1.239 $)
|
||||
|
||||
AC_INIT(lib/dns/name.c)
|
||||
AC_PREREQ(2.13)
|
||||
|
|
@ -727,12 +727,14 @@ case $use_libtool in
|
|||
AM_PROG_LIBTOOL
|
||||
O=lo
|
||||
A=la
|
||||
LIBTOOL_MKDEP_SED='s;\.o;\.lo;'
|
||||
;;
|
||||
*)
|
||||
O=o
|
||||
A=a
|
||||
LIBTOOL=
|
||||
AC_SUBST(LIBTOOL)
|
||||
LIBTOOL_MKDEP_SED=
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
@ -745,6 +747,7 @@ SA=a
|
|||
AC_SUBST(O)
|
||||
AC_SUBST(A)
|
||||
AC_SUBST(SA)
|
||||
AC_SUBST(LIBTOOL_MKDEP_SED)
|
||||
|
||||
#
|
||||
# Here begins a very long section to determine the system's networking
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ else
|
|||
@MKDEPCC@ @MKDEPCFLAGS@ $* |
|
||||
sed "
|
||||
s; \./; ;g
|
||||
@LIBTOOL_MKDEP_SED@
|
||||
$SED" |
|
||||
awk '{
|
||||
if ($1 != prev) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue