summaryrefslogtreecommitdiff
path: root/popt/samba.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-16 17:20:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-16 17:20:16 +0200
commitc8bff39df639c70afc94b1795c94629ee8b7b482 (patch)
tree6331eaa4d41b0b907b44d862697c9c5ea17eaaae /popt/samba.m4
parentec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (diff)
downloadsamba-c8bff39df639c70afc94b1795c94629ee8b7b482.tar.gz
samba-c8bff39df639c70afc94b1795c94629ee8b7b482.tar.bz2
samba-c8bff39df639c70afc94b1795c94629ee8b7b482.zip
Use a single copy of popt in samba3 and samba4.
Diffstat (limited to 'popt/samba.m4')
-rw-r--r--popt/samba.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/popt/samba.m4 b/popt/samba.m4
new file mode 100644
index 0000000000..9ee77dfa13
--- /dev/null
+++ b/popt/samba.m4
@@ -0,0 +1,8 @@
+m4_include(../popt/libpopt.m4)
+
+if test x"$POPT_OBJ" = "x"; then
+ SMB_EXT_LIB(LIBPOPT, [${POPT_LIBS}])
+else
+ SMB_INCLUDE_MK(../popt/config.mk)
+fi
+