From Euclid's definitions, postulates, and common notions, can you prove that a straight line is the shortest distance between two points, or is that basically an assumption of the way lines are measured?
Here is an online copy of much of the text of Euclid's Elements.
Proposition 20 is:
In any triangle the sum of any two sides is greater than the remaining one.
This does prove the theorem for the case where one straight line is shorter than two straight lines at an angle, and it's obvious how to prove from that that any chain of straight lines is longer than a single straight line, but I don't see anything that rules out that another sort of curve might be shorter. Maybe you could prove it from proposition 20 using the method of exhaustion?
What about modern formulations of Euclidean geometry? Do any of them make it a theorem rather than an axiom that the shortest distance is a straight line?