-dnl $Id: aclocal.m4,v 1.23 1998/07/24 10:42:34 sof Exp $
+dnl $Id: aclocal.m4,v 1.25 1998/08/14 15:24:10 simonm Exp $
dnl
dnl Extra autoconf macros for the Glasgow fptools
dnl
dnl prefixed with FPTOOLS_ to ensure we don't clash
dnl with any pre-supplied autoconf ones.
-dnl
-dnl Are we running under the GNU libc? Need -D_GNU_SOURCE to get
-dnl caddr_t and such.
-dnl
-AC_DEFUN(FPTOOLS_GNU_LIBC,
-[AC_CACHE_CHECK([GNU libc], fptools_cv_gnu_libc,
-[AC_EGREP_CPP(yes,
-[#include <features.h>
-#ifdef __GLIBC__
-yes
-#endif
-], fptools_cv_gnu_libc=yes, fptools_cv_gnu_libc=no)])
-if test "$fptools_cv_gnu_libc" = yes; then
- AC_DEFINE(_GNU_SOURCE)
-fi
-])
-
dnl
dnl Has timezone the type time_t or long (HP-UX 10.20 apparently
dnl has `long'..)
changequote([, ])dnl
#endif
exit(1);
-}], ac_cv_lead_uscore=yes, ac_cv_lead_uscore=no, ac_cv_lead_uscore=NO)
+}], fptools_cv_lead_uscore=yes, fptools_cv_lead_uscore=no, fptools_cv_lead_uscore=NO)
;;
esac);
LeadingUnderscore=`echo $fptools_cv_lead_uscore | sed 'y/yesno/YESNO/'`