From e2295b06bb864a1dd798755fa76a602468a4627a Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Thu, 1 Apr 2010 19:31:46 +0100 Subject: [PATCH] Some more AC_CHECK_FUNCS suggested by autoscan --- config.h.in | 6 ++++++ configure.ac | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config.h.in b/config.h.in index 15d82ce..348c779 100644 --- a/config.h.in +++ b/config.h.in @@ -22,6 +22,9 @@ /* Define to 1 if you have the `fork' function. */ #undef HAVE_FORK +/* Define to 1 if you have the `getcwd' function. */ +#undef HAVE_GETCWD + /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT @@ -65,6 +68,9 @@ /* Define to 1 if you have the `strdup' function. */ #undef HAVE_STRDUP +/* Define to 1 if you have the `strerror' function. */ +#undef HAVE_STRERROR + /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H diff --git a/configure.ac b/configure.ac index 3554e67..13d9738 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,8 @@ AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_MALLOC -AC_CHECK_FUNCS([strtol setlocale strcasecmp strdup strchr]) +AC_CHECK_FUNCS([strtol setlocale strcasecmp strdup strchr \ + getcwd strerror]) # Check for pkg-config packages modules="gtk+-2.0 gdk-pixbuf-2.0" -- 2.39.2