If you are not permitted to reword, and "to look" and "looking" are your only alternatives, then the answer is "looking."
Otherwise, I agree with Regards that you should reword the sentence as: "The dying man rolled his eyes slowly as if he were looking for his relatives."