mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-18 14:16:00 +08:00
* ltmain.in (link -static): Don't add $link_static_flag; only
-all-static should do that. * mdemo/configure.in: Revert part of the previous delta.
This commit is contained in:
parent
3244d1b086
commit
c4c91b5984
@ -1,5 +1,9 @@
|
|||||||
2000-09-04 Alexandre Oliva <aoliva@redhat.com>
|
2000-09-04 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* ltmain.in (link -static): Don't add $link_static_flag; only
|
||||||
|
-all-static should do that.
|
||||||
|
* mdemo/configure.in: Revert part of the previous delta.
|
||||||
|
|
||||||
* mdemo/configure.in: Don't use -static on AIX4.1.
|
* mdemo/configure.in: Don't use -static on AIX4.1.
|
||||||
* mdemo/Makefile.am: Likewise.
|
* mdemo/Makefile.am: Likewise.
|
||||||
|
|
||||||
|
10
ltmain.in
10
ltmain.in
@ -1115,11 +1115,11 @@ compiler."
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
-static)
|
-static)
|
||||||
# If we have no pic_flag, then this is the same as -all-static.
|
# The effects of -static are defined in a previous loop.
|
||||||
if test -z "$pic_flag" && test -n "$link_static_flag"; then
|
# We used to do the same as -all-static on platforms that
|
||||||
compile_command="$compile_command $link_static_flag"
|
# didn't have a PIC flag, but the assumption that the effects
|
||||||
finalize_command="$finalize_command $link_static_flag"
|
# would be equivalent was wrong. It would break on at least
|
||||||
fi
|
# Digital Unix and AIX.
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -23,13 +23,6 @@ else
|
|||||||
fi
|
fi
|
||||||
AC_SUBST(STATIC)
|
AC_SUBST(STATIC)
|
||||||
|
|
||||||
case $host_os in
|
|
||||||
dnl aix 4.1 provides dlopen() through -lsvld, but this library can't
|
|
||||||
dnl be linked statically.
|
|
||||||
aix4.[[01]]*)
|
|
||||||
STATIC= ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
AC_CHECK_HEADERS(math.h)
|
AC_CHECK_HEADERS(math.h)
|
||||||
|
|
||||||
AC_CHECK_LIBM
|
AC_CHECK_LIBM
|
||||||
|
Loading…
Reference in New Issue
Block a user