OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/aclocal.m4 versions 1.6 and 1.7
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/aclocal.m4 1.6 -> 1.7

--- aclocal.m4   2002/12/03 10:22:11     1.6
+++ aclocal.m4   2003/01/16 08:32:31     1.7
@@ -158,6 +158,42 @@
 
 
 dnl ##
+dnl ##  Test for the presence of EasySOAP
+dnl ##
+dnl ##  configure.in:
+dnl ##    AC_TEST_ESOAP
+dnl ##
+
+AC_DEFUN(AC_TEST_ESOAP,[dnl
+AC_ARG_WITH(esoapdir,dnl
+[  --with-easysoapdir=[DIR]    prefix where EasySOAP is installed], esoapdir=$withval,)
+AC_MSG_CHECKING(the EasySOAP installation path)
+
+dnl ## Ensure that we have a basic path to start searching
+if test -x "$esoapdir";
+then
+    SOAPBASE=$esoapdir
+    AC_MSG_RESULT(${SOAPBASE})
+elif test -x "${ESOAPDIR}";
+then
+    SOAPBASE="${ESOAPDIR}"
+    AC_MSG_RESULT(${SOAPBASE})
+else
+    AC_MSG_RESULT(not found)
+    AC_MSG_ERROR([Neither \$ESOAPDIR nor --with-easysoapdir=[DIR] paths exist])
+fi
+
+dnl ## Append paths of libs and headers
+LIBS="$LIBS -leasysoap -lexpat -lssl -lcrypto"
+LDFLAGS="$LDFLAGS -L${SOAPBASE}/lib -R${SOAPBASE}/lib"
+CPPFLAGS="$CPPFLAGS -I${SOAPBASE}/include"
+CXXCPP="$CXXCPP -I${SOAPBASE}/include"
+CXXFLAGS="$CXXFLAGS"
+AC_DEFINE(HAVE_ESOAP, 1, [Define to 1 if building with EasySOAP.])
+])
+
+
+dnl ##
 dnl ##  Check the Qt implementation path
 dnl ##
 dnl ##  configure.in:

CVSTrac 2.0.1