-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 06 March 2003 01:07, Juan F. Codagnone wrote: > $ configure --with-licq-includes=../../licq/include/ > > now works. the problem was that the first LICQ_FIND_FILE founded the file > (and replaced $licq_licq_includes as a relative thing. > > i asume /dev/null existes, and cut utilty is installed. (yeah... we should > use AC_CHECK_PROGS)
Same problem, simpler fix Index: admin/acinclude.m4.in =================================================================== RCS file: /cvsroot/licq/licq-common/admin/acinclude.m4.in,v retrieving revision 1.18 diff -u -d -p -r1.18 acinclude.m4.in - --- admin/acinclude.m4.in 15 Feb 2003 15:27:27 -0000 1.18 +++ admin/acinclude.m4.in 6 Mar 2003 20:47:53 -0000 @@ -47,7 +47,12 @@ AC_DEFUN(LICQ_CHECK_LICQ, [ licq_licq_includes="$withval" ]) if test -n "$licq_licq_includes"; then - - LICQ_FIND_FILE(licq_icqd.h, $licq_licq_includes, licq_inc) + # be sure to have absolute paths. + relpath="`(cd $licq_licq_includes && pwd) 2>/dev/null`" + if test -n "$relpath" ; then + licq_licq_includes="$relpath" + fi + LICQ_FIND_FILE(licq_icqd.h, $licq_licq_includes, licq_inc) else licq_paths="$prefix/include/licq \ /usr/local/include/licq \ - -- Buenos Aires, Argentina -----BEGIN PGP SIGNATURE----- iD8DBQE+Z7QcUMlRieHkprgRAuGsAJ0VPteVS2uazc74gEMOCFmDzFPhggCeMyUr ykUmSwfbVjTp6lY8J0ozhOg= =hKpT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Licq-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-devel