s/@VERSION@/@ARCHIVE_VERSION@/
This is a no-op as far as FreeBSD is concerned, but makes libarchive more autoconf-friendly. Approved by: kientzle
This commit is contained in:
parent
2472e51e46
commit
9fbf190fc5
@ -32,7 +32,7 @@ INCS= archive.h archive_entry.h
|
||||
# Note: FreeBSD has inttypes.h, so enable that include in archive.h.in
|
||||
archive.h: archive.h.in Makefile
|
||||
cat ${.CURDIR}/archive.h.in | \
|
||||
sed 's/@VERSION@/${VERSION}/g' | \
|
||||
sed 's/@ARCHIVE_VERSION@/${VERSION}/g' | \
|
||||
sed 's/@SHLIB_MAJOR@/${SHLIB_MAJOR}/g' | \
|
||||
sed 's/@ARCHIVE_API_MAJOR@/${ARCHIVE_API_MAJOR}/g' | \
|
||||
sed 's/@ARCHIVE_API_MINOR@/${ARCHIVE_API_MINOR}/g' | \
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
/*
|
||||
* This header file corresponds to:
|
||||
* Library version @VERSION@
|
||||
* Library version @ARCHIVE_VERSION@
|
||||
* Shared library version @SHLIB_MAJOR@
|
||||
*/
|
||||
|
||||
@ -73,7 +73,7 @@ int archive_api_version(void);
|
||||
#define ARCHIVE_API_FEATURE @ARCHIVE_API_MINOR@
|
||||
int archive_api_feature(void);
|
||||
/* Textual name/version of the library. */
|
||||
#define ARCHIVE_LIBRARY_VERSION "libarchive @VERSION@"
|
||||
#define ARCHIVE_LIBRARY_VERSION "libarchive @ARCHIVE_VERSION@"
|
||||
const char * archive_version(void);
|
||||
|
||||
#define ARCHIVE_BYTES_PER_RECORD 512
|
||||
|
Loading…
x
Reference in New Issue
Block a user