Closed HerbertKoelman closed 11 years ago
libyaml installs into /usr/local/include and /usr/local/lib which are not searched by default when compiling. We need a way to set compiler flags in generated Makefile to include these pathes.
Libraries and include files directories can be located using the following configure syntax:
CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib configure
This will add compiler options to the one already set bu configure.
Added configure option:
AC_ARG_ENABLE([localdir], AS_HELP_STRING([--enable-localdir],[adds -I and -L to /usr/local include and lib respectively.]), CFLAGS="-I /usr/local/include -L /usr/local/lib" )
Compiling on Tuxedo with yaml installed into /usr/local:
configure --enable-localdir && make