2002-01-25 20:51:31 +03:00
|
|
|
# $NetBSD: configure.ac,v 1.2 2002/01/25 17:51:31 tv Exp $
|
2002-01-15 22:15:47 +03:00
|
|
|
#
|
|
|
|
# Autoconf definition file for make.
|
|
|
|
#
|
|
|
|
|
|
|
|
AC_INIT([make], [noversion], [bin-bug-people@netbsd.org])
|
|
|
|
AC_CONFIG_FILES(buildmake.sh)
|
|
|
|
|
|
|
|
# Make sure we have POSIX regex ability.
|
|
|
|
AC_CHECK_HEADER(regex.h,, AC_MSG_ERROR([POSIX regex.h is required]))
|
|
|
|
|
|
|
|
# regcomp() and regexec() are also names of functions in the old V8
|
|
|
|
# regexp package. To avoid them, we need to find out who has regfree().
|
|
|
|
|
|
|
|
dnl # Cygwin: We *MUST* look at -lregex *before* the "no libs" condition.
|
|
|
|
dnl # Thus AC_CHECK_LIB(regex...) comes first, and AC_SEARCHLIBS next.
|
|
|
|
AC_CHECK_LIB(regex, regfree)
|
|
|
|
AC_SEARCH_LIBS(regfree, rx posix)
|
|
|
|
|
2002-01-25 20:51:31 +03:00
|
|
|
AC_CHECK_FUNCS(setenv strdup strerror strftime vsnprintf)
|
|
|
|
|
2002-01-15 22:15:47 +03:00
|
|
|
AC_OUTPUT
|