libtool.m4: Add support for slimcc
Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79216
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 495bd10..7f92e5e 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -5000,6 +5000,12 @@
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
;;
+ slimcc*)
+ # Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
# Portland Group compilers (*not* the Pentium gcc compiler,
# which looks to be a dead project)