From 117cb0bc8bb565f21adcfc10f5dcb059ac9d3dfe Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 7 Oct 1998 04:24:04 +0000 Subject: added some comments (This used to be commit c81568a6934acab45702639c1c57aadb145f246b) --- source3/configure.in | 18 ++++++++++++------ 1 file 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 -- cgit