Convert-UUlib
view release on metacpan or search on metacpan
uulib/config.h.in view on Meta::CPAN
/*
* Replacement functions.
* #define strerror _FP_strerror
* #define tempnam _FP_tempnam
* if you don't have these functions
*/
#undef strerror
#undef tempnam
/* Define if you have the fgetc_unlocked function. */
#undef HAVE_FGETC_UNLOCKED
/* Define if you have the gettimeofday function. */
#undef HAVE_GETTIMEOFDAY
/* Define if you have the strcasecmp function. */
#undef HAVE_STRCASECMP
/* Define if you have the strcasestr function. */
#undef HAVE_STRCASESTR
uulib/configure view on Meta::CPAN
#define $ac_tr_hdr 1
EOF
else
echo "$ac_t""no" 1>&6
fi
done
CFLAGS="$CFLAGS -D_GNU_SOURCE"
for ac_func in gettimeofday fgetc_unlocked
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1206: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1211 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
uulib/configure.in view on Meta::CPAN
# Checks for header files and library functions
#
AC_HEADER_STDC
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_CHECK_HEADERS(fcntl.h unistd.h memory.h malloc.h errno.h)
AC_CHECK_HEADERS(io.h sys/time.h)
CFLAGS="$CFLAGS -D_GNU_SOURCE"
AC_CHECK_FUNCS(gettimeofday fgetc_unlocked)
dnl AC_CHECK_FUNCS(strcasecmp strncasecmp strcasestr)
AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,FP_tempnam))
AC_CHECK_FUNC(chmod,AC_DEFINE(HAVE_CHMOD))
AC_CHECK_FUNC(umask,AC_DEFINE(HAVE_UMASK))
AC_CHECK_FUNC(mkstemp,AC_DEFINE(HAVE_MKSTEMP))
#
# strerror might be internally defined. this would cause a
uulib/fptools.h view on Meta::CPAN
#define _FP_strrchr FP_strrchr
#define _FP_fgets FP_fgets
#define _FP_strpbrk FP_strpbrk
#define _FP_strtok FP_strtok
#define _FP_cutdir FP_cutdir
#define _FP_strerror FP_strerror
#define _FP_tempnam FP_tempnam
#define _FP_fgetc FP_fgetc
#if HAVE_FGETC_UNLOCKED
# define FP_fgetc(s) fgetc_unlocked (s)
#else
# define FP_fgetc(s) fgetc (s)
#endif
#define FP_strstr(a,b) strstr (a, b)
void TOOLEXPORT _FP_free (void *);
char * TOOLEXPORT _FP_strdup (char *);
char * TOOLEXPORT _FP_strncpy (char *, char *, int);
void * TOOLEXPORT _FP_memdup (void *, int);
( run in 0.563 second using v1.01-cache-2.11-cpan-26ccb49234f )