Mercurial > libpst
annotate src/XGetopt.h @ 388:292ad0f71fd4
Add operator and quotes to the AX_PYTHON_DEVEL parameter
The operator is required and the quotes are needed to protect PYTHON_VERSION.
See-also: https://www.gnu.org/software/autoconf-archive/ax_python_devel.html
Fixes:
checking whether to build the libpst python interface... yes
checking for python build information...
checking for python3.7... python3.7
checking for main in -lpython3.7... no
checking for main in -lpython3.7m... yes
results of the Python check:
Binary: python3.7
Library: python3.7m
Include Dir: /usr/include/python3.7m
checking for python3.7... /usr/bin/python3.7
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python 3.7... File "<string>", line 1
import sys; ver = sys.version.split ()[0]; print (ver 3.7)
^
SyntaxError: invalid syntax
no
configure: error: this package requires Python 3.7.
If you have it installed, but it isn't the default Python
interpreter in your system path, please pass the PYTHON_VERSION
variable to configure. See ``configure --help'' for reference.
author | Paul Wise <pabs3@bonedaddy.net> |
---|---|
date | Sat, 21 Dec 2019 21:25:45 +0800 |
parents | 0f1492b7fe8b |
children |
rev | line source |
---|---|
16 | 1 // XGetopt.h |
2 // | |
3 // Author: Hans Dietrich | |
4 // hdietrich2@hotmail.com | |
5 // | |
6 // This software is released into the public domain. | |
7 // You are free to use it in any way you like. | |
8 // | |
9 // This software is provided "as is" with no expressed | |
10 // or implied warranty. I accept no liability for any | |
11 // damage or loss of business that this software may cause. | |
12 // | |
13 /////////////////////////////////////////////////////////////////////////////// | |
14 | |
15 #ifndef XGETOPT_H | |
16 #define XGETOPT_H | |
17 | |
18 extern int optind, opterr; | |
19 extern char *optarg; | |
20 | |
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
16
diff
changeset
|
21 int getopt(int argc, char* const* argv, char *optstring); |
16 | 22 |
23 #endif //XGETOPT_H |