next up previous contents
Next: Bibliography Up: The sensor I'm using is never updated, why? Previous: How to compile my project with libirobot-create?   Contents

How to integrate this library to my Autotools software?

A m4 file is provided with the macros required to check for this library.

Here is a sample configure.ac that check for the library:


\begin{lstlisting}[caption={Library detection with Autoconf},
label=shell:autoc...
...HEADERS([config.h])
\par
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
\end{lstlisting}

It also define the boolean LIBIROBOT_CREATE that can be used in Automake files.


next up previous contents
Next: Bibliography Up: The sensor I'm using is never updated, why? Previous: How to compile my project with libirobot-create?   Contents
2008-08-29