title: Hello World Library using autotools
body: <p>Creating bin program is really easy using autotools I need to just define two files. </p>
  
  <p><strong>`Makefile.am'</strong></p>
  
  <pre><code>bin_PROGRAMS = hello
  hello_SOURCES = hello.c
  </code></pre>
  
  <p><strong>`configure.in'</strong></p>
  
  <pre><code>AC_INIT(hello.c)
  AM_INIT_AUTOMAKE(hello,1.0)
  AC_PROG_CC
  AC_PROG_INSTALL
  AC_OUTPUT(Makefile)
  </code></pre>
  
  <p>can any body give a smallest example for creating static <strong>library</strong> using autotools ?</p>