* exit when fnmatch is not found
* formatting SVN revision: 36908
This commit is contained in:
parent
154b2a5a94
commit
7ca391ace4
|
@ -45,6 +45,7 @@ case "$host_os" in
|
||||||
lt_enable_auto_import="-Wl,--enable-auto-import"
|
lt_enable_auto_import="-Wl,--enable-auto-import"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
mingw32ce*)
|
mingw32ce*)
|
||||||
WIN32_LIBS="-lws2"
|
WIN32_LIBS="-lws2"
|
||||||
|
@ -80,7 +81,12 @@ AC_CHECK_HEADER([fnmatch.h],
|
||||||
AC_CHECK_FUNCS([fnmatch], [res="yes"], [res="no"])
|
AC_CHECK_FUNCS([fnmatch], [res="yes"], [res="no"])
|
||||||
if test "x$res" = "xno"; then
|
if test "x$res" = "xno"; then
|
||||||
AC_SEARCH_LIBS([fnmatch],
|
AC_SEARCH_LIBS([fnmatch],
|
||||||
[fnmatch iberty evil])
|
[fnmatch iberty evil],
|
||||||
|
[res="yes"],
|
||||||
|
[res="no"])
|
||||||
|
if test "x$res" = "xno"; then
|
||||||
|
AC_MSG_ERROR([Cannot find fnmatch() in neither libc nor libfnmatch, nor libiberty, nor libevil])
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl These are needed for fmemopen/open_memstream
|
dnl These are needed for fmemopen/open_memstream
|
||||||
|
|
Loading…
Reference in New Issue