1
0
mirror of https://repo.or.cz/libtar.git synced 2025-04-18 05:04:01 +03:00

Changed makedev() argument count test from AC_RUN_ to AC_COMPILE_

See https://lists.feep.net:8080/pipermail/libtar/2012-September/000337.html
for the discussion that lead to this change.
This commit is contained in:
Chris Frey 2012-09-05 15:43:02 -04:00
parent 4604797bb5
commit aef9ecd42a

View File

@ -206,7 +206,7 @@ AC_DEFUN([COMPAT_FUNC_MAKEDEV], [
[Define if you want to use the makedev function])
AC_CACHE_CHECK([whether makedev expects three arguments],
[compat_cv_func_makedev_three_args],
[AC_RUN_IFELSE([
[AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
#include <sys/types.h>
#ifdef MAJOR_IN_MKDEV