configure: go back to platform-based EXTERN_PREFIX test
commit7d3ccb47f996a485783414fdbe9a902e21082c47
authorUoti Urpala <uau@mplayer2.org>
Sun, 13 Jan 2013 23:07:37 +0000 (14 01:07 +0200)
committerUoti Urpala <uau@mplayer2.org>
Sun, 13 Jan 2013 23:26:23 +0000 (14 01:26 +0200)
tree6229fec123c58ae8933b098bdecc694e6e26baaa
parent3ba2699791709ef821e89fcfb9d2ab0ac259982c
configure: go back to platform-based EXTERN_PREFIX test

Commit 6ad1f58ab8 (svn r28151) changed EXTERN_PREFIX detection to use
a "general" configure test instead of determining it based on
platform. However, this "general" test depends on assumptions about
object file contents, and actually fails if compiling with gcc -flto
for example. Go back to the simple platform-based test. Leave out the
OS2 (no longer supported) and OpenBSD !ELF (no idea what that is, but
probably not something I'd care about supporting) parts from the old
test.

Remove configure switch --nm, as it was only used for the hacky
EXTERN_PREFIX test.

Simply disable the use of EXTERN_ASM (same as EXTERN_PREFIX under
another name) in wrapper.S; this seems to have been added for OS/2
only, and the file should not get compiled on any platform with a
nonempty prefix now.
configure
loader/wrapper.S
mangle.h