Let $n \geq 2$ be an integer. Find the smallest positive integer $m$ for which the following holds: given $n$ points in the plane, no three on a line, there are $m$ lines such that no line passes through any of the given points, and
for all points $X  \neq Y$ there is a line with respect to which $X$ and $Y$ lie on opposite sides
To find the smallest positive integer \( m \) such that given \( n \) points in the plane, no three on a line, there are \( m \) lines such that no line passes through any of the given points, and for all points \( X \neq Y \) there is a line with respect to which \( X \) and \( Y \) lie on opposite sides, we proceed as follows:

1. **Establish the lower bound:**
   - Consider placing all \( n \) points on a circle. In this configuration, any line that does not pass through any of the points will intersect the circle at two points, dividing the circle into two arcs.
   - To ensure that for any two points \( X \) and \( Y \), there is a line such that \( X \) and \( Y \) lie on opposite sides, we need at least \(\left\lceil \frac{n}{2} \right\rceil\) lines. This is because each line can separate at most two pairs of points, and we need to ensure that all pairs are separated.

2. **Establish the upper bound constructively:**
   - Assume without loss of generality that \( n = 2p \) is even (if \( n \) is odd, the argument can be adjusted similarly).
   - Arrange the points such that exactly \( p \) points lie above the \( x \)-axis and exactly \( p \) points lie below the \( x \)-axis.
   - Use the \( x \)-axis as the first line. This line generates two regions, each containing \( p \) points.
   - In subsequent steps, pick two points \( A \) and \( B \) above the \( x \)-axis that are not yet separated and two points \( C \) and \( D \) below the \( x \)-axis that are not yet separated.
   - Choose a point \( P_1 \) on the segment \(\overline{AB}\) and a point \( P_2 \) on the segment \(\overline{CD}\), and introduce a line \(\ell\) through \( P_1 \) and \( P_2 \). Ensure that \(\ell\) does not pass through any of the points \( A, B, C, D \).
   - Each new line subdivides one region with at least two points above the \( x \)-axis and one region with at least two points below the \( x \)-axis, resulting in four smaller regions, each containing at least one point.
   - Since each new line increases the number of regions containing at least one point by at least 2, the procedure terminates after \( p - 1 \) steps.

3. **Conclusion:**
   - Combining the lower and upper bounds, we conclude that the smallest positive integer \( m \) is \(\left\lceil \frac{n}{2} \right\rceil\).

The final answer is \( \boxed{ \left\lceil \frac{n}{2} \right\rceil } \).