Skip to content

Commit 8c0799e

Browse files
committed
remove unused -MMD handling in the configure
1 parent 69fe272 commit 8c0799e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

configure.ac

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,6 @@ AC_CHECK_HEADER([sys/tree.h], [], [
3636
CFLAGS="$CFLAGS -I$srcdir/openbsd-compat/tree"
3737
])
3838

39-
AC_DEFUN([CC_ADD_CHECK_FLAGS], [
40-
AC_MSG_CHECKING([if $CC supports $1 flag])
41-
old_CFLAGS="$CFLAGS"
42-
CFLAGS="$CFLAGS $1"
43-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], [
44-
AC_MSG_RESULT(yes)
45-
], [
46-
AC_MSG_RESULT(no)
47-
CFLAGS="$old_CFLAGS"
48-
])
49-
])
50-
CC_ADD_CHECK_FLAGS([-MMD])
51-
5239
AC_CONFIG_HEADERS([config.h])
5340
AC_CONFIG_FILES([
5441
Makefile

0 commit comments

Comments
 (0)