/* configure.ac */
AC_MSG_CHECKING(whether to use rampart)
AC_ARG_WITH(rampart,
[ --with-rampart[=PATH] use rampart.],
[ case "$withval" in
no)
AC_MSG_RESULT(no)
;;
*)
AC_MSG_RESULT(yes)
if test -d $withval; then
opensslinc="-I$withval/include"
elif test -d '/usr/include/openssl'; then
opensslinc="-I/usr/include"
else
AC_MSG_ERROR(could not find openssl stop)
fi
RAMPART_DIR="rampart"
if test -d $srcdir/rampart; then
AC_CONFIG_SUBDIRS(rampart)
fi
;;
esac ],
AC_MSG_RESULT(no)
)
OPENSSLINC=$opensslinc
-Nabeel
On 11/11/06, Dinesh Premalal <
[EMAIL PROTECTED]
> wrote:
"Nabeel Yoosuf" < [EMAIL PROTECTED]> writes:
> When I have the openssl include and lib files in default locations I can build
> Rampart. I want to have these include and lib files in custom locations and
> build Rampart.
Hope you will get exact solution soon. Until then you can try this out.
Please add opeanssl library path to LD_LIBRARY_PATH and add header file
path to Makefile.am INCLUDES. (Please look at the Makefile.am's
which is near to the source files.
Ex:- axis2c/rampart/src/omxmlsec/Makefile.am
you will be able to understand what happen there :))
>I am not an expert in auto-build systems,
neither I am ;)
thanks,
Dinesh
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
