[Lunar-bugs] w3c-libwww-5.4.0: bad test in configure.in

Lunar bug reports list lunar-bugs at lunar-linux.org
Sat Jul 9 09:37:54 UTC 2005


w3c-libwww-5.4.0 is not supposed to check mysql client library in HARD CODED
locations !

in configure.in:

    AC_MSG_RESULT(yes)
    if test "x$withval" = "xyes"; then
      if test -f '/usr/local/lib/mysql/libmysqlclient.a'; then
         AC_ADDLIB("/usr/local/lib/mysql/libmysqlclient.a")
      elif test -f '/usr/lib/mysql/libmysqlclient.a'; then
         AC_ADDLIB("/usr/lib/mysql/libmysqlclient.a")
      else
         AC_MSG_ERROR(Could not find the mysql client library.)
      fi
    else
      AC_ADDLIB($withval)
    fi

You should test with AC_CHECK_LIB or AC_SEARCH_LIBS.

Best regards,
Couannette



More information about the Lunar-bugs mailing list