summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-07 04:24:04 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-07 04:24:04 +0000
commit117cb0bc8bb565f21adcfc10f5dcb059ac9d3dfe (patch)
treed9b6dcf40e4271b630aa3cc840a0c6a7cbbd3248 /source3
parent52d52a51313481a4d26d6b0bbdfe6fda0a9fa474 (diff)
downloadsamba-117cb0bc8bb565f21adcfc10f5dcb059ac9d3dfe.tar.gz
samba-117cb0bc8bb565f21adcfc10f5dcb059ac9d3dfe.tar.bz2
samba-117cb0bc8bb565f21adcfc10f5dcb059ac9d3dfe.zip
added some comments
(This used to be commit c81568a6934acab45702639c1c57aadb145f246b)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 0815343ecd..54308abde8 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -14,18 +14,27 @@ AC_SUBST(PICFLAG)
AC_PROG_AWK
AC_CANONICAL_SYSTEM
+AC_VALIDATE_CACHE_SYSTEM_TYPE
+SAMBA_MAINTAINER_MODE
+
+
+# this bit needs to be modified for each OS that is suported by
+# smbwrapper. You need to specify how to created a shared library and
+# how to compile C code to produce PIC object files
+
+# these are the defaults, good for lots of systems
PICFLAG="-fpic"
HOST_OS="$host_os"
+LDSHFLAGS="-shared";;
+# and these are for particular systems
case "$host_os" in
- *linux*) AC_DEFINE(LINUX)
- LDSHFLAGS="-shared";;
+ *linux*) AC_DEFINE(LINUX);;
*solaris*) AC_DEFINE(SUNOS5)
LDSHFLAGS="-G";;
*sunos*) AC_DEFINE(SUNOS4);;
*irix*) AC_DEFINE(IRIX)
- LDSHFLAGS="-shared"
WRAP32=smbwrapper/smbwrapper.32.so
PICFLAG="-KPIC"
;;
@@ -37,9 +46,6 @@ case "$host_os" in
*next2*) AC_DEFINE(NEXT2);;
esac
-AC_VALIDATE_CACHE_SYSTEM_TYPE
-SAMBA_MAINTAINER_MODE
-
AC_INLINE
AC_HEADER_STDC
AC_HEADER_DIRENT