Loading ...
Sorry, an error occurred while loading the content.
 

Re: [blug-prog] adding library checks in configure.in

Expand Messages
  • Anil Kumar Saharan
    ... Library check in the configur.in can be made as. AC_CHECK_LIB(libname, functionname [, Action if found [, action if not found]])) ex, AC_CHECK_LIB(c, main,
    Message 1 of 2 , Sep 1, 2002
      > I tried to modify the "configure.scan" to include the check for QT
      > libraries (qt-mt). I included LIBS="-lqt-mt" in the configure.in.
      > I also tried adding "myprogname_LDADDS= "-lqt-mt" (am not sure if
      > it
      > is correct).
      Library check in the configur.in can be made as.
      AC_CHECK_LIB(libname, functionname [, Action if found [, action if
      not found]]))

      ex, AC_CHECK_LIB(c, main, LDFLAGS="$LDFLAGS -lc", exit) /// Checks
      for function main in libc


      for more details check man autoconf.

      =====
      Anil Saharan
      Email : aksaharan@...
      Webpage : http://www.polarhome.com/~aksaharan
      ------------------------------------------------------

      __________________________________________________
      Do You Yahoo!?
      Yahoo! Finance - Get real-time stock quotes
      http://finance.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.