configure.ac revision 1.1
1# $NetBSD: configure.ac,v 1.1 2002/01/15 19:15:47 tv Exp $ 2# 3# Autoconf definition file for make. 4# 5 6AC_INIT([make], [noversion], [bin-bug-people@netbsd.org]) 7AC_CONFIG_FILES(buildmake.sh) 8 9# Make sure we have POSIX regex ability. 10AC_CHECK_HEADER(regex.h,, AC_MSG_ERROR([POSIX regex.h is required])) 11 12# regcomp() and regexec() are also names of functions in the old V8 13# regexp package. To avoid them, we need to find out who has regfree(). 14 15dnl # Cygwin: We *MUST* look at -lregex *before* the "no libs" condition. 16dnl # Thus AC_CHECK_LIB(regex...) comes first, and AC_SEARCHLIBS next. 17AC_CHECK_LIB(regex, regfree) 18AC_SEARCH_LIBS(regfree, rx posix) 19 20AC_OUTPUT 21