X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=acinclude.m4;h=161bf7dccf74b51e076fb8227ff5ef84749e7a70;hb=cd6dc32e0b936645bf2f89e1bf61c6ae04c3258a;hp=66a3bd748f637d18a564948886708969a3613ea4;hpb=ed0813018851c8875dccdd72016f65d05f33e699;p=mono.git diff --git a/acinclude.m4 b/acinclude.m4 index 66a3bd748f6..161bf7dccf7 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -23,9 +23,12 @@ if test x$GCC != xyes; then fi case $host in i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux*|powerpc64-*-linux* \ -|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*|arm*-*-linux*) +|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*|arm*-*-linux*|sparc*-*-linux*|mips*-*-linux*) pic_options='-fPIC' ;; +?86-pc-cygwin*|i?86-pc-cygwin*) + pic_options='-DDLL_EXPORT' + ;; i?86-apple-darwin*) pic_options='-fno-common' ;; @@ -155,6 +158,7 @@ modeok=false tagok=false for arg in "$[]@"; do case "$arg" in + --silent) ;; --mode=compile) modeok=true ;; --tag=CC|--tag=CXX) tagok=true ;; --quiet) ;;