Browse Source

* configure.in: Make build in separate builddir possible (again).

master
Richard Kreckel 24 years ago
parent
commit
e044824971
  1. 8
      configure.in

8
configure.in

@ -1,5 +1,4 @@
dnl AUTOCONF configuration for CLN dnl AUTOCONF configuration for CLN
dnl Bruno Haible 8.1.1999
dnl dnl
dnl configure.in ---<autoconf>--->> configure dnl configure.in ---<autoconf>--->> configure
dnl dnl
@ -80,8 +79,8 @@ dnl CLN_CURRENT and set CLN_REVISION to 0,
dnl * if any functions/classes have been added, increment CLN_AGE, dnl * if any functions/classes have been added, increment CLN_AGE,
dnl * if backwards compatibility has been broken, set CLN_AGE to 0. dnl * if backwards compatibility has been broken, set CLN_AGE to 0.
CL_CURRENT=1 CL_CURRENT=1
CL_REVISION=0
CL_AGE=0
CL_REVISION=1
CL_AGE=1
dnl make substitutions dnl make substitutions
AC_SUBST(CL_CURRENT) AC_SUBST(CL_CURRENT)
AC_SUBST(CL_REVISION) AC_SUBST(CL_REVISION)
@ -89,7 +88,7 @@ AC_SUBST(CL_AGE)
dnl release version dnl release version
CL_VERSION_MAJOR=1 CL_VERSION_MAJOR=1
CL_VERSION_MINOR=1 CL_VERSION_MINOR=1
CL_VERSION_PATCHLEVEL=0
CL_VERSION_PATCHLEVEL=1
dnl release version for cln/config.h, so it can be tested by the preprocessor dnl release version for cln/config.h, so it can be tested by the preprocessor
AC_DEFINE_UNQUOTED(CL_VERSION_MAJOR, $CL_VERSION_MAJOR) AC_DEFINE_UNQUOTED(CL_VERSION_MAJOR, $CL_VERSION_MAJOR)
AC_DEFINE_UNQUOTED(CL_VERSION_MINOR, $CL_VERSION_MINOR) AC_DEFINE_UNQUOTED(CL_VERSION_MINOR, $CL_VERSION_MINOR)
@ -144,6 +143,7 @@ dnl checks for compiler characteristics
dnl dnl
CL_CHAR_UNSIGNED CL_CHAR_UNSIGNED
dnl DEFS __CHAR_UNSIGNED__ if char is unsigned dnl DEFS __CHAR_UNSIGNED__ if char is unsigned
test -d 'include/cln' || mkdir -p 'include/cln'
CL_MACHINE([integer types and behaviour],${srcdir}/autoconf/intparam.c,include/cln/intparam.h,cl_cv_file_intparam_h) CL_MACHINE([integer types and behaviour],${srcdir}/autoconf/intparam.c,include/cln/intparam.h,cl_cv_file_intparam_h)
dnl builds include/cln/intparam.h dnl builds include/cln/intparam.h
CL_MACHINE([floating-point types and behaviour],${srcdir}/autoconf/floatparam.c,include/cln/floatparam.h,cl_cv_file_floatparam_h) CL_MACHINE([floating-point types and behaviour],${srcdir}/autoconf/floatparam.c,include/cln/floatparam.h,cl_cv_file_floatparam_h)

Loading…
Cancel
Save