<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="autotools-build-configure" xml:lang="sv">

  <info xmlns:facet="http://projectmallard.org/facet/1.0/">
    <facet:tag key="all-pages" value="whatever"/> <!--Include page in index-->
    <link type="guide" xref="index#anjuta-build" group="first"/>
    <link type="seealso" xref="autotools-project-backend"/>
    <link type="seealso" xref="autotools-build-plugin"/>
    <revision pkgversion="3.0" version="0.1" date="2011-03-27" status="incomplete"/>
    <desc>
      Configure an autotools project and manage configurations.
    </desc>
    <credit type="author">
      <name>Sébastien Granjoux</name>
      <email>seb.sfo@free.fr</email>
    </credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Daniel Nylander</mal:name>
      <mal:email>po@danielnylander.se</mal:email>
      <mal:years>2007</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Anders Jonsson</mal:name>
      <mal:email>anders.jonsson@norsjovallen.se</mal:email>
      <mal:years>2017</mal:years>
    </mal:credit>
  </info>

  <title>Konfigurera ett projekt</title>

  <p>
    Before compiling and building files, an autotools project has to be
    configured. This step is needed to set global options, to check that
    all required libraries and programs are installed on your system and
    to generate appropriate build scripts.
  </p>

  <section>
    <title>Konfigurera projektet</title>

    <steps>
      <item>
        <p>
          From the <gui>main menu</gui>, select <guiseq><gui>Build</gui>
          <gui>Configure Project...</gui></guiseq>.
        </p>
      </item>
      <item>
        <p>
          Keep the default configuration, select a new configuration or create 
          a new one. You can inspect and modify all configuration options.
          See <link xref="autotools-build-configure-dialog"/> for more information.
        </p>
      </item>
      <item>
        <p>
          Click on <gui>Execute</gui> to configure the project.
        </p>
      </item>
    </steps>

    <p>Konfigurationen kan misslyckas om några bibliotek eller program inte finns installerade eller inte är rätt version. Felmeddelandet kommer berätta vad som saknas.</p>
  </section>

  <section>
    <title>Ändra konfigurationen</title>

    <steps>
      <item>
        <p>
          From the <gui>main menu</gui>, select <guiseq><gui>Build</gui>
          <gui>Select Configuration</gui><gui>Another configuration</gui></guiseq>.
        </p>
      </item>
    </steps>

    <p>Om projektet inte redan har konfigurerats kommer det att konfigureras automatiskt innan någon fil byggs.</p>

  </section>

  <section>
    <title>Ta bort konfiguration</title>

    <p>
      It is a like cleaning the project but it removes even more files. You
      need to re-configure your project to build it afterward.
    </p>

    <steps>
      <item>
        <p>
          From the <gui>main menu</gui>, select <guiseq><gui>Build</gui>
          <gui>Remove Configuration</gui></guiseq>.
        </p>
      </item>
    </steps>

  </section>

</page>
