summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-01-27 07:57:59 +0000
committerRichard Sharpe <sharpe@samba.org>2003-01-27 07:57:59 +0000
commit412a142d8c1878f7b13aaa6d3a976b7b698996de (patch)
tree023d63b42e7cc6962429c10f795a7860d2b8d1b2 /source3/configure.in
parentcefc3a20ce0d90b142472a70b503def4d8218769 (diff)
downloadsamba-412a142d8c1878f7b13aaa6d3a976b7b698996de.tar.gz
samba-412a142d8c1878f7b13aaa6d3a976b7b698996de.tar.bz2
samba-412a142d8c1878f7b13aaa6d3a976b7b698996de.zip
One more try to fix the GNU Make dependency
(This used to be commit 84b6f32cff2096ac44778160ed2c17ca271d6d45)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in67
1 files changed, 51 insertions, 16 deletions
diff --git a/source3/configure.in b/source3/configure.in
index eca0c9f2d7..4590e5313e 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -149,14 +149,41 @@ AC_SUBST(SMBWRAPPER)
AC_SUBST(EXTRA_BIN_PROGS)
AC_SUBST(EXTRA_SBIN_PROGS)
AC_SUBST(EXTRA_ALL_TARGETS)
-AC_SUBST(LSA_DYNAMIC)
-AC_SUBST(NETLOG_DYNAMIC)
-AC_SUBST(SAMR_DYNAMIC)
-AC_SUBST(SVC_DYNAMIC)
-AC_SUBST(WKS_DYNAMIC)
-AC_SUBST(REG_DYNAMIC)
-AC_SUBST(SPOOLSS_DYNAMIC)
-AC_SUBST(DFS_DYNAMIC)
+dnl For the DYNAMIC RPC stuff
+dnl The complicated _YES and _NO stuff allows us to avoid a dependency
+dnl on GNU Make.
+AC_SUBST(LSA_DYNAMIC_YES)
+AC_SUBST(LSA_DYNAMIC_NO)
+LSA_DYNAMIC_YES="#"
+LSA_DYNAMIC_NO=
+AC_SUBST(NETLOG_DYNAMIC_YES)
+AC_SUBST(NETLOG_DYNAMIC_NO)
+NETLOG_DYNAMIC_YES="#"
+NETLOG_DYNAMIC_NO=
+AC_SUBST(SAMR_DYNAMIC_YES)
+AC_SUBST(SAMR_DYNAMIC_NO)
+SAMR_DYNAMIC_YES="#"
+SAMR_DYNAMIC_NO=
+AC_SUBST(SVC_DYNAMIC_YES)
+AC_SUBST(SVC_DYNAMIC_NO)
+SVC_DYNAMIC_YES="#"
+SVC_DYNAMIC_NO=
+AC_SUBST(WKS_DYNAMIC_YES)
+AC_SUBST(WKS_DYNAMIC_NO)
+WKS_DYNAMIC_YES="#"
+WKS_DYNAMIC_NO=
+AC_SUBST(REG_DYNAMIC_YES)
+AC_SUBST(REG_DYNAMIC_NO)
+REG_DYNAMIC_YES="#"
+REG_DYNAMIC_NO=
+AC_SUBST(SPOOLSS_DYNAMIC_YES)
+AC_SUBST(SPOOLSS_DYNAMIC_NO)
+SPOOLSS_DYNAMIC_YES="#"
+SPOOLSS_DYNAMIC_NO=
+AC_SUBST(DFS_DYNAMIC_YES)
+AC_SUBST(DFS_DYNAMIC_NO)
+DFS_DYNAMIC_YES="#"
+DFS_DYNAMIC_NO=
# compile with optimization and without debugging by default
CFLAGS="-O ${CFLAGS}"
@@ -198,35 +225,43 @@ if test x$enable_dynrpc != xno
then
for i in `echo $enable_dynrpc | sed -e's/,/ /g'`
do case $i in lsa)
- LSA_DYNAMIC=yes
+ LSA_DYNAMIC_YES=
+ LSA_DYNAMIC_NO="#"
AC_DEFINE(RPC_LSA_DYNAMIC, 1,
[Define to make the LSA pipe dynamic])
;; samr)
- SAMR_DYNAMIC=yes
+ SAMR_DYNAMIC_YES=
+ SAMR_DYNAMIC_NO="#"
AC_DEFINE(RPC_SAMR_DYNAMIC, 1,
[Define to make the SAMR pipe dynamic])
;; svc)
- SVC_DYNAMIC=yes
+ SVC_DYNAMIC_YES=
+ SVC_DYNAMIC_NO="#"
AC_DEFINE(RPC_SVC_DYNAMIC, 1,
[Define to make the SRVSVC pipe dynamic])
;; wks)
- WKS_DYNAMIC=yes
+ WKS_DYNAMIC_YES=
+ WKS_DYNAMIC_NO="#"
AC_DEFINE(RPC_WKS_DYNAMIC, 1,
[Define to make the WKSSVC pipe dynamic])
;; netlog)
- NETLOG_DYNAMIC=yes
+ NETLOG_DYNAMIC_YES=
+ NETLOG_DYNAMIC_NO="#"
AC_DEFINE(RPC_NETLOG_DYNAMIC, 1,
[Define to make the NETLOGON pipe dynamic])
;; reg)
- REG_DYNAMIC=yes
+ REG_DYNAMIC_YES=
+ REG_DYNAMIC_NO="#"
AC_DEFINE(RPC_REG_DYNAMIC, 1,
[Define to make the WINREG pipe dynamic])
;; spoolss)
- SPOOLSS_DYNAMIC=yes
+ SPOOLSS_DYNAMIC_YES=
+ SPOOLSS_DYNAMIC_NO="#"
AC_DEFINE(RPC_SPOOLSS_DYNAMIC, 1,
[Define to make the SPOOLSS pipe dynamic])
;; dfs)
- DFS_DYNAMIC=yes
+ DFS_DYNAMIC_YES=
+ DFS_DYNAMIC_NO="#"
AC_DEFINE(RPC_DFS_DYNAMIC, 1,
[Define to make the NETDFS pipe dynamic])
;; esac