From 28f540f45bbacd939bfd07f213bcad2bf730b1bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 18 Feb 1995 01:27:10 +0000 Subject: initial import --- sysdeps/generic/configure | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100755 sysdeps/generic/configure (limited to 'sysdeps/generic/configure') diff --git a/sysdeps/generic/configure b/sysdeps/generic/configure new file mode 100755 index 0000000000..c89b679eb9 --- /dev/null +++ b/sysdeps/generic/configure @@ -0,0 +1,52 @@ +# This file is generated from configure.in by Autoconf. DO NOT EDIT! + + +if [ ! "$inhibit_glue" ]; then + +# For signame.c, used in make_siglist. +for ac_func in psignal +do +ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'` +echo "checking for ${ac_func}" 1>&4 +if eval "test \"`echo '${'ac_cv_func_${ac_func}'+set}'`\" = set"; then + echo " using cached value for ac_cv_func_${ac_func}" 1>&5 +else + cat > conftest.${ac_ext} < +int main() { return 0; } +int t() { +/* 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 +/* Override any gcc2 internal prototype to avoid an error. */ +extern char ${ac_func}(); ${ac_func}(); +#endif +; return 0; } +EOF +if eval $ac_compile; then + rm -rf conftest* + eval "ac_cv_func_${ac_func}=yes" +else + rm -rf conftest* + eval "ac_cv_func_${ac_func}=no" +fi +rm -f conftest* + +fi +if eval "test \"`echo '$ac_cv_func_'${ac_func}`\" = yes"; then + +{ +test "$verbose" = yes && \ +echo " defining ${ac_tr_func}" +echo "#define" ${ac_tr_func} "1" >> confdefs.h +DEFS="$DEFS -D${ac_tr_func}=1" +} + +fi +done + +fi -- cgit v1.2.1