Description: Fix build to allow building command line tools without svrcore
Fix Description: Should allow the command line tools to be built without svrcore.  Also fixed the problem with system svrcore.
This commit is contained in:
richm%stanfordalumni.org 2006-05-11 14:48:34 +00:00
Родитель 97c356a610
Коммит adeeba1cb8
3 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -103,12 +103,11 @@ AC_DEFUN(AM_PATH_SVRCORE,
AC_MSG_CHECKING(Trying pkg-config svrcore)
AC_PATH_PROG(PKG_CONFIG, pkg-config)
if test -n "$PKG_CONFIG"; then
if $PKG_CONFIG --exists svrcore; then
if $PKG_CONFIG --exists svrcore-devel; then
AC_MSG_CHECKING(using SVRCORE from package svrcore)
SVRCORE_CFLAGS=`$PKG_CONFIG --cflags-only-I svrcore`
SVRCORE_LIBS=`$PKG_CONFIG --libs-only-L svrcore`
SVRCORE_CFLAGS=`$PKG_CONFIG --cflags-only-I svrcore-devel`
SVRCORE_LIBS=`$PKG_CONFIG --libs-only-L svrcore-devel`
else
# AC_MSG_NOTICE([system SVRCORE not found])
no_svrcore="yes"
fi
else

2
directory/c-sdk/configure поставляемый
Просмотреть файл

@ -1181,7 +1181,7 @@ echo "configure:1156: checking using SVRCORE from package svrcore" >&5
fi
fi
if test -n "$HAVE_SVRCORE" ; then
if test -n "$HAVE_SVRCORE" -a -z "$_SYSTEM_SVRCORE" ; then
if test -z "$SVRCORE_CFLAGS" -o -z "$SVRCORE_LIBS"; then
{ echo "configure: error: --with-svrcore specified, but no svrcore could be found" 1>&2; exit 1; }
fi

Просмотреть файл

@ -256,7 +256,7 @@ dnl svrcore implies both nspr and nss
fi
fi
if test -n "$HAVE_SVRCORE" ; then
if test -n "$HAVE_SVRCORE" -a -z "$_SYSTEM_SVRCORE" ; then
if test -z "$SVRCORE_CFLAGS" -o -z "$SVRCORE_LIBS"; then
AC_MSG_ERROR([--with-svrcore specified, but no svrcore could be found])
fi