diff options
author | Lance Richardson <lrichard@redhat.com> | 2017-04-07 17:05:06 -0400 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-04-07 15:13:16 -0700 |
commit | b7a859e42a2368b97f550e809cfa1a379a782953 (patch) | |
tree | dc0b4a520b695e1530c30655a15940afbb9d7e6a /m4 | |
parent | 34d4f74d0489d72018da9ff989abf1f2aa57af45 (diff) | |
download | openvswitch-b7a859e42a2368b97f550e809cfa1a379a782953.tar.gz |
m4: fix use of log fd vs. file in "configure"
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: 7777d53d2f4b ("m4: Add hard requirements for python in "configure"")
Signed-off-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/openvswitch.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index cbfd7554d..48892f9f7 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -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])]) |