From 18cddd580e04344e05593d9f63beb9ead53cfab2 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 20 Mar 2006 00:28:12 +0000 Subject: r14575: Move some path-related functions to libsamba-config so libsamba-util doesn't have to depend on the lp_* functions. (This used to be commit f97df7d90a41b77a9edd2d6bdc47c27bf1b6bb07) --- source4/build/smb_build/makefile.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source4/build') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 03c172c38d..46345283cb 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -424,10 +424,7 @@ sub PkgConfig($$) $link_name =~ s/^LIB//g; $link_name = lc($link_name); - if (not defined($ctx->{DESCRIPTION})) { - warn("$ctx->{NAME} has not DESCRIPTION set, not generating .pc file"); - return; - } + return if (not defined($ctx->{DESCRIPTION})); my $path = "$ctx->{BASEDIR}/$link_name.pc"; -- cgit