For two straight lines to be perpendicular, the dot product of their direction ratios must be zero.
Let the direction ratios of the first line be \( (l, m, n) \) and the direction ratios of the second line be \( (l_1, m_1, n_1) \).
The dot product of the two direction ratios is given by:
\[
l l_1 + m m_1 + n n_1 = 0
\]
This condition must hold for the lines to be perpendicular.
Thus, the correct condition for the lines to be perpendicular is:
\[
l l_1 + m m_1 + n n_1 = 0
\]
Hence, the correct answer is:
\[
\boxed{l l_1 + m m_1 + n n_1 = 0}
\]