Mercurial > hg > xemacs-beta
diff aclocal.m4 @ 4765:1257b938f03a
automatic merge
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Fri, 04 Dec 2009 10:59:45 +0900 |
parents | aa5ed11f473b |
children | 8b63e21b0436 |
line wrap: on
line diff
--- a/aclocal.m4 Fri Dec 04 10:56:38 2009 +0900 +++ b/aclocal.m4 Fri Dec 04 10:59:45 2009 +0900 @@ -54,18 +54,6 @@ xehost_vendor=`echo $xehost | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'` xehost_os=`echo $xehost | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'` -case "$xehost_os" in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "${COLLECT_NAMES+set}" != set; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - # Now see if the compiler is really GCC. if test "$GCC" = "yes"; then XEGCC=yes @@ -87,7 +75,7 @@ wl='-Wl,' case "$xehost_os" in - aix[[3-9]]* | irix[[5-9]]* | osf[[3-9]]) + aix[[4-9]]* | irix[[5-9]]* | osf[[3-9]]) # PIC is the default for these OSes. ;; @@ -113,7 +101,7 @@ else # PORTME Check for PIC flags for the system compiler. case "$xehost_os" in - hpux9* | hpux1[[0-9]]*) + hpux1[[0-9]]*) # Is there a better link_static_flag that works with the bundled CC? wl='-Wl,' dll_cflags='+Z' @@ -133,7 +121,7 @@ wl='-Wl,' ;; - aix[[3-9]]*) + aix[[4-9]]*) # All AIX code is PIC. wl='-Wl,' ;; @@ -163,11 +151,6 @@ wl='-Wl,' ;; - sunos4*) - dll_cflags='-PIC' - wl='-Qoption ld ' - ;; - uts4*) dll_cflags='-pic' ;; @@ -258,7 +241,7 @@ esac else # Not using GCC case "$xehost_os" in - aix[[3-9]]*) + aix[[4-9]]*) xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" ;; @@ -286,11 +269,6 @@ xcldf="-G" xldf="-G" ;; - - sunos4*) - xcldf="${wl}-assert ${wl}pure-text ${wl}-Bstatic" - xldf="-assert pure-text -Bstatic" - ;; esac fi # End if if we are using gcc @@ -393,8 +371,8 @@ AC_MSG_RESULT([${xe_gnu_ld}]) case "$xehost_os" in - amigaos* | sunos4*) - # On these operating systems, we should treat GNU ld like the system ld. + amigaos*) + # On this operating system, we should treat GNU ld like the system ld. gnu_ld_acts_native=yes ;; *) @@ -435,11 +413,6 @@ else # PORTME fill in a description of your system's linker (not GNU ld) case "$xehost_os" in - aix3*) - dll_ld=$LTLD - dll_ldflags=$xldf - ;; - aix[[4-9]]*) dll_ldflags=$xcldf ;; @@ -503,15 +476,6 @@ esac ;; - sunos4*) - if test "$XEGCC" = yes; then - dll_ld=$CC - else - dll_ld=$LTLD - fi - dll_ldflags=$xldf - ;; - uts4*) dll_ld=$LTLD dll_ldflags="-G" @@ -601,22 +565,14 @@ ld_dynamic_link_flags= ;; - sco3.2v5* | unixware* | sysv5* | sysv4*) + unixware* | sysv5* | sysv4*) ld_dynamic_link_flags="${wl}-Bexport" ;; - sunos4*) - ld_dynamic_link_flags= - ;; - uts4*) ld_dynamic_link_flags= ;; - bsdi*) - ld_dynamic_link_flags= - ;; - esac fi # End of if -z ld_dynamic_link_flags fi # End of if test "$can_build_shared" = "yes"