but not yet prepare the free fnmatch.c.
* config.h.in: ditto.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@601
6a8cc165-1e22-0410-a132-
eb4e3f353aba
/* Define to 1 if the 2nd argument of gettimeofday() is effective. */
#undef GETTIMEOFDAY_HAS_2ND_ARG
/* Define to 1 if the 2nd argument of gettimeofday() is effective. */
#undef GETTIMEOFDAY_HAS_2ND_ARG
+/* Define to 1 if you have the `basename' function. */
+#undef HAVE_BASENAME
+
/* Define to 1 if you have the `chsize' function. */
#undef HAVE_CHSIZE
/* Define to 1 if you have the `chsize' function. */
#undef HAVE_CHSIZE
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
+/* Define to 1 if you have the `fnmatch' function. */
+#undef HAVE_FNMATCH
+
+/* Define to 1 if you have the <fnmatch.h> header file. */
+#undef HAVE_FNMATCH_H
+
/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK
/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h sys/file.h sys/param.h sys/time.h)
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h sys/file.h sys/param.h sys/time.h)
-AC_CHECK_HEADERS(pwd.h grp.h utime.h inttypes.h stdint.h)
+AC_CHECK_HEADERS(pwd.h grp.h utime.h inttypes.h stdint.h fnmatch.h)
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIGNAL
AC_FUNC_FORK
AC_FUNC_UTIME_NULL
AC_TYPE_SIGNAL
AC_FUNC_FORK
AC_FUNC_UTIME_NULL
AC_CHECK_FUNCS(strchr strdup memcpy memset memmove strcasecmp)
AC_CHECK_FUNCS(mktime timelocal tzset ftime gettimeofday utime)
AC_CHECK_FUNCS(mkdir rmdir ftruncate chsize lchown mkstemp link)
AC_CHECK_FUNCS(getpwuid getgrgid getpwnam getgrnam)
AC_CHECK_FUNCS(strchr strdup memcpy memset memmove strcasecmp)
AC_CHECK_FUNCS(mktime timelocal tzset ftime gettimeofday utime)
AC_CHECK_FUNCS(mkdir rmdir ftruncate chsize lchown mkstemp link)
AC_CHECK_FUNCS(getpwuid getgrgid getpwnam getgrnam)
-AC_CHECK_FUNCS(iconv)
-AC_REPLACE_FUNCS(vsnprintf)
+AC_CHECK_FUNCS(iconv basename)
+AC_REPLACE_FUNCS(vsnprintf fnmatch)
+
+if test x$ac_cv_func_fnmatch_works != xyes; then
+ AC_LIBOBJ(fnmatch)
+fi
if test $ac_header_dirent = no; then
AC_LIBOBJ(lhdir)
if test $ac_header_dirent = no; then
AC_LIBOBJ(lhdir)