Mercurial > hg > xemacs-beta
comparison aclocal.m4 @ 1452:dd63b61df78c
[xemacs-hg @ 2003-05-03 22:47:10 by youngs]
2003-05-04 Steve Youngs <youngs@xemacs.org>
* configure: Regenerate.
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.
author | youngs |
---|---|
date | Sat, 03 May 2003 22:47:15 +0000 |
parents | 184461bc8de4 |
children | 1364f9716d7b |
comparison
equal
deleted
inserted
replaced
1451:9a406c30e65e | 1452:dd63b61df78c |
---|---|
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 | |
96 os2*) | 99 os2*) |
97 # We can build DLLs from non-PIC. | 100 # We can build DLLs from non-PIC. |
98 ;; | 101 ;; |
99 amigaos*) | 102 amigaos*) |
100 # FIXME: we need at least 68020 code to build shared libraries, but | 103 # FIXME: we need at least 68020 code to build shared libraries, but |
251 cc_produces_so=no | 254 cc_produces_so=no |
252 xldf= | 255 xldf= |
253 xcldf= | 256 xcldf= |
254 AC_MSG_CHECKING(if C compiler can produce shared libraries) | 257 AC_MSG_CHECKING(if C compiler can produce shared libraries) |
255 if test "$XEGCC" = yes; then | 258 if test "$XEGCC" = yes; then |
256 xcldf="-shared" | 259 case "$xehost_os" in |
257 xldf="-shared" | 260 *darwin*) |
261 xcldf='-bundle' | |
262 xldf='-bundle -bundle_loader ../../src/xemacs' | |
263 ;; | |
264 * ) | |
265 xcldf="-shared" | |
266 xldf="-shared" | |
267 ;; | |
268 esac | |
258 else # Not using GCC | 269 else # Not using GCC |
259 case "$xehost_os" in | 270 case "$xehost_os" in |
260 aix[[3-9]]*) | 271 aix[[3-9]]*) |
261 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" | 272 xldf="-bE:ELLSONAME.exp -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -lc" |
262 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" | 273 xcldf="${wl}-bE:ELLSONAME.exp ${wl}-H512 ${wl}-T512 ${wl}-bhalt:4 ${wl}-bM:SRE ${wl}-bnoentry ${wl}-lc" |
509 | 520 |
510 bsdi*) | 521 bsdi*) |
511 dll_ldflags="-r" | 522 dll_ldflags="-r" |
512 dll_ld="shlicc2" | 523 dll_ld="shlicc2" |
513 ;; | 524 ;; |
514 | |
515 *) | 525 *) |
516 ld_shlibs=no | 526 ld_shlibs=no |
517 can_build_shared=no | 527 can_build_shared=no |
518 ;; | 528 ;; |
519 esac | 529 esac |
549 case "$xehost_os" in | 559 case "$xehost_os" in |
550 aix[[3-9]]*) | 560 aix[[3-9]]*) |
551 ld_dynamic_link_flags= | 561 ld_dynamic_link_flags= |
552 ;; | 562 ;; |
553 | 563 |
564 *darwin*) | |
565 ld_dynamic_link_flags= | |
566 ;; | |
567 | |
554 freebsd2.2*) | 568 freebsd2.2*) |
555 ld_dynamic_link_flags= | 569 ld_dynamic_link_flags= |
556 ;; | 570 ;; |
557 | 571 |
558 freebsd2*) | 572 freebsd2*) |