{"push_id":1769213967,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"d9dcfc3a91cc197d07433cc4fbaaa76929b38e29","before":"00ce341b95c718611689ded8ccec45086186c5b7","commits":[{"sha":"d9dcfc3a91cc197d07433cc4fbaaa76929b38e29","author":{"name":"Tvrtko Ursulin","email":"eb7e6b19900b8ebbd13bdaa5661b7bf3cb374af9@intel.com"},"message":"igt: Fix detection of missing flex\n\nAM_PROG_FLEX macro will set the LEX variable using the missing\nscript when the flex is not present. This will confuse the\nconfigure.ac check, which expects the AC_PROG_FLEX behaviour,\nand will so fail to detect the missing flex:\n\n\tAS_IF([test x\"$LEX\" != \"x:\" -a x\"$YACC\" != xyacc],\n\t\t[enable_assembler=yes],\n\t\t[enable_assembler=no])\n\nThis is because AM_PROG_LEX sets the LEX variable to\n\"${SHELL} /home/sc/intel-gpu-tools/build-aux/missing flex\",\nwhile AC_PROG_LEX would set it to \":\".\n\nIf for some reason we really need to keep AM_PROG_LEX,\nalternative fix could be something like this placed before\nthe above AS_IF check:\n\n\tAC_MSG_CHECKING([checking for working flex])\n\tif ! eval \"$LEX --version >/dev/null 2>&1\"; then\n\t\tAC_MSG_RESULT([failed])\n\t\tLEX=:\n\telse\n\t\tAC_MSG_RESULT([pass])\n\tfi\n\nNote the evil eval needed to recursively expand variables.\n\nSigned-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>\nReviewed-by: Petri Latvala <petri.latvala@intel.com>","distinct":true,"url":"https://api.github.com/repos/freedesktop/xorg-intel-gpu-tools/commits/d9dcfc3a91cc197d07433cc4fbaaa76929b38e29"}]}
{"actor":{"display_login":"fdo-mirror"}}