forked from Imagelibrary/rtems
Adaptations to automake-1.10.
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
AC_DEFUN([RTEMS_PROG_CCAS],
|
||||
[
|
||||
AC_REQUIRE([RTEMS_PROG_CC])
|
||||
AC_SUBST(CCAS,["$CC"])
|
||||
AC_SUBST(CCASFLAGS,["-DASM \$(CFLAGS) \$(INCLUDES)"])
|
||||
AM_PROG_AS
|
||||
AC_SUBST(RTEMS_CCASFLAGS,["-DASM"])
|
||||
])
|
||||
|
||||
@@ -18,6 +18,7 @@ dnl NOTE: This might be too restrictive
|
||||
test -z "$CXX" \
|
||||
&& AC_MSG_ERROR([no acceptable c++ found in \$PATH])
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CXXCPP
|
||||
|
||||
if test "$ac_cv_prog_cc_cross" != "$ac_cv_prog_cxx_cross"; then
|
||||
AC_MSG_ERROR([***]
|
||||
@@ -26,7 +27,6 @@ AC_PROG_CXX
|
||||
[must both either be cross compilers or native compilers]
|
||||
[Hint: If building a posix bsp: LD_LIBRARY_PATH?] )
|
||||
fi
|
||||
|
||||
else
|
||||
## Work-around to a bug in automake
|
||||
AM_CONDITIONAL([am__fastdepCXX],[false])
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
dnl $Id$
|
||||
|
||||
m4_define([RTEMS_API],[4.7])
|
||||
|
||||
dnl
|
||||
dnl RTEMS_TOP($1)
|
||||
dnl
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
AC_DEFUN([RTEMS_VERSIONING],
|
||||
m4_define([_RTEMS_VERSION],[4.6.99.3]))
|
||||
m4_define([_RTEMS_VERSION],[4.6.99.4]))
|
||||
|
||||
m4_define([RTEMS_API],[4.7])
|
||||
|
||||
@@ -10,7 +10,7 @@ CPP = @CPP@ $(GCCSPECS)
|
||||
CCAS = @CCAS@ $(GCCSPECS)
|
||||
|
||||
##
|
||||
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
|
||||
AM_CFLAGS = $(RTEMS_CFLAGS)
|
||||
AM_CXXFLAGS = $(RTEMS_CFLAGS)
|
||||
AM_CCASFLAGS = $(RTEMS_CPPFLAGS) $(RTEMS_CCASFLAGS)
|
||||
AM_CPPFLAGS = @RTEMS_CPPFLAGS@
|
||||
AM_CFLAGS = @RTEMS_CFLAGS@
|
||||
AM_CXXFLAGS = @RTEMS_CFLAGS@
|
||||
AM_CCASFLAGS = @RTEMS_CCASFLAGS@
|
||||
|
||||
Reference in New Issue
Block a user