Thanks, Volker.  This works for me.

I have a related configure question. If you set --with-krb5=dir, shouldn't configure add a "-Rdir" so that it finds the run-time version of the library? It appears to only do a "-Ldir", so some of the configure tests fail.

Thanks.

        -John


Volker Lendecke wrote:
On Wed, Oct 01, 2008 at 06:28:42PM -0400, John Center wrote:
I had the same problem.  I fixed one line in configure:

if test "x$debug" = "xyes" ; then
        CFLAGS="${CFLAGS} -g"
else
        CFLAGS="-O"
fi

The second if statement was clearing my CFLAGS setting, replacing it with just "-O". I changed the line from CFLAGS="-O" to CFLAGS="${CFLAGS} -O". This kept my settings. I don't know if this is the correct fix, but it worked for me.

Pushed the attached patch which should also solve it,
configure is made from configure.in.

Volker

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to