Added V_EXTRA version number to mark CVS versions (-cvs) and

snapshots/betas (e.g. -beta1). V_EXTRA=-pre1 would result in
"sane-backends-1.0.7-pre1(.tar.gz)". For release, V_EXTRA is empty.
Added NUMBER_VERSION to avoid confusing sane-config and
frontends that rely on numbered versions.
Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2002-01-08 18:47:26 +00:00
rodzic 4ee000d7dd
commit 077d7b3a5c
2 zmienionych plików z 213 dodań i 205 usunięć

409
configure vendored

Plik diff jest za duży Load Diff

Wyświetl plik

@ -8,9 +8,11 @@ AC_ARG_PROGRAM
V_MAJOR=1 V_MAJOR=1
V_MINOR=0 V_MINOR=0
V_REV=6 V_REV=6
V_EXTRA=-cvs
PACKAGE=sane-backends PACKAGE=sane-backends
VERSION=${V_MAJOR}.${V_MINOR}.${V_REV} VERSION=${V_MAJOR}.${V_MINOR}.${V_REV}${V_EXTRA}
NUMBER_VERSION=${V_MAJOR}.${V_MINOR}.${V_REV}
PACKAGE_VERSION="$PACKAGE-$VERSION" PACKAGE_VERSION="$PACKAGE-$VERSION"
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE",
[Define to the name of the distribution.]) [Define to the name of the distribution.])
@ -23,6 +25,7 @@ AC_DEFINE_UNQUOTED(SANE_DLL_V_MINOR, $V_MINOR, [SANE DLL minor number])
AC_DEFINE_UNQUOTED(SANE_DLL_V_BUILD, $V_REV, [SANE DLL revision number]) AC_DEFINE_UNQUOTED(SANE_DLL_V_BUILD, $V_REV, [SANE DLL revision number])
AC_SUBST(PACKAGE) AC_SUBST(PACKAGE)
AC_SUBST(VERSION) AC_SUBST(VERSION)
AC_SUBST(NUMBER_VERSION)
AC_SUBST(PACKAGE_VERSION) AC_SUBST(PACKAGE_VERSION)
dnl Checks for programs. dnl Checks for programs.
@ -329,8 +332,8 @@ AC_ARG_ENABLE(scsi-directio,
AC_ARG_ENABLE(parport-directio, AC_ARG_ENABLE(parport-directio,
[ --enable-parport-directio enable parallel port direct IO, the backend will [ --enable-parport-directio enable parallel port direct IO, the backend will
do direct hardware access to use parallel port, so do direct hardware access to use parallel port, so
frontends will require special permission level. [default=no] frontends will require special permission level.
This option is in no way related to [default=no] This option is in no way related to
--enable-scsi-directio], --enable-scsi-directio],
[ [
if eval "test x$enable_parport_directio = xyes"; then if eval "test x$enable_parport_directio = xyes"; then