AM_PROG_AS
AC_CHECK_TOOL(AR, ar)
-AC_CHECK_TOOL(RANLIB, ranlib, :) # :)
+AC_PROG_RANLIB
AC_PROG_INSTALL
[ --enable-cplusplus include C++ support in GC library and include directory],
)
+AC_ARG_ENABLE(cppflags,
+[ --enable-cppflags use these cpp flags for compilation.
+ An alternative to using CPPGLAGS for use in
+ sub-configures.],
+[CPPFLAGS=$enable_cppflags
+ ac_env_CPPFLAGS_set=set
+ ac_env_CPPFLAGS_value=$CPPFLAGS
+ ac_cv_env_CPPFLAGS_set=set
+ ac_cv_env_CPPFLAGS_value=$CPPFLAGS])
+
INCLUDES=-I${srcdir}/include
THREADLIBS=
case "$THREADS" in
AC_SUBST(addincludes)
AC_SUBST(addtests)
-AC_PROG_LIBTOOL
+AM_PROG_LIBTOOL
#
# Check for AViiON Machines running DGUX
AM_CONDITIONAL(USE_LIBDIR, test -z "$with_cross_host")
-AC_OUTPUT([Makefile doc/Makefile include/Makefile],,
-srcdir=${srcdir}
+AC_CONFIG_FILES(Makefile doc/Makefile include/Makefile)
+AC_CONFIG_COMMANDS(srcdir=${srcdir}
host=${host}
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
CC="${CC}"
-DEFS="$DEFS"
-)
+DEFS="$DEFS")
+AC_OUTPUT