2002-10-18 08:17:43 +00:00
|
|
|
# This file is generated from configure.in by Autoconf. DO NOT EDIT!
|
1996-05-09 23:13:21 +00:00
|
|
|
# Local configure fragment for sysdeps/unix.
|
|
|
|
|
|
|
|
if test -z "$inhibit_glue"; then
|
|
|
|
# For make_errlist.c, used in make_errlist.
|
2002-10-18 08:17:43 +00:00
|
|
|
|
|
|
|
|
1996-05-09 23:13:21 +00:00
|
|
|
for ac_func in strerror
|
|
|
|
do
|
2002-10-18 08:17:43 +00:00
|
|
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
|
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
|
|
|
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1996-05-09 23:13:21 +00:00
|
|
|
else
|
2002-10-18 08:17:43 +00:00
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2002-11-24 17:39:46 +00:00
|
|
|
/* confdefs.h. */
|
|
|
|
_ACEOF
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
/* end confdefs.h. */
|
2004-07-06 04:26:42 +00:00
|
|
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
|
#define $ac_func innocuous_$ac_func
|
|
|
|
|
1996-05-09 23:13:21 +00:00
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
2004-07-06 04:26:42 +00:00
|
|
|
which can conflict with char $ac_func (); below.
|
|
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
|
<limits.h> exists even on freestanding compilers. */
|
|
|
|
|
|
|
|
#ifdef __STDC__
|
|
|
|
# include <limits.h>
|
|
|
|
#else
|
|
|
|
# include <assert.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#undef $ac_func
|
|
|
|
|
1996-05-09 23:13:21 +00:00
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
2002-10-18 08:17:43 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
2002-11-24 17:39:46 +00:00
|
|
|
{
|
2002-10-18 08:17:43 +00:00
|
|
|
#endif
|
1997-05-26 23:01:17 +00:00
|
|
|
/* We use char because int might match the return type of a gcc2
|
2002-10-18 08:17:43 +00:00
|
|
|
builtin and then its argument prototype would still apply. */
|
|
|
|
char $ac_func ();
|
1996-05-09 23:13:21 +00:00
|
|
|
/* The GNU C library defines this for functions which it implements
|
|
|
|
to always fail with ENOSYS. Some functions are actually named
|
|
|
|
something starting with __ and the normal name is an alias. */
|
|
|
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
|
|
choke me
|
|
|
|
#else
|
2002-11-24 17:39:46 +00:00
|
|
|
char (*f) () = $ac_func;
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
1996-05-09 23:13:21 +00:00
|
|
|
#endif
|
|
|
|
|
2002-11-24 17:39:46 +00:00
|
|
|
int
|
|
|
|
main ()
|
|
|
|
{
|
2004-07-06 04:26:42 +00:00
|
|
|
return f != $ac_func;
|
2002-10-18 08:17:43 +00:00
|
|
|
;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
_ACEOF
|
|
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2004-07-06 04:26:42 +00:00
|
|
|
(eval $ac_link) 2>conftest.er1
|
2002-10-18 08:17:43 +00:00
|
|
|
ac_status=$?
|
2004-07-06 04:26:42 +00:00
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
rm -f conftest.er1
|
|
|
|
cat conftest.err >&5
|
2002-10-18 08:17:43 +00:00
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
(exit $ac_status); } &&
|
2004-07-06 04:26:42 +00:00
|
|
|
{ ac_try='test -z "$ac_c_werror_flag"
|
|
|
|
|| test ! -s conftest.err'
|
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
|
(eval $ac_try) 2>&5
|
|
|
|
ac_status=$?
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
(exit $ac_status); }; } &&
|
|
|
|
{ ac_try='test -s conftest$ac_exeext'
|
2002-10-18 08:17:43 +00:00
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
|
(eval $ac_try) 2>&5
|
|
|
|
ac_status=$?
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
(exit $ac_status); }; }; then
|
|
|
|
eval "$as_ac_var=yes"
|
1996-05-09 23:13:21 +00:00
|
|
|
else
|
2002-10-18 08:17:43 +00:00
|
|
|
echo "$as_me: failed program was:" >&5
|
2002-11-24 17:39:46 +00:00
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
2002-10-18 08:17:43 +00:00
|
|
|
eval "$as_ac_var=no"
|
1996-05-09 23:13:21 +00:00
|
|
|
fi
|
2004-07-06 04:26:42 +00:00
|
|
|
rm -f conftest.err conftest.$ac_objext \
|
|
|
|
conftest$ac_exeext conftest.$ac_ext
|
1996-05-09 23:13:21 +00:00
|
|
|
fi
|
2002-10-18 08:17:43 +00:00
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
|
|
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
|
_ACEOF
|
1997-05-26 23:01:17 +00:00
|
|
|
|
1996-05-09 23:13:21 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
fi
|