Mercurial > libpst
annotate src/XGetopt.h @ 392:54465fca8b9e
Use PKG_CHECK_MODULES to find the gsf-1 library
It uses the architecture-prefixed pkg-config binary,
so cross-compiling libpst on multi-arch systems works.
Fixes: https://bugs.debian.org/838390
author | Paul Wise <pabs3@bonedaddy.net> |
---|---|
date | Mon, 23 Dec 2019 12:23:22 +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 |