mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Synced with pkg.m4 from edelib
This commit is contained in:
parent
427602bed6
commit
807dd35e38
11
m4/pkg.m4
11
m4/pkg.m4
@ -34,12 +34,17 @@ AC_DEFUN([PKG_CHECK_MODULES], [
|
||||
AC_MSG_RESULT($$1_CFLAGS)
|
||||
|
||||
AC_MSG_CHECKING($1_LIBS)
|
||||
## don't use --libs since that can do evil things like add
|
||||
## -Wl,--export-dynamic
|
||||
## don't use --libs since that can do evil things like add -Wl,--export-dynamic
|
||||
if test "$SHELL" = "/bin/ksh"; then
|
||||
## ksh does not do escaping properly
|
||||
$1_LIBS="`$PKG_CONFIG --libs-only-L "$2"` `$PKG_CONFIG --libs-only-l "$2"`"
|
||||
else
|
||||
$1_LIBS="`$PKG_CONFIG --libs-only-L \"$2\"` `$PKG_CONFIG --libs-only-l \"$2\"`"
|
||||
AC_MSG_RESULT($$1_LIBS)
|
||||
fi
|
||||
|
||||
$1_LIBS="`$PKG_CONFIG --libs-only-L \"$2\"` `$PKG_CONFIG --libs-only-l \"$2\"`"
|
||||
$1_VERSION=`$PKG_CONFIG --modversion "$2"`
|
||||
AC_MSG_RESULT($$1_LIBS)
|
||||
else
|
||||
$1_CFLAGS=""
|
||||
$1_LIBS=""
|
||||
|
Loading…
Reference in New Issue
Block a user