# HG changeset patch # User Luke Schierer # Date 1113240373 0 # Node ID 80e4354d118c887a5b47a0e0614267ba3ae973aa # Parent c94f40ffcafbec766ee9a763c4a649abf4363e9e [gaim-migrate @ 12472] " This patch fixes HEAD. Wow, it's not my day today. :-)" --rlaager committer: Tailor Script diff -r c94f40ffcafb -r 80e4354d118c configure.ac --- a/configure.ac Mon Apr 11 15:26:51 2005 +0000 +++ b/configure.ac Mon Apr 11 17:26:13 2005 +0000 @@ -344,9 +344,12 @@ LIBEBOOK_MINOR_VER=`echo $LIBEBOOK_VERSION | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` LIBEBOOK_MICRO_VER=`echo $LIBEBOOK_VERSION | sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` AC_MSG_RESULT($LIBEBOOK_VERSION) - AC_DEFINE_UNQUOTED(LIBEBOOK_MAJOR_VER, $LIBEBOOK_MAJOR_VER, [libebook major version.]) - AC_DEFINE_UNQUOTED(LIBEBOOK_MINOR_VER, $LIBEBOOK_MINOR_VER, [libebook minor version.]) - AC_DEFINE_UNQUOTED(LIBEBOOK_MICRO_VER, $LIBEBOOK_MICRO_VER, [libebook micro version.]) + + if test "x$LIBEBOOK_MAJOR_VER" != "x" -a "x$LIBEBOOK_MINOR_VER" != "x" -a "x$LIBEBOOK_MICRO_VER" != "x"; then + AC_DEFINE_UNQUOTED(LIBEBOOK_MAJOR_VER, $LIBEBOOK_MAJOR_VER, [libebook major version.]) + AC_DEFINE_UNQUOTED(LIBEBOOK_MINOR_VER, $LIBEBOOK_MINOR_VER, [libebook minor version.]) + AC_DEFINE_UNQUOTED(LIBEBOOK_MICRO_VER, $LIBEBOOK_MICRO_VER, [libebook micro version.]) + fi fi AM_CONDITIONAL(BUILD_GEVOLUTION, test "x$build_gevo" = "xyes")