1*1a4b7ee2SBrad BishopFrom 2bc5c6367a7f70ca5bff177ec95bcad3b1c2b66b Mon Sep 17 00:00:00 2001 2*1a4b7ee2SBrad BishopFrom: Khem Raj <raj.khem@gmail.com> 3*1a4b7ee2SBrad BishopDate: Thu, 6 Sep 2018 18:15:10 -0700 4*1a4b7ee2SBrad BishopSubject: [PATCH] Do not poke at build host's /etc/os-release 5*1a4b7ee2SBrad Bishop 6*1a4b7ee2SBrad BishopDuring cross compile we are interested in target distro and not host 7*1a4b7ee2SBrad Bishopdistro therefore do not check for it. 8*1a4b7ee2SBrad Bishop 9*1a4b7ee2SBrad BishopUpstream-Status: Inappropriate [Cross compile specific] 10*1a4b7ee2SBrad Bishop 11*1a4b7ee2SBrad BishopSigned-off-by: Khem Raj <raj.khem@gmail.com> 12*1a4b7ee2SBrad Bishop--- 13*1a4b7ee2SBrad Bishop configure.ac | 2 +- 14*1a4b7ee2SBrad Bishop 1 file changed, 1 insertion(+), 1 deletion(-) 15*1a4b7ee2SBrad Bishop 16*1a4b7ee2SBrad BishopIndex: openhpi-3.8.0/configure.ac 17*1a4b7ee2SBrad Bishop=================================================================== 18*1a4b7ee2SBrad Bishop--- openhpi-3.8.0.orig/configure.ac 19*1a4b7ee2SBrad Bishop+++ openhpi-3.8.0/configure.ac 20*1a4b7ee2SBrad Bishop@@ -194,7 +194,6 @@ AC_SUBST(JSON_C_LIB) 21*1a4b7ee2SBrad Bishop AC_SUBST(JSON_C_INCLUDE) 22*1a4b7ee2SBrad Bishop AC_CHECK_LIB([rabbitmq],[amqp_new_connection],[RABBITMQ_LIB=-lrabbitmq],[RABBITMQ_LIB=]) 23*1a4b7ee2SBrad Bishop AC_SUBST(RABBITMQ_LIB) 24*1a4b7ee2SBrad Bishop-AC_CHECK_FILE([/etc/os-release],[DISTRO=`grep "^ID=" /etc/os-release | awk -F"\"" '{ print $2 }'`]) 25*1a4b7ee2SBrad Bishop 26*1a4b7ee2SBrad Bishop AC_CHECK_HEADERS([amqp.h],[have_rabbitmq=yes],[have_rabbitmq=no]) 27*1a4b7ee2SBrad Bishop 28