X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=aclocal.m4;h=1cfb91f02f4443bbbda929b31f6b669aaa6044f8;hb=a18427281c3f6c1131478a7b1bad03da49e009a0;hp=721d768d90945e702b33ec9c918366563350888e;hpb=3e447015251ce6dcde843cbed10d9033d5538622;p=chise%2Fxemacs-chise.git diff --git a/aclocal.m4 b/aclocal.m4 index 721d768..1cfb91f 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -101,6 +101,9 @@ if test "$XEGCC" = yes; then # like `-m68040'. dll_cflags='-m68020 -resident32 -malways-restore-a4' ;; + *cygwin* | *mingw* ) + # PIC is the default + ;; *) dll_cflags='-fPIC' ;; @@ -386,6 +389,7 @@ if test "$cc_produces_so" = "yes"; then dll_ld=$CC dll_ldflags=$xcldf can_build_shared=yes + ld_shlibs=yes else # OK - only NOW do we futz about with ld. # See if the linker supports building shared libraries.