1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

r22699: Reduce amount of magic required for popt detection.

(This used to be commit 05ca6ecef70b0e66348b479badcb77d0a0bef9f2)
This commit is contained in:
Jelmer Vernooij 2007-05-06 15:58:12 +00:00 committed by Gerald (Jerry) Carter
parent b3a4fd11e9
commit ca72dbec9a
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