A patch to configure to include --with-pam on Linux systems

Richard Sharpe sharpe at ns.aus.com
Thu Nov 9 22:17:37 GMT 2000


Hi,

Here is a patch to configure to include PAM on linux systems

--- ../../samba-2.2.my/source/configure	Sat Oct 21 11:38:09 2000
+++ ./configure	Sun Nov 12 15:50:20 2000
@@ -10632,8 +10632,15 @@
     ;;
   esac 
 else
-  echo "$ac_t""no" 1>&6
-
+  if test "`echo $target | grep -i linux`" != "";then
+    echo "$ac_t""yes" 1>&6
+    cat >> confdefs.h <<\EOF
+#define WITH_PAM 1
+EOF
+    LIBS="$LIBS -lpam"
+  else
+    echo "$ac_t""no" 1>&6
+  fi
 fi
 
 


Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-technical mailing list