|
|
| version 1.80, 2004/12/10 07:52:50 | version 1.83.6.1, 2005/11/22 16:18:24 |
|---|---|
| Line 1586 fi | Line 1586 fi |
| # Define the identity of the package. | # Define the identity of the package. |
| PACKAGE=parser | PACKAGE=parser |
| VERSION=3.1.4beta | VERSION=3.1.5beta |
| # Some tools Automake needs. | # Some tools Automake needs. |
| Line 1707 INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst | Line 1707 INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst |
| P3S=`cd $srcdir/src ; pwd` | P3S=`cd $srcdir/src ; pwd` |
| PARSER_VERSION=$VERSION | |
| echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new | |
| echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new | |
| echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new | |
| cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1 | |
| if test $? -ne 0 ; then | |
| rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \ | |
| echo Updated $srcdir/src/include/pa_version.h | |
| else | |
| rm -f $srcdir/src/include/pa_version.h.new | |
| fi | |
| # Make sure we can run config.sub. | # Make sure we can run config.sub. |
| $ac_config_sub sun4 >/dev/null 2>&1 || | $ac_config_sub sun4 >/dev/null 2>&1 || |
| { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
| Line 1776 host_os=`echo $ac_cv_host | sed 's/^\([^ | Line 1762 host_os=`echo $ac_cv_host | sed 's/^\([^ |
| PARSER_VERSION="$VERSION (compiled on $host)" | |
| echo "/* automatically generated by configure */" > $srcdir/src/include/pa_version.h.new | |
| echo "/* edit configure.in to change version number */" >> $srcdir/src/include/pa_version.h.new | |
| echo "#define PARSER_VERSION \"$PARSER_VERSION\"" >> $srcdir/src/include/pa_version.h.new | |
| cmp $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h >/dev/null 2>&1 | |
| if test $? -ne 0 ; then | |
| rm -f $srcdir/src/include/pa_version.h && mv $srcdir/src/include/pa_version.h.new $srcdir/src/include/pa_version.h && \ | |
| echo Updated $srcdir/src/include/pa_version.h | |
| else | |
| rm -f $srcdir/src/include/pa_version.h.new | |
| fi | |
| case $host_os in | case $host_os in |
| *cygwin* ) | *cygwin* ) |
| cat >>confdefs.h <<\_ACEOF | cat >>confdefs.h <<\_ACEOF |