Automatic migration. Original reporter: "Dalfy"
Currently pthread and dlopen are tested using AC_CHECK_LIB with main as an argument for the symbol to look for. This is not good. We should look for a symbol defined in the lib we are testing.
Additional information: This is as low of a bug as it is possible as it works for now but it's not done correctly.
OS: Linux, OS build: , Platform: