Commit 90bf6a2889bb281cb5aa116d4f51d5df2c9daebd
Added an autoconf check for strsep
git-svn-id: svn://svn.debian.org/svn/pinfo/pinfo/trunk@23 ea4b0d59-4df7-0310-a9f9-bf8cbe41ce66
Author: bas
Author date (UTC): 2005-07-25 20:15
Committer name: bas
Committer date (UTC): 2005-07-25 20:15
Parent(s): 4ad9fd686b8d0138a64a014a352f903c2b2bfe0a
Signing key:
Tree: 549a619fb77ecb13edcd85cc020644d88100b0f2
File config.h.in changed (mode: 100644) (index d25f063..f725c43) |
200 |
200 |
/* Define to 1 if you have the <string.h> header file. */ |
/* Define to 1 if you have the <string.h> header file. */ |
201 |
201 |
#undef HAVE_STRING_H |
#undef HAVE_STRING_H |
202 |
202 |
|
|
|
203 |
|
/* Define to 1 if you have the `strsep' function. */ |
|
204 |
|
#undef HAVE_STRSEP |
|
205 |
|
|
203 |
206 |
/* Define to 1 if you have the `strstr' function. */ |
/* Define to 1 if you have the `strstr' function. */ |
204 |
207 |
#undef HAVE_STRSTR |
#undef HAVE_STRSTR |
205 |
208 |
|
|
File configure.ac changed (mode: 100644) (index 0eb517b..ac74fc9) |
... |
... |
AC_ISC_POSIX |
45 |
45 |
AC_C_CONST |
AC_C_CONST |
46 |
46 |
|
|
47 |
47 |
# Checks for library functions. |
# Checks for library functions. |
48 |
|
AC_CHECK_FUNCS(strdup strstr) |
|
|
48 |
|
AC_CHECK_FUNCS(strdup strstr strsep) |
49 |
49 |
AC_CHECK_FUNCS(getopt_long snprintf) |
AC_CHECK_FUNCS(getopt_long snprintf) |
50 |
50 |
AM_CONDITIONAL(HAVE_SNPRINTF,test "x$ac_cv_func_snprintf" = "xyes") |
AM_CONDITIONAL(HAVE_SNPRINTF,test "x$ac_cv_func_snprintf" = "xyes") |
51 |
51 |
|
|