On Wed, Aug 26, 2009 at 01:40:37PM +0200, Diego Biurrun wrote: > Here is the patch that removes libconfig without the 'svn rm' of the > libpisa directory. I'd appreciate a second pair of eyes on the auto* > stuff. Most of it looks fine. I still have to actually test it though. > Index: pairing/Makefile.am > =================================================================== > --- pairing/Makefile.am (revision 869) > +++ pairing/Makefile.am (working copy) > @@ -32,7 +32,6 @@ > > if PISA_FORCE_SHLIB > LDADD += -lpisa -lconfig > - LDFLAGS += -L$(top_srcdir)/libpisa -L$(top_srcdir)/libpisa/libconfig-1.3.2 You remove the entire line, is the "LDFLAGS += -L$(top_srcdir)/libpisa" part obsolete as well? > Index: configure.ac > =================================================================== > --- configure.ac (revision 869) > +++ configure.ac (working copy) > @@ -35,7 +35,6 @@ > AC_CHECK_LIB(m, pow, AC_DEFINE(HAVE_LIBM_POW, 1, > [Define if you have pow function in libm.]), ) > AC_CHECK_LIB([crypto], DSA_generate_key,, AC_MSG_ERROR(openssl lib not > found)) > -AC_CHECK_LIB([config], [config_setting_index], ac_cv_included_libconfig=no, > ac_cv_included_libconfig=yes) I'd rather modify that line to get an error message if the lib can't be found. The line above could be used for reference, e.g. -AC_CHECK_LIB([config], [config_setting_index], ac_cv_included_libconfig=no, ac_cv_included_libconfig=yes) +AC_CHECK_LIB([config], [config_setting_index],, AC_MSG_ERROR(libconfig not found)) -- Thomas Jansen, "Mithi" --- mithi@xxxxxxxxx GPG 9D5C682B, feel free to sign or encrypt your mail