Commit 50f0c4c4 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(EXTRAARFLAGS): Added. Set to "rv" if make doesn't set ARFLAGS.

parent cbe65c32
dnl $Id: configure.in,v 1.38 1996/08/03 20:47:16 ceder Exp $
dnl $Id: configure.in,v 1.39 1996/08/04 01:20:34 ceder Exp $
dnl Configuration for LysKOM
dnl Copyright (C) 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
dnl
......@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl
AC_REVISION($Revision: 1.38 $)
AC_REVISION($Revision: 1.39 $)
AC_INIT(src/server/lyskomd.h)
AC_ARG_WITH([gnu-malloc],
[ --with-gnu-malloc use GNU malloc],
......@@ -31,6 +31,8 @@ AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(DEPENDFLAG)
AC_SUBST(INCLUDE_CURRENT)
AC_SUBST(EXTRAARFLAGS)
EXTRAARFLAGS=
INCLUDE_CURRENT=-I.
AC_AIX
AC_ISC_POSIX
......@@ -195,6 +197,23 @@ dnl
dnl Tests for GNU getopt (used in dbck)
AC_CHECK_HEADERS(alloca.h)
dnl
dnl Tests for bad make programs
AC_MSG_CHECKING([if make defines ARFLAGS])
[echo 'foo: ; @echo BEGIN$(ARFLAGS)END' > conftestmake
case `make -f conftestmake` in
BEGINEND)]
AC_MSG_RESULT([no; setting EXTRAARFLAGS to rv])
[EXTRAARFLAGS=rv;;
BEGINrvEND)]
AC_MSG_RESULT([yes]);;
[BEGIN*END)]
AC_MSG_RESULT([yes, but to a suspicious value]);;
[*)]
AC_MSG_RESULT([probably]);;
[esac
rm conftestmake]
dnl
dnl
AC_OUTPUT(Makefile
doc/Makefile
doc/man/Makefile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment