Changeset 551


Ignore:
Timestamp:
Jan 8, 2008, 2:01:27 AM (14 years ago)
Author:
Peter Johansson
Message:

trying to make configure.ac work under autoconf 2.59

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r547 r551  
    4444AM_INIT_AUTOMAKE([std-options check-news])
    4545
    46 AC_MSG_NOTICE([version $VERSION])
    4746DEV=`echo $VERSION|sed 's/\([[a-z]]*\).*/\1/'`
    4847if test "$DEV" = "pre"; then
     
    5352MY_MAJOR=`echo $VERSION|sed 's/[[a-z]]*\([[0-9]]*\).*/\1/'`
    5453MY_MINOR=`echo $VERSION|sed 's/[[a-z]]*[[0-9]]*\.\([[0-9]]*\).*/\1/'`
    55 if test "$MY_MINOR" = "$VERSION" || "$MY_MAJOR" = "$VERSION" ; then
    56  AC_MSG_ERROR([version number is incorrect])
     54if test "$MY_MINOR" = "$VERSION" || test "$MY_MAJOR" = "$VERSION" ; then
     55   AC_MSG_ERROR([version number is incorrect])
    5756fi
    5857
     
    6059
    6160if test "$MY_PATCH" = "$VERSION"; then
    62  MY_PATCH="0"
     61   MY_PATCH="0"
    6362fi
    6463
     
    8786AC_PROG_CPP
    8887AC_PROG_CXX
    89 AC_PROG_GREP
    9088AC_PROG_INSTALL
    9189AC_PROG_LIBTOOL
    9290AC_PROG_RANLIB
    93 AC_PROG_SED
    9491AC_CHECK_PROG([GNUPLOT],[gnuplot],[ok])
    9592
Note: See TracChangeset for help on using the changeset viewer.