summaryrefslogtreecommitdiff
path: root/source4/lib/popt/samba.m4
blob: 2ac084248fc94a82f2250d48268304da8b8bdabc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
m4_include(lib/popt/libpopt.m4)

if test x"$POPTOBJ" = "x"; then
	echo "LIBPOPT as EXT_LIB" 
	SMB_EXT_LIB(LIBPOPT, [${POPT_LIBS}])
	SMB_ENABLE(LIBPOPT,YES)
else
	echo "LIBPOPT as SUBSYSTEM" 
	SMB_SUBSYSTEM(LIBPOPT,
	[lib/popt/findme.o lib/popt/popt.o lib/popt/poptconfig.o lib/popt/popthelp.o lib/popt/poptparse.o], [], [-Ilib/popt])
fi