I am attempting to build grub 1.93 on FreeBSD but are experiencing problems
when trying to tell the configure script where to find the LZO library.

Lzo 2 is installed and located in /usr/local/lib:

-rw-r--r--  1 root  wheel  161066 Mar 31 15:33 /usr/local/lib/liblzo2.a
-rwxr-xr-x  1 root  wheel     798 Mar 31 15:33 /usr/local/lib/liblzo2.la
lrwxr-xr-x  1 root  wheel      12 Mar 31 15:33 /usr/local/lib/liblzo2.so -> 
liblzo2.so.2
-rwxr-xr-x  1 root  wheel  120428 Mar 31 15:33 /usr/local/lib/liblzo2.so.2

I am defining LDFLAGS and CFLAGS before running ./configure they do not
seem to be used when trying to detect LZO.

The typescript of the configure run is here:
http://borderworlds.dk/~xi/grub2/configure.txt

The config.log is here:
http://borderworlds.dk/~xi/grub2/config.log

As far as I can see, my CFLAGS and LDFLAGS are used in some of the tests
but not in the last ones when trying to detect LZO. I don't understand
autoconf enough to figure out how to fix this so any hints would be
greatly appreciated.

Thanks.

-- 
Christian Laursen


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to