comparison configure.in @ 1955:02446ca6a05d

[xemacs-hg @ 2004-03-18 09:57:08 by stephent] shut up Norbert's compiler <87y8pyv5rz.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Thu, 18 Mar 2004 09:57:12 +0000
parents 569139be45f6
children 36760cdcb631
comparison
equal deleted inserted replaced
1954:c8fd42ca35a4 1955:02446ca6a05d
1744 AC_DEFINE(_XOPEN_SOURCE,500) 1744 AC_DEFINE(_XOPEN_SOURCE,500)
1745 AC_DEFINE(_XOPEN_SOURCE_EXTENDED) 1745 AC_DEFINE(_XOPEN_SOURCE_EXTENDED)
1746 fi ;; 1746 fi ;;
1747 linux) 1747 linux)
1748 AC_DEFINE(_POSIX_C_SOURCE,199506L) 1748 AC_DEFINE(_POSIX_C_SOURCE,199506L)
1749 dnl #### should this be 600?
1749 AC_DEFINE(_XOPEN_SOURCE,500) 1750 AC_DEFINE(_XOPEN_SOURCE,500)
1750 AC_DEFINE(_XOPEN_SOURCE_EXTENDED) 1751 AC_DEFINE(_XOPEN_SOURCE_EXTENDED)
1752 ;;
1753 freebsd4.9)
1754 AC_DEFINE(_POSIX_C_SOURCE,199506L)
1755 dnl #### Do we want these too? Apparently yes for _XOPEN_SOURCE=500.
1756 AC_DEFINE(_XOPEN_SOURCE,500)
1757 dnl AC_DEFINE(_XOPEN_SOURCE_EXTENDED)
1751 ;; 1758 ;;
1752 esac 1759 esac
1753 1760
1754 dnl Identify compilers to enable compiler-specific hacks. 1761 dnl Identify compilers to enable compiler-specific hacks.
1755 dnl Add support for other compilers HERE! 1762 dnl Add support for other compilers HERE!
2293 dnl Awww, shucks. 2300 dnl Awww, shucks.
2294 if test -z "$compiler_version"; then 2301 if test -z "$compiler_version"; then
2295 compiler_version="detection failed (please report this)" 2302 compiler_version="detection failed (please report this)"
2296 fi 2303 fi
2297 2304
2298 AC_MSG_CHECKING(for compiler version information) 2305 AC_MSG_CHECKING(for standard C library version information)
2299 2306
2300 case "$canonical" in 2307 case "$canonical" in
2301 *-*-linux*) 2308 *-*-linux*)
2302 dnl #### who would ever _not_ be running the distro's libc? 2309 dnl #### who would ever _not_ be running the distro's libc?
2303 dnl Maybe it would be better to get/augment this info with ldd? 2310 dnl Maybe it would be better to get/augment this info with ldd?