You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Joseph Davis (Created) (JIRA)" <ji...@apache.org> on 2012/03/10 00:48:57 UTC

[jira] [Created] (COUCHDB-1437) Refactor configure.ac

Refactor configure.ac
---------------------

                 Key: COUCHDB-1437
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1437
             Project: CouchDB
          Issue Type: Improvement
          Components: Build System
    Affects Versions: 1.3
            Reporter: Paul Joseph Davis


Working on COUCHDB-1426 today has made me hate life a little bit more. Our build system shouldn't be this complex. Mostly this has to do with us not using m4 in a way that doesn't lead to horrendous spaghetti code. New plan is to create a number of new files like:

    * m4/couch_erlang.m4
    * m4/couch_icu_drv.m4
    * m4/couch_js.m4
    * m4/couch_snappy.m4
    * m4/couch_windows.m4 (maybe? not sure how hard this will be to extract)

Given these files the plan will be to make configure.ac just run a top-level macro from each file. Hopefully we can then have much cleaner definitions through out the configure stuff so that when something breaks it'll be more obvious why and where to look for an answer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (COUCHDB-1437) Refactor configure.ac

Posted by "Paul Joseph Davis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226737#comment-13226737 ] 

Paul Joseph Davis commented on COUCHDB-1437:
--------------------------------------------

Some WIP here:

https://github.com/davisp/couchdb/tree/wip-new-configure

Should show enough of the basic idea to communicate what I was heading for. Should have a mostly working version tomorrow.
                
> Refactor configure.ac
> ---------------------
>
>                 Key: COUCHDB-1437
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1437
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 1.3
>            Reporter: Paul Joseph Davis
>
> Working on COUCHDB-1426 today has made me hate life a little bit more. Our build system shouldn't be this complex. Mostly this has to do with us not using m4 in a way that doesn't lead to horrendous spaghetti code. New plan is to create a number of new files like:
>     * m4/couch_erlang.m4
>     * m4/couch_icu_drv.m4
>     * m4/couch_js.m4
>     * m4/couch_snappy.m4
>     * m4/couch_windows.m4 (maybe? not sure how hard this will be to extract)
> Given these files the plan will be to make configure.ac just run a top-level macro from each file. Hopefully we can then have much cleaner definitions through out the configure stuff so that when something breaks it'll be more obvious why and where to look for an answer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira