Mercurial > hg > xemacs-beta
comparison aclocal.m4 @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | de805c49cfc1 |
children | 43177a4f3daf |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
90 case "$xehost_os" in | 90 case "$xehost_os" in |
91 aix3* | aix4* | irix5* | irix6* | osf3* | osf4*) | 91 aix3* | aix4* | irix5* | irix6* | osf3* | osf4*) |
92 # PIC is the default for these OSes. | 92 # PIC is the default for these OSes. |
93 ;; | 93 ;; |
94 | 94 |
95 aix3* | aix4* | os2*) | 95 os2*) |
96 # We can build DLLs from non-PIC. | 96 # We can build DLLs from non-PIC. |
97 ;; | 97 ;; |
98 amigaos*) | 98 amigaos*) |
99 # FIXME: we need at least 68020 code to build shared libraries, but | 99 # FIXME: we need at least 68020 code to build shared libraries, but |
100 # adding the `-m68020' flag to GCC prevents building anything better, | 100 # adding the `-m68020' flag to GCC prevents building anything better, |
101 # like `-m68040'. | 101 # like `-m68040'. |
102 dll_cflags='-m68020 -resident32 -malways-restore-a4' | 102 dll_cflags='-m68020 -resident32 -malways-restore-a4' |
103 ;; | 103 ;; |
104 *cygwin* | *mingw* ) | |
105 # PIC is the default | |
106 ;; | |
107 *) | 104 *) |
108 dll_cflags='-fPIC' | 105 dll_cflags='-fPIC' |
109 ;; | 106 ;; |
110 esac | 107 esac |
111 else | 108 else |
112 # PORTME Check for PIC flags for the system compiler. | 109 # PORTME Check for PIC flags for the system compiler. |
113 case "$xehost_os" in | 110 case "$xehost_os" in |
114 hpux9* | hpux1[[0-9]]*) | 111 hpux9* | hpux10*) |
115 # Is there a better link_static_flag that works with the bundled CC? | 112 # Is there a better link_static_flag that works with the bundled CC? |
116 wl='-Wl,' | 113 wl='-Wl,' |
117 dll_cflags='+Z' | 114 dll_cflags='+Z' |
118 ;; | 115 ;; |
119 | 116 |
387 | 384 |
388 if test "$cc_produces_so" = "yes"; then | 385 if test "$cc_produces_so" = "yes"; then |
389 dll_ld=$CC | 386 dll_ld=$CC |
390 dll_ldflags=$xcldf | 387 dll_ldflags=$xcldf |
391 can_build_shared=yes | 388 can_build_shared=yes |
392 ld_shlibs=yes | |
393 else | 389 else |
394 # OK - only NOW do we futz about with ld. | 390 # OK - only NOW do we futz about with ld. |
395 # See if the linker supports building shared libraries. | 391 # See if the linker supports building shared libraries. |
396 AC_MSG_CHECKING(whether the linker supports shared libraries) | 392 AC_MSG_CHECKING(whether the linker supports shared libraries) |
397 dll_ld=$CC | 393 dll_ld=$CC |
571 osf3* | osf4*) | 567 osf3* | osf4*) |
572 ld_dynamic_link_flags= | 568 ld_dynamic_link_flags= |
573 ;; | 569 ;; |
574 | 570 |
575 solaris2* | solaris7*) | 571 solaris2* | solaris7*) |
576 ld_dynamic_link_flags= | 572 ld_dynamic_link_flags="${wl}-Bdynamic" |
577 ;; | 573 ;; |
578 | 574 |
579 sco3.2v5* | unixware* | sysv5* | sysv4*) | 575 sco3.2v5* | unixware* | sysv5* | sysv4*) |
580 ld_dynamic_link_flags="${wl}-Bexport" | 576 ld_dynamic_link_flags="${wl}-Bexport" |
581 ;; | 577 ;; |