Mercurial > hg > xemacs-beta
comparison aclocal.m4 @ 1470:1364f9716d7b
[xemacs-hg @ 2003-05-10 02:57:05 by youngs]
2003-05-10 Steve Youngs <youngs@xemacs.org>
* Revert this patch:
2003-05-01 Andrew Begel <abegel@CS.Berkeley.EDU>
* configure.in: Move module detection to after src/ is added to
MAKE_SUBDIR. On MacOS X, building modules requires xemacs to
already be built.
* aclocal.m4 (XE_SHLIB_STUFF): Properly define ellcc flags for
MacOS X.
It was stopping certain libs from making their way into the
Makefiles.
* configure: Regenerate.
author | youngs |
---|---|
date | Sat, 10 May 2003 02:57:07 +0000 |
parents | dd63b61df78c |
children | baca156a450b |
comparison
equal
deleted
inserted
replaced
1469:51cfeb2ed271 | 1470:1364f9716d7b |
---|---|
91 case "$xehost_os" in | 91 case "$xehost_os" in |
92 aix[[3-9]]* | irix[[5-9]]* | osf[[3-9]]) | 92 aix[[3-9]]* | irix[[5-9]]* | osf[[3-9]]) |
93 # PIC is the default for these OSes. | 93 # PIC is the default for these OSes. |
94 ;; | 94 ;; |
95 | 95 |
96 *darwin*) dll_cflags='-dynamic' | |
97 ;; | |
98 | |
99 os2*) | 96 os2*) |
100 # We can build DLLs from non-PIC. | 97 # We can build DLLs from non-PIC. |
101 ;; | 98 ;; |
102 amigaos*) | 99 amigaos*) |
103 # FIXME: we need at least 68020 code to build shared libraries, but | 100 # FIXME: we need at least 68020 code to build shared libraries, but |
254 cc_produces_so=no | 251 cc_produces_so=no |
255 xldf= | 252 xldf= |
256 xcldf= | 253 xcldf= |
257 AC_MSG_CHECKING(if C compiler can produce shared libraries) | 254 AC_MSG_CHECKING(if C compiler can produce shared libraries) |
258 if test "$XEGCC" = yes; then | 255 if test "$XEGCC" = yes; then |
259 case "$xehost_os" in | 256 xcldf="-shared" |
260 *darwin*) | 257 xldf="-shared" |
261 xcldf='-bundle' | |
262 xldf='-bundle -bundle_loader ../../src/xemacs' | |
263 ;; | |
264 * ) | |
265 xcldf="-shared" | |
266 xldf="-shared" | |
267 ;; | |
268 esac | |
269 else # Not using GCC | 258 else # Not using GCC |
270 case "$xehost_os" in | 259 case "$xehost_os" in |
271 aix[[3-9]]*) | 260 aix[[3-9]]*) |
272 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" | 261 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" |
273 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" | 262 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" |
520 | 509 |
521 bsdi*) | 510 bsdi*) |
522 dll_ldflags="-r" | 511 dll_ldflags="-r" |
523 dll_ld="shlicc2" | 512 dll_ld="shlicc2" |
524 ;; | 513 ;; |
514 | |
525 *) | 515 *) |
526 ld_shlibs=no | 516 ld_shlibs=no |
527 can_build_shared=no | 517 can_build_shared=no |
528 ;; | 518 ;; |
529 esac | 519 esac |
559 case "$xehost_os" in | 549 case "$xehost_os" in |
560 aix[[3-9]]*) | 550 aix[[3-9]]*) |
561 ld_dynamic_link_flags= | 551 ld_dynamic_link_flags= |
562 ;; | 552 ;; |
563 | 553 |
564 *darwin*) | |
565 ld_dynamic_link_flags= | |
566 ;; | |
567 | |
568 freebsd2.2*) | 554 freebsd2.2*) |
569 ld_dynamic_link_flags= | 555 ld_dynamic_link_flags= |
570 ;; | 556 ;; |
571 | 557 |
572 freebsd2*) | 558 freebsd2*) |