1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-17 15:33:16 +03:00

r22699: Reduce amount of magic required for popt detection.

This commit is contained in:
Jelmer Vernooij
2007-05-06 15:58:12 +00:00
committed by Gerald (Jerry) Carter
parent 4d3f02e845
commit 05ca6ecef7
2 changed files with 8 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
[SUBSYSTEM::LIBPOPT]
OBJ_FILES = findme.o \
popt.o \
poptconfig.o \
popthelp.o \
poptparse.o
CFLAGS = -Ilib/popt

View File

@@ -2,9 +2,7 @@ m4_include(lib/popt/libpopt.m4)
if test x"$POPT_OBJ" = "x"; then
SMB_EXT_LIB(LIBPOPT, [${POPT_LIBS}])
SMB_ENABLE(LIBPOPT,YES)
else
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])
SMB_INCLUDE_MK(lib/popt/config.mk)
fi