comparison configure.in @ 52:461c7ba8286a r19-16-pre1

Import from CVS: tag r19-16-pre1
author cvs
date Mon, 13 Aug 2007 08:57:19 +0200
parents ee648375d8d6
children 8b0bdfdf0cf0
comparison
equal deleted inserted replaced
51:69ce12f60f55 52:461c7ba8286a
3846 # Set up the CFLAGS for real compilation, so we can substitute it. 3846 # Set up the CFLAGS for real compilation, so we can substitute it.
3847 CFLAGS="$REAL_CFLAGS" 3847 CFLAGS="$REAL_CFLAGS"
3848 3848
3849 [ 3849 [
3850 #### Find out which version of XEmacs this is. 3850 #### Find out which version of XEmacs this is.
3851 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 3851 version="19.16"
3852 | sed -ne 's/^(defconst emacs-version "\([0-9][0-9]\.[0-9]*\).*/\1/p'` 3852 beta=""
3853 beta=`grep '" XEmacs Lucid' ${srcdir}/lisp/version.el \ 3853 alpha=""
3854 | sed -ne 's/^.*" XEmacs Lucid (beta\([^)]*\)).*/\1/p'`
3855 alpha=`grep '" XEmacs Lucid' ${srcdir}/lisp/version.el \
3856 | sed -ne 's/^.*" XEmacs Lucid (alpha\([^)]*\)).*/\1/p'`
3857 if [ "X$beta" != "X" ]; then 3854 if [ "X$beta" != "X" ]; then
3858 version=${version}-b${beta} 3855 version=${version}-b${beta}
3859 fi 3856 fi
3860 if [ "X$alpha" != "X" ]; then 3857 if [ "X$alpha" != "X" ]; then
3861 version=${version}-a${alpha} 3858 version=${version}-a${alpha}