On Wed, Aug 01, 2001 at 06:55:33PM +0200, Graham Leggett wrote: > Justin Erenkrantz wrote: > > > Add: > > > > sinclude(../apr/build/apr_common.m4) > > > > to apr-util/configure.in. We're already relying on that directory to > > exist anyway. -- justin > > I just added it - now configure bombs out like so: > > + rm -f conftest.c conftest.out > + ac_cv_prog_CPP=gcc -E > + CPP=gcc -E > + echo 'gcc -E' > gcc -E > + echo -n 'checking for ldap support...' > checking for ldap support...+ test '' = set > + test '' = set > ./configure: line 2863: syntax error near unexpected token `"(c' > ./configure: line 2863: ` echo $ac_n "(cached) $ac_c" 1>&6' > > Does this make any sense? If not I will attach the configure.in and > apu-conf.m4. My shell programming skills are minimal, so please excuse > the dumbness...
It could be something to do with how you are calling APR_ADDTO. Yeah, if you can post the relevant diff again. (Just to make sure we are on the same track - this is where the sinclude should go...) -- justin Index: configure.in =================================================================== RCS file: /home/cvs/apr-util/configure.in,v retrieving revision 1.29 diff -u -r1.29 configure.in --- configure.in 2001/07/30 15:59:02 1.29 +++ configure.in 2001/08/01 16:59:01 @@ -14,6 +14,7 @@ sinclude(build/apu-conf.m4) sinclude(../apr/build/libtool.m4) +sinclude(../apr/build/apr_common.m4) AC_PROG_CC AC_PROG_AWK
