1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
Patch fixes search for aolserver4 headers.
--- tclthread-2.6.7.orig/configure
+++ tclthread-2.6.7/configure
@@ -6204,7 +6204,7 @@
else
if test x"${with_aolserver}" != x ; then
- if test -f "${with_aolserver}/include/ns.h" ; then
+ if test -f "${with_aolserver}/include/aolserver4/ns.h" ; then
ac_cv_c_aolserver=`(cd ${with_aolserver}; pwd)`
else
{ { echo "$as_me:$LINENO: error: ${with_aolserver} directory doesn't contain ns.h" >&5
@@ -6222,7 +6222,7 @@
AOL_DIR=${ac_cv_c_aolserver}
echo "$as_me:$LINENO: result: found AOLserver in $AOL_DIR" >&5
echo "${ECHO_T}found AOLserver in $AOL_DIR" >&6
- AOL_INCLUDES="-I\"${AOL_DIR}/include\""
+ AOL_INCLUDES="-I\"${AOL_DIR}/include/aolserver4\""
if test "`uname -s`" = Darwin ; then
aollibs=`ls ${AOL_DIR}/lib/libns* 2>/dev/null`
if test x"$aollibs" != x ; then
--- tclthread-2.6.7.orig/aolserver.m4
+++ tclthread-2.6.7/aolserver.m4
@@ -31,7 +31,7 @@
AC_CACHE_VAL(ac_cv_c_aolserver,[
if test x"${with_aolserver}" != x ; then
- if test -f "${with_aolserver}/include/ns.h" ; then
+ if test -f "${with_aolserver}/include/aolserver4/ns.h" ; then
ac_cv_c_aolserver=`(cd ${with_aolserver}; pwd)`
else
AC_MSG_ERROR([${with_aolserver} directory doesn't contain ns.h])
@@ -43,7 +43,7 @@
else
AOL_DIR=${ac_cv_c_aolserver}
AC_MSG_RESULT([found AOLserver in $AOL_DIR])
- AOL_INCLUDES="-I\"${AOL_DIR}/include\""
+ AOL_INCLUDES="-I\"${AOL_DIR}/include/aolserver4\""
if test "`uname -s`" = Darwin ; then
aollibs=`ls ${AOL_DIR}/lib/libns* 2>/dev/null`
if test x"$aollibs" != x ; then
|