Skip to content

Commit

Permalink
m4: fix use of log fd vs. file in "configure"
Browse files Browse the repository at this point in the history
Recent Travis builds are failing when making the distcleancheck
target with:
     ERROR: files left in build directory after distclean:
     ./5

Fix by treating log fd as a file descriptor instead of a file.

Fixes: 7777d53 ("m4: Add hard requirements for python in "configure"")
Signed-off-by: Lance Richardson <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
hlrichardson authored and blp committed Apr 7, 2017
1 parent 34d4f74 commit b7a859e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m4/openvswitch.m4
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ else:
AM_CONDITIONAL([HAVE_PYTHON], [test "$HAVE_PYTHON" = yes])
AC_MSG_CHECKING([whether $PYTHON has six library])
if ! $PYTHON -c 'import six ; six.moves.range' >AS_MESSAGE_LOG_FD 2>&1; then
if ! $PYTHON -c 'import six ; six.moves.range' >&AS_MESSAGE_LOG_FD 2>&1; then
AC_MSG_ERROR([Missing Python six library or version too old.])
fi
AC_MSG_RESULT([yes])])
Expand Down

0 comments on commit b7a859e

Please sign in to comment.