Navigation Menu

Skip to content

Commit

Permalink
define MRN_PACKAGE_STRING in mrn_version.h.
Browse files Browse the repository at this point in the history
Suggested by Kazuhiko. Thanks!!!
  • Loading branch information
kou committed Nov 25, 2011
1 parent cf8fb14 commit 16b2ebe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions configure.ac
Expand Up @@ -18,10 +18,6 @@ AC_SUBST([MRN_VERSION_MICRO])
MRN_VERSION_IN_HEX=`printf "0x%02x%02x" mrn_version_major mrn_version_minor[]mrn_version_micro`
AC_SUBST([MRN_VERSION_IN_HEX])

AC_DEFINE_UNQUOTED(MRN_PACKAGE_STRING,
["$PACKAGE_STRING"],
[Define to the full name and version of this package.])

AC_C_BIGENDIAN
AC_PROG_CC
AC_PROG_CXX
Expand Down
3 changes: 3 additions & 0 deletions mrn_version.h.in
Expand Up @@ -34,4 +34,7 @@
/* Define mroonga micro version */
#define MRN_VERSION_MICRO @MRN_VERSION_MICRO@

/* Define to the full name and version of this package. */
#define MRN_PACKAGE_STRING "@PACKAGE_STRING@"

#endif /* _mrn_version_h */

0 comments on commit 16b2ebe

Please sign in to comment.