source: vendor/automake/1.7.9/m4/python.m4@ 3231

Last change on this file since 3231 was 3120, checked in by bird, 19 years ago

automake 1.7.9

File size: 7.1 KB
RevLine 
[3120]1## ------------------------
2## Python file handling
3## From Andrew Dalke
4## Updated by James Henstridge
5## ------------------------
6
7# Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
8
9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2, or (at your option)
12# any later version.
13
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22# 02111-1307, USA.
23
24# AM_PATH_PYTHON([MINIMUM-VERSION])
25
26# Adds support for distributing Python modules and packages. To
27# install modules, copy them to $(pythondir), using the python_PYTHON
28# automake variable. To install a package with the same name as the
29# automake package, install to $(pkgpythondir), or use the
30# pkgpython_PYTHON automake variable.
31
32# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
33# locations to install python extension modules (shared libraries).
34# Another macro is required to find the appropriate flags to compile
35# extension modules.
36
37# If your package is configured with a different prefix to python,