[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python macros

From: Brandon Invergo
Subject: Python macros
Date: Sun, 23 Sep 2012 20:31:35 +0200
User-agent: Notmuch/0.14 ( Emacs/24.2.1 (x86_64-unknown-linux-gnu)

Hi everyone,
Sorry for the cross-posting here but it touches both Autoconf and
Automake in some way...

I recently worked to implement a standard configure/ file
pair for Python-based GNU projects. In the process, I implemented a
large number of Autoconf macros. Well, in fact, a lot were taken from
python.m4 that is included with Automake. However, in that file, many
tests are done in one macro, whereas I've broken them down into
individual macros, such that the user can decide what tests they
actually want. I furthermore implemented Python as a language in
Autoconf, so you can do things like AC_LANG_PROG to call arbitrary
Python code.

Since this task of implementing configure scripts for Python packages
was considered to be of rather high importance by rms et al., I'm
wondering how best to submit these macros. There are other Python macros
in the Autoconf Macro Archive, however they are limited and sadly
out-of-date (ie they only check for Python versions up to 2.6, when 2.7+
and 3.2+ are available). 

python.m4 in Automake is much more complete, and these macros are the
direct decendents of that file, but to me at least, it's confusing that
these macros should be implemented in Automake and not in Autoconf (or
Autoconf Archive for that matter). So I'm not sure if they should be
submitted to that project.

So, please let me know how best to proceed with the macros. If any work
needs to be done to make them fit better, I'd be happy to help. For
example, the macros are all in the "PC_" namespace ("Python Configure")
since I didn't know where they'd end up....that would need to be

I've attached the macro file to this email, or you can find it here:

Brandon Invergo

Attachment: python.m4
Description: python ac macros

reply via email to

[Prev in Thread] Current Thread [Next in Thread]