diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-04 14:56:19 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-04 14:56:19 +0000 |
commit | 4f31812714c62d358861667ce2b026cb031f1327 (patch) | |
tree | 9becc0513e06f88c95670cedae4418e59f9662d4 /source3/configure.in | |
parent | 770acd0a8f2ccaa4320a60f82545dba0e3b94b02 (diff) | |
download | samba-4f31812714c62d358861667ce2b026cb031f1327.tar.gz samba-4f31812714c62d358861667ce2b026cb031f1327.tar.bz2 samba-4f31812714c62d358861667ce2b026cb031f1327.zip |
fixed some stuff for Linux that porting to Solaris broke
(This used to be commit ee349bb329498e6f5852c1bf21c48563d076dc88)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index 1e014ec41b..c634e5889f 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -7,12 +7,15 @@ AC_PROG_CC AC_PROG_INSTALL AC_SUBST(SHELL) AC_SUBST(MPROGS) +AC_SUBST(LDSHFLAGS) AC_PROG_AWK AC_CANONICAL_SYSTEM case "$host_os" in - *linux*) AC_DEFINE(LINUX);; - *solaris*) AC_DEFINE(SUNOS5);; + *linux*) AC_DEFINE(LINUX) + LDSHFLAGS="-shared";; + *solaris*) AC_DEFINE(SUNOS5) + LDSHFLAGS="-G";; *sunos*) AC_DEFINE(SUNOS4);; *irix*) AC_DEFINE(IRIX);; *aix*) AC_DEFINE(AIX);; |