summaryrefslogtreecommitdiffstats
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
commitc81568a6934acab45702639c1c57aadb145f246b (patch)
treeb4254e4ea3a9133f5e669f1e59da73ed6acd057f
parent378290bfe1dc4965679495aab58be55e81ecf192 (diff)
downloadsamba-c81568a6934acab45702639c1c57aadb145f246b.tar.gz
samba-c81568a6934acab45702639c1c57aadb145f246b.tar.xz
samba-c81568a6934acab45702639c1c57aadb145f246b.zip
added some comments
-rw-r--r--source/configure.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/source/configure.in b/source/configure.in
index 0815343ecde..54308abde84 100644
--- a/source/configure.in
+++ b/source/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