I'm aware of the many answers to evaluating the integral of $\frac{\sin x}{x}$ over $[0,\infty)$ given here. No answer seems to mention the approach below, and neither have I found anything elsewhere, and hence I'm doubting if it's possible.
I stumbled upon this in connection with a problem I was working on.
Consider $$u(x)=\begin{cases} \frac{\sin x}{x}, & 0<|x|\leq\pi, \\ 1, & x=0.\end{cases}$$ [and $2\pi$ periodically extended]. Show its Fourier coefficients are $$c_n=\frac{1}{2\pi}\int_{(n-1)\pi}^{(n+1)\pi}\frac{\sin x}{x}dx.$$ Use this to evaluate $\int_0^\infty \frac{\sin x} x dx$.
The formula for the Fourier coefficients are derived here.
Here is my attempt at evaluating $\int_0^\infty \frac{\sin x} x dx$, which we assume converges. Moreover, since $u(x)$ is at least piecewise $C^1$, we also assume the Fourier series converges pointwise to the function. Now, $\sum_{n\in\mathbb Z} c_n$ is just the function evaluated at $0$, so we have $$1=\sum_{n\in\mathbb Z}c_n=\sum_{n\in\mathbb Z} c_{2n}+\sum_{n\in\mathbb Z}c_{2n+1}=\frac{1}{2\pi}\int_{-\infty}^\infty \frac{\sin x} x dx+\frac{1}{2\pi}\int_{-\infty}^\infty \frac{\sin x} x dx.$$ And by evenness, we conclude that $\int_0^\infty \frac{\sin x} xdx=\frac{\pi}{2}$.
However, are we justified in splitting up the sum into even and odd terms? I can not verify that $\sum_{n\in\mathbb Z} |c_n|$ converges.