diff options
| author | 2001-02-05 02:38:03 +0000 | |
|---|---|---|
| committer | 2001-02-05 02:38:03 +0000 | |
| commit | 6fc01c2077f0ecbfdaa4dbfc4c4759f07161d009 (patch) | |
| tree | 3043caf66a0521347f1f297544b77e39f4770105 /src/version.c | |
| parent | Put 'extern "C"' for C++ back in. (diff) | |
Add libraw1394 autoconf macro (not yet complete).
Add functions and symbols to let macro determine version.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@53 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
| -rw-r--r-- | src/version.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c new file mode 100644 index 0000000..2fb41b5 --- /dev/null +++ b/src/version.c @@ -0,0 +1,21 @@ +/* + * libraw1394 - library for raw access to the 1394 bus with the Linux subsystem. + * + * Copyright (C) 1999,2000,2001 Andreas Bombe + * + * This library is licensed under the GNU Lesser General Public License (LGPL), + * version 2.1 or later. See the file COPYING.LIB in the distribution for + * details. + */ + +#include <config.h> + +/* Variables to find version by linking (avoid need for test program) */ + +char __libraw1394_version_0_8_99; + +/* This function is to be used by the autoconf macro to find the lib version */ +const char *raw1394_get_libversion() +{ + return VERSION; +} |
