comparison aclocal.m4 @ 4990:8f0cf4fd3d2c

Automatic merge
author Ben Wing <ben@xemacs.org>
date Sat, 06 Feb 2010 04:01:46 -0600
parents 8b63e21b0436
children e6508b64ee08 ff554e6a2d29
comparison
equal deleted inserted replaced
4989:d2ec55325515 4990:8f0cf4fd3d2c
511 dnl for modules to use. This means that the COMPILER (and NOT the linker) 511 dnl for modules to use. This means that the COMPILER (and NOT the linker)
512 dnl is most often used to create temacs, so arguments to the linker will 512 dnl is most often used to create temacs, so arguments to the linker will
513 dnl usually need to be prefix with ${wl} or some other such thing. 513 dnl usually need to be prefix with ${wl} or some other such thing.
514 dnl 514 dnl
515 515
516 if test "$xe_gnu_ld" = yes; then 516 if test "$xe_gnu_ld" = yes -a "$ld_shlibs" = yes; then
517 if test "$ld_shlibs" = yes; then 517 case "$xehost_os" in
518 *cygwin* | *mingw* )
519 # -export-all-symbols is the PE equivalent of ELF-specific -export-dynamic
520 ld_dynamic_link_flags="${wl}-export-all-symbols"
521 ;;
522
523 *)
518 ld_dynamic_link_flags="${wl}-export-dynamic" 524 ld_dynamic_link_flags="${wl}-export-dynamic"
519 fi 525 ;;
526 esac
520 fi 527 fi
521 528
522 if test -z "$ld_dynamic_link_flags"; then 529 if test -z "$ld_dynamic_link_flags"; then
523 case "$xehost_os" in 530 case "$xehost_os" in
524 aix[[3-9]]*) 531 aix[[3-9]]*)