Navigation Menu

Skip to content

Commit

Permalink
use PACKAGE_STRING for MRN_PACKAGE_STRING.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 23, 2011
1 parent 072e913 commit 4e68338
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions configure.ac
Expand Up @@ -18,6 +18,10 @@ 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
1 change: 0 additions & 1 deletion mrn_sys.h
Expand Up @@ -24,7 +24,6 @@
#include <groonga.h>

/* constants */
#define MRN_PACKAGE_STRING "groonga-storage-engine"
#define MRN_BUFFER_SIZE 1024
#define MRN_MAX_KEY_SIZE 1024
#define MRN_MAX_PATH_SIZE 256
Expand Down

3 comments on commit 4e68338

@fdiary
Copy link
Member

@fdiary fdiary commented on 4e68338 Nov 24, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MRN_PACKAGE_STRINGも、config.hではなくmrn_version.hで定義してくれると、MariaDB同梱的に嬉しいのですが、いかがでしょうか。

@kou
Copy link
Member Author

@kou kou commented on 4e68338 Nov 25, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

いいのではないでしょうか!
16b2ebe

@fdiary
Copy link
Member

@fdiary fdiary commented on 4e68338 Nov 25, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merci !

Please sign in to comment.