Updated aclocal/gcc.ac to add $picflags so resulting configure script will recognize shared library support in 64-bit systems.
Patch:
--- a/aclocal/gcc.ac
+++ b/aclocal/gcc.ac
@@ -309,7 +309,7 @@
for shopt in -shared "-dynamiclib -single_module" ; do
AC_MSG_CHECKING([whether the compiler can link a dynamic library with $shopt])
- LDFLAGS="$shopt $ac_save_LDFLAGS"
+ LDFLAGS="$picflags $shopt $ac_save_LDFLAGS"
AC_LINK_IFELSE([void myfunc() {}], [shlink=yes], [shlink=no])
AC_MSG_RESULT($shlink)
Notes: This patch is with regards to Oasys, and should be applied to that source tree.