Check for version, and generate gui.make

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10128 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-06-09 01:13:58 +00:00
parent 50b65c66a1
commit db249cdc53

View file

@ -77,10 +77,23 @@ AC_CHECK_LIB(tiff, main)
CPPFLAGS="$save_cpp"
LDFLAGS="$save_ldf"
#--------------------------------------------------------------------
# Record the version
#--------------------------------------------------------------------
AC_MSG_CHECKING(for version of gnustep-gui we are compiling)
if test -f "Version"; then
. ./Version
fi
AC_MSG_RESULT($GNUSTEP_GUI_VERSION)
AC_SUBST(GNUSTEP_GUI_VERSION)
AC_SUBST(GNUSTEP_GUI_MAJOR_VERSION)
AC_SUBST(GNUSTEP_GUI_MINOR_VERSION)
AC_SUBST(GNUSTEP_GUI_SUBMINOR_VERSION)
AC_SUBST(ADDITIONAL_LIB_DIRS)
AC_SUBST(ADDITIONAL_INCLUDE_DIRS)
AC_OUTPUT(config.make)
AC_OUTPUT(config.make gui.make)