For a linearly (totally) ordered set $A$, one can define its order topology: that is the smallest topology containing the set B of all the intervals of the form $\{x\mid x < a\}, \{x\mid x > a\}$ or $\{x\mid a < x < b\}$ where $x$, $a$ and $b$ are elements of $A$.
The order topology can be shown to be generated by the set $B$ of all intervals mentioned above (that is any element of the order topology can be written as the union of intervals). But to prove this, isn't AC required?
Otherwise how can we prove that: if we call $U$ the set of all union of indexed families of elements of $B$, then any union of indexed families of elements of $U$ are also elements of $U$? This is required for $U$ to be the order topology.
The axiom of choice is not required. Let $$\mathscr{B}=\{(\leftarrow,a):a\in A\}\cup\{(a,\to):a\in A\}\cup\{(a,b):a,b\in A\}\cup\{A\}\;,$$ and let $$\mathscr{T}=\left\{\bigcup\mathscr{U}:\mathscr{U}\subseteq\mathscr{B}\right\}\;.$$
(In case $A$ contains only one point, you do need to include $A$ in $\mathscr{B}$.)
You’re worried about showing that $\mathscr{T}$ is closed under arbitrary unions, so suppose that $\mathscr{V}\subseteq\mathscr{T}$; we want to show that $\bigcup\mathscr{V}\in\mathscr{T}$. For each $V\in\mathscr{V}$ let $$\mathscr{B}_V=\{B\in\mathscr{B}:B\subseteq V\}\;;$$ AC is not required to define this subset of $\mathscr{B}$.
AC is not used here: we chose just one subset of $\mathscr{B}$, and its existence was guaranteed by the hypothesis that $V\in\mathscr{T}$.
Now let $\mathscr{H}=\bigcup\{\mathscr{B}_V:V\in\mathscr{V}\}\subseteq\mathscr{B}$. Then
$$\begin{align*}\bigcup\mathscr{V}&=\bigcup\left\{\bigcup\mathscr{B}_V:V\in\mathscr{V}\right\}\\ &=\bigcup\bigcup\left\{\mathscr{B}_V:V\in\mathscr{V}\right\}\\ &=\bigcup\mathscr{H}\in\mathscr{T}\;. \end{align*}$$
Again, we’ve not used AC anywhere. AC is also not required in the proof that $\mathscr{T}$ is closed under finite intersections and contains $\varnothing$ and $A$.