* m4/libtool.m4 (_LT_LANG_F77_CONFIG) [ aix4, aix5 ]:

Adjust logic to match the C case: Only disable static if not
on ia64 nor runtimelinking.
This commit is contained in:
Gary Kumfert 2005-04-23 08:14:10 +00:00 committed by Ralf Wildenhues
parent 93cd550c92
commit c820b259f4
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-04-23 Gary Kumfert <kumfert@llnl.gov>
* m4/libtool.m4 (_LT_LANG_F77_CONFIG) [ aix4, aix5 ]:
Adjust logic to match the C case: Only disable static if not
on ia64 nor runtimelinking.
2005-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
* Makefile.am, HACKING: Use lt__cd throughout.

4
m4/libtool.m4 vendored
View File

@ -5862,7 +5862,9 @@ if test "$_lt_caught_F77_error" != yes; then
fi
;;
aix4* | aix5*)
test "$enable_shared" = yes && enable_static=no
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
test "$enable_shared" = yes && enable_static=no
fi
;;
esac
AC_MSG_RESULT([$enable_shared])