[build] Move library version info into the version.h file.
[ginac.git] / acinclude.m4
index d6089d4f0bbf84d46473fe29e52306dd0a0c4b98..99627aefc909c90a46be5c0b212785a5b2df848d 100644 (file)
@@ -19,6 +19,8 @@ esyscmd([grep "^#define $1 " $2 /dev/null 2>/dev/null]),
        ]*$],[])])
 define(GINAC_GET_VERSION,
 [GINAC_HEADER_GETVAL(GINACLIB_$1_VERSION,[ginac/version.h])])
+define(GINAC_GET_LTVERSION,
+[GINAC_HEADER_GETVAL(GINAC_LT_$1,[ginac/version.h])])
 
 dnl Usage: GINAC_STD_CXX_HEADERS
 dnl Check for standard C++ headers, bail out if something is missing.