]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sdk-manual: Updated configure.ac file in helloworld example.
authorScott Rifenbark <srifenbark@gmail.com>
Thu, 16 Jun 2016 19:11:25 +0000 (12:11 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Jun 2016 11:59:08 +0000 (12:59 +0100)
The file was named 'configure.in' and was slightly different than
what it needed to be in order to work.  The file needs to be named
'configure.ac' and have slightly different contents.  Fixed both.

(From yocto-docs rev: 1b80e90848d23737462f8b0e55b2ff604f9abf41)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/sdk-manual/sdk-using.xml

index a549284e99755c1dff4a16e18f421241db7af441..9354ace3b99a179815e39806aae6d2a487474763 100644 (file)
                     </literallayout></para></listitem>
                 <listitem><para><emphasis>Populate the directory:</emphasis>
                     Create <filename>hello.c</filename>, <filename>Makefile.am</filename>,
-                    and <filename>configure.in</filename> files as follows:
+                    and <filename>configure.ac</filename> files as follows:
                     <itemizedlist>
                         <listitem><para>For <filename>hello.c</filename>, include
                             these lines:
                         <listitem><para>For <filename>configure.in</filename>,
                             include these lines:
                             <literallayout class='monospaced'>
-     AC_INIT(hello.c)
-     AM_INIT_AUTOMAKE(hello,0.1)
+     AC_INIT(hello,0.1)
+     AM_INIT_AUTOMAKE([foreign])
      AC_PROG_CC
      AC_PROG_INSTALL
      AC_OUTPUT(Makefile)