Mercurial > hg > xemacs-beta
comparison configure @ 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 | 05472e90ae02 |
comparison
equal
deleted
inserted
replaced
| 51:69ce12f60f55 | 52:461c7ba8286a |
|---|---|
| 6512 # Set up the CFLAGS for real compilation, so we can substitute it. | 6512 # Set up the CFLAGS for real compilation, so we can substitute it. |
| 6513 CFLAGS="$REAL_CFLAGS" | 6513 CFLAGS="$REAL_CFLAGS" |
| 6514 | 6514 |
| 6515 | 6515 |
| 6516 #### Find out which version of XEmacs this is. | 6516 #### Find out which version of XEmacs this is. |
| 6517 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 6517 version="19.16" |
| 6518 | sed -ne 's/^(defconst emacs-version "\([0-9][0-9]\.[0-9]*\).*/\1/p'` | 6518 beta="" |
| 6519 beta=`grep '" XEmacs Lucid' ${srcdir}/lisp/version.el \ | 6519 alpha="" |
| 6520 | sed -ne 's/^.*" XEmacs Lucid (beta\([^)]*\)).*/\1/p'` | |
| 6521 alpha=`grep '" XEmacs Lucid' ${srcdir}/lisp/version.el \ | |
| 6522 | sed -ne 's/^.*" XEmacs Lucid (alpha\([^)]*\)).*/\1/p'` | |
| 6523 if [ "X$beta" != "X" ]; then | 6520 if [ "X$beta" != "X" ]; then |
| 6524 version=${version}-b${beta} | 6521 version=${version}-b${beta} |
| 6525 fi | 6522 fi |
| 6526 if [ "X$alpha" != "X" ]; then | 6523 if [ "X$alpha" != "X" ]; then |
| 6527 version=${version}-a${alpha} | 6524 version=${version}-a${alpha} |
