00efda Fix -Ttext-segment configure check.

Authored and Committed by Mark Wielaard 6 years ago
    Fix -Ttext-segment configure check.
    
    Explicitly test together with -static -nodefaultlibs -nostartfiles to mimic
    what the tools linking script does. At least on s390 the test might fail fo
    a non-static AC_LINK, while it does work when using those other flags too.