Attempt to detect pwlib and openh323 in /usr/local as well.
git-svn-id: http://voip.null.ro/svn/yate@1735 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
9fa8bacade
commit
6880f4c0fc
|
@ -552,6 +552,9 @@ PWLIB_RUN=""
|
|||
AC_ARG_WITH(pwlib,AC_HELP_STRING([--with-pwlib=DIR],[use Pwlib from DIR (default /usr)]),[ac_cv_use_pwlib=$withval],[ac_cv_use_pwlib=/usr])
|
||||
|
||||
if [[ "x$ac_cv_use_pwlib" != "xno" ]]; then
|
||||
if [[ "x$ac_cv_use_pwlib" = "/usr" -a ! -f "$ac_cv_use_pwlib/include/ptlib.h" ]]; then
|
||||
ac_cv_use_pwlib="$ac_cv_use_pwlib/local"
|
||||
fi
|
||||
AC_MSG_CHECKING([for Pwlib in $ac_cv_use_pwlib])
|
||||
local_lib="$ARCHLIB"
|
||||
verpw=`$ac_cv_use_pwlib/bin/ptlib-config --version 2>/dev/null`
|
||||
|
@ -607,6 +610,9 @@ H323_RUN=""
|
|||
AC_ARG_WITH(openh323,AC_HELP_STRING([--with-openh323=DIR],[use OpenH323 from DIR (default /usr)]),[ac_cv_use_openh323=$withval],[ac_cv_use_openh323=/usr])
|
||||
|
||||
if [[ "x$HAVE_PWLIB" != "xno" -a "x$ac_cv_use_openh323" != "xno" ]]; then
|
||||
if [[ "x$ac_cv_use_openh323" = "/usr" -a ! -f "$ac_cv_use_openh323/include/openh323/h323.h" ]]; then
|
||||
ac_cv_use_openh323="$ac_cv_use_openh323/local"
|
||||
fi
|
||||
AC_MSG_CHECKING([for OpenH323 in $ac_cv_use_openh323])
|
||||
local_lib="$ARCHLIB"
|
||||
# try first installed directory
|
||||
|
|
Loading…
Reference in New Issue