sigrok.m4: Remove SR_PROG_MAKE_NO_PRINT_DIRECTORY
This commit is contained in:
parent
bcc3694ff7
commit
69f68553ae
24
m4/sigrok.m4
24
m4/sigrok.m4
|
@ -18,7 +18,7 @@
|
|||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
#serial 20150908
|
||||
#serial 20150910
|
||||
|
||||
## SR_APPEND(var-name, [list-sep,] element)
|
||||
##
|
||||
|
@ -332,28 +332,6 @@ AS_CASE([[$]?:$sr_prog_ver],
|
|||
[$2=unknown])[]dnl
|
||||
])
|
||||
|
||||
## SR_PROG_MAKE_NO_PRINT_DIRECTORY
|
||||
##
|
||||
## Check whether the make program supports the --no-print-directory flag.
|
||||
## If so, add it to AM_MAKEFLAGS.
|
||||
##
|
||||
AC_DEFUN([SR_PROG_MAKE_NO_PRINT_DIRECTORY],
|
||||
[dnl
|
||||
AC_CACHE_CHECK([whether [$]{MAKE:-make} supports --no-print-directory],
|
||||
[sr_cv_prog_make_no_print_dir], [
|
||||
cat >conftest.mk <<'_SREOF'
|
||||
all: ; @:
|
||||
.PHONY: all
|
||||
_SREOF
|
||||
AS_IF([[$]{MAKE:-make} -f conftest.mk --no-print-directory >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD],
|
||||
[sr_cv_prog_make_no_print_dir=yes], [sr_cv_prog_make_no_print_dir=no])
|
||||
rm -f conftest.mk
|
||||
])
|
||||
AS_IF([test "x$sr_cv_prog_make_no_print_dir" = xyes],
|
||||
[SR_APPEND([AM_MAKEFLAGS], [--no-print-directory])])
|
||||
AC_SUBST([AM_MAKEFLAGS])
|
||||
])
|
||||
|
||||
## SR_PROG_MAKE_ORDER_ONLY
|
||||
##
|
||||
## Check whether the make program supports order-only prerequisites.
|
||||
|
|
Loading…
Reference in New Issue